CVE-2018-3846: NASA CFITSIO - Buffer Overflow
- Cve: CVE-2018-3846
- Name: NASA CFITSIO - Buffer Overflow
- Description: In the ffgphd and ffgtkn functions in NASA CFITSIO 3.42, specially crafted images parsed via the library can cause a stack-based buffer overflow overwriting arbitrary data. An attacker can deliver an FIT image to trigger this vulnerability and potentially gain code execution.
- Impact: Attackers can execute arbitrary code remotely by exploiting the buffer overflow via malicious FIT images.
- Remediation: Update to the latest version of NASA CFITSIO or apply patches addressing this vulnerability.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.03016
- Epss percentile: 0.87776
- Assignee: [email protected]
- Published at: 2018-04-16T16:29:00Z
- Age in days: 3144
- Modified at: 2026-06-17T01:57:53Z
- Public exploits total: 1
- References total: 3
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-3846
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0529 | nvd | 2018-04-16 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nasa:cfitsio | = 3.42 | no | nvd | /v1/products/nasa/cfitsio |
| fedoraproject:fedora | = 28 | no | nvd | /v1/products/fedoraproject/fedora |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-04-16
- Remote: yes
- Exposed hosts: 48460
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports