CFITSIO FITS parsing flaws can leak data or run code
Ubuntu's USN-9302-1 covers a heap read in compressed tiles and a string-length buffer overflow, with no exploitation status given.
Out-of-bounds write in CFITSIO via crafted FITS
CFITSIO through 4.7.0 has an out-of-bounds write in ffgcls2() in getcols.c. The function trusts attacker-controlled heap descriptor lengths for variable-length string columns. A person who opens a crafted FITS file locally can overflow a fixed 28,800-byte stack buffer and the caller's string array, enabling arbitrary code execution. No fixed version is stated.
What to do: No fixed version is stated for CVE-2026-115504. CFITSIO through 4.7.0 remains affected.
| Product | Affected |
|---|---|
| CFITSIO | through 4.7.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
CFITSIO through 4.7.0 contains an out-of-bounds write vulnerability in ffgcls2() in getcols.c that trusts attacker-controlled heap descriptor lengths for variable-length string columns. Attackers can supply a crafted FITS file that overflows a fixed 28,800-byte stack buffer and the caller's string array, enabling arbitrary code execution.
Ubuntu's USN-9302-1 covers a heap read in compressed tiles and a string-length buffer overflow, with no exploitation status given.
Today 2.9K readers · 6.7K views · 611 reads · all time 292K views