CFITSIO code execution in variable-length string column parsing
HEASARC cfitsio
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| HEASARC cfitsio |
| No fix yet |
Original description
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.
From the CVE record · VulnCheck