Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Talos | NASA CFITSIO | NASA CFITSIO 3.42 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cfitsio | 3.430-1 | — |
| Debian 13 | cfitsio | 3.430-1 | — |
| Debian 12 | cfitsio | 3.430-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | cfitsio | No fix yet | — |
References
- FEDORA-2019-3c1aed2aa9 vendor-advisory
- GLSA-202101-24 vendor-advisory
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0531