CVE-2018-3848: In the ffghbn function in NASA CFITSIO 3.42, specially crafted images parsed via the library can cause a stack
CVE-2018-3848 is a high-severity flaw (CVSS 8.8) affecting cfitsio, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In the ffghbn function 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.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 3.5% (top 11%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2018-04-16 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-3848?
cfitsio: upgrade to 3.490; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-3848 being exploited?
CVE-2018-3848 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-3848 affect?
CVE-2018-3848 affects cfitsio, fedora. Severity is high (CVSS 8.8). In the ffghbn function 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 potentia
How urgent is CVE-2018-3848?
Priority 58/100. High severity; Public exploit reference
Related CVEs
- CVE-2026-111124 MEDIUM 6.1 UPGRADE CFITSIO through 4.7.0 contains a heap-based out-of-bounds read vulnerability in the imcompress.c unquantize he
- CVE-2026-111125 MEDIUM 6.1 UPGRADE CFITSIO through 4.7.0 contains a heap-based out-of-bounds read vulnerability in the HCOMPRESS tile decoder tha
- CVE-2019-1010060 CRITICAL 9.8 UPGRADE NASA CFITSIO prior to 3.43 is affected by: Buffer Overflow
- CVE-2018-3849 HIGH 8.8 UPGRADE MITIGATE In the ffghtb function in NASA CFITSIO 3.42, specially crafted images parsed via the library can cause a stack
- CVE-2018-3847 HIGH 8.8 DOWNGRADE Multiple exploitable buffer overflow vulnerabilities exist in image parsing functionality of the CFITSIO libra