Heap out-of-bounds read in GreycLab CImg BMP loader
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
CImg through 4.0.6 contains a heap out-of-bounds read in the _load_bmp() function of CImg.h. An integer overflow in the row byte count, classified as CWE-190, lets a crafted BMP file with a large header width wrap the computed row size. An unauthenticated attacker needs a victim to open a crafted BMP file, which can crash the application or disclose heap memory into the decoded image.
Written with Claude Haiku 5.5 from the sources below · 2026-11-02
Description from the CNA
CImg through 4.0.6 contains a heap out-of-bounds read vulnerability in the _load_bmp() function of CImg.h caused by an integer overflow in the row byte count. Attackers can supply a crafted BMP file with a large header width that wraps dx_bytes, causing crashes or heap memory disclosure into the decoded image.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for CImg.
Written with Claude Haiku 5.5 from the sources below · 2026-11-02
Vendor assessments
Timeline
- 2026-10-27 Threatist record created from CVE-2026-117555
- 2026-10-27 Alias added: GHSA-88mq-c93j-j2w3
- 2026-10-28 Priority changed: MEDIUM → LOW
- 2026-10-29 Affected versions changed · Red Hat
- 2026-10-29 CVSS score added · Red Hat
- 2026-11-02 CISA SSVC decision points changed
References
More GreycLab vulnerabilities
- TI-2026-35174 CImg Library: Uncontrolled Memory Allocation and Memory Leak in `_load_analyze()` via Crafted NIfTI/Analyze Header CVSS 3.1HIGH 7.5
- TI-2026-30477 CImg Library: Uncontrolled memory allocation via nb_colors field in _load_bmp CVSS 3.1MEDIUM 5.5
- TI-2026-30475 CImg Library: Integer overflow in PNM size check bypasses memory guard (_load_pnm) CVSS 3.1MEDIUM 6.1
Sources
- CVE-2026-117555 · CVE Program
- CVE-2026-117555 · NVD
- FIRST EPSS
- GHSA-88mq-c93j-j2w3 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-117555 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences