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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| fltk | fltk | <= 1.4.5 |
References
- https://github.com/fltk/fltk/blob/release-1.4.5/src/Fl_BMP_Image.cxx#L285-L304
- https://github.com/fltk/fltk/commit/a28e3927faebaba7d33f740d13e88fa0e22fd64d
- https://github.com/fltk/fltk/issues/1647
- https://www.vulncheck.com/advisories/fltk-through-1.4.5-heap-buffer-overflow-via-fl-bmp-image-row-pointer
- https://github.com/fltk/fltk/issues/1647
Timeline
- Published
- Nov 23, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Deferred