p PatchFirst

CVE-2026-115504

CVE-2026-115504 · CFITSIO through 4.7.0 Out-of-Bounds Write via ffgcls2 in getcols.c

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.5 · High · EPSS 0.1%

Published
Updated

Stack: system

Affected products and versions

  • cfitsio

    Versions
    • ≥ 0, ≤ 4.7.0: Affected (semver)

    No fix published

  • cfitsio Debian:12

    Versions
    • 4.2.0-3
    • 4.3.0-1
    • 4.3.0-2
    • 4.3.1-1
    • 4.3.1-1.1
    • 4.3.1-1.1~exp1
    • 4.4.1-1
    • 4.4.1-2
    • 4.5.0-1
    • 4.5.0-2
    • 4.5.0-3
    • 4.5.0-4
    • 4.5.0-5
    • 4.6.2-1
    • 4.6.2-2
    • 4.6.3-1
    • 4.6.4-1
    • 4.7.0-1
    • 4.7.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cfitsio Debian:13

    Versions
    • 4.6.2-2
    • 4.6.3-1
    • 4.6.4-1
    • 4.7.0-1
    • 4.7.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cfitsio Debian:14

    Versions
    • 4.6.2-2
    • 4.6.3-1
    • 4.6.4-1
    • 4.7.0-1
    • 4.7.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →