CVE-2026-115504

Source
https://cve.org/CVERecord?id=CVE-2026-115504
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115504.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-115504
Downstream
Published
2026-10-22T19:14:04Z
Modified
2026-10-30T02:30:59Z
Severity
  • 8.5 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115504.json"
}
References

Affected packages

Git / github.com/heasarc/cfitsio

Affected ranges

Type
GIT
Repo
https://github.com/heasarc/cfitsio
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "4.7.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "fixed": "579792e0f85bff0c6733ad5ebdf54c3b5c188686"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

cfitsio-4.*
cfitsio-4.3.0
cfitsio-4.4.0
cfitsio-4.6.0
cfitsio-4.6.1
cfitsio-4.6.2
cfitsio-4.6.3
cfitsio-4.7.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-115504.json"