Skip to content
Heist/ feed
High

CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-115504

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-115504

cfitsio

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/HEASARC/cfitsio",
    "vendor": "HEASARC",
    "product": "cfitsio",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "versionType": "semver",
        "lessThanOrEqual": "4.7.0"
      }
    ],
    "collectionURL": "https://github.com",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-115504

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#52370 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement