FLTK through 1.4.5 Heap Buffer Overflow via Fl_BMP_Image Row Pointer
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 23, 2026
- Updated
- Nov 24, 2026
- Reserved
- Nov 23, 2026
Description
FLTK through 1.4.5 contains a heap buffer overflow vulnerability in Fl_BMP_Image::load_bmp_() that allows attackers to corrupt heap memory by supplying crafted BMP or ICO files. Attackers can specify very large image dimensions so the 32-bit row and alpha mask pointer offsets wrap, writing file-derived pixel bytes out of bounds to crash applications or possibly execute code.
| Product | Versions |
|---|---|
| fltk fltk | 1.4.5 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 7.8 High | VulnCheck |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
References
- https://github.com/fltk/fltk/issues/1647Issue Tracker
- https://github.com/fltk/fltk/commit/a28e3927faebaba7d33f740d13e88fa0e22fd64dPatch
- https://github.com/fltk/fltk/blob/release-1.4.5/src/Fl_BMP_Image.cxx#L285-L304Technical Details
- VulnCheck Advisory: FLTK through 1.4.5 Heap Buffer Overflow via Fl_BMP_Image Row PointerThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.