CVE-2026-115504: Out-of-bounds Write in HEASARC cfitsio
Description
CFITSIO versions up to 4.7.0 contain an out-of-bounds write vulnerability in the ffgcls2() function. This flaw arises from trusting attacker-controlled heap descriptor lengths for variable-length string columns, allowing a crafted FITS file to overflow a fixed stack buffer and the caller's string array. The vulnerability can lead to arbitrary code execution.
CVSS v4.0
Score 8.5high
Affected software
HEASARC
cfitsio
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-115504 is an out-of-bounds write vulnerability in the HEASARC cfitsio library, specifically in the ffgcls2() function within getcols.c. The vulnerability occurs because the function trusts heap descriptor lengths provided by an attacker for variable-length string columns. By supplying a maliciously crafted FITS file, an attacker can overflow a fixed 28,800-byte stack buffer and the caller's string array, potentially enabling arbitrary code execution. This affects all versions of cfitsio up to and including 4.7.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code on the system processing the malicious FITS file. This can lead to full compromise of the affected system or application using the vulnerable cfitsio library. The CVSS 4.0 base score is 8.5 (high severity), reflecting the local attack vector with low complexity, no privileges required, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted FITS files with vulnerable versions of cfitsio. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-22T16:14:58.754Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ada649d4d27ba8daa755e33
Added to database: 10/22/2026, 19:31:41 UTC
Last enriched: 10/22/2026, 21:00:24 UTC
Last updated: 10/22/2026, 21:00:24 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.