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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| fltk | fltk | ≤ 1.4.5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | fltk1.3 +1 | No fix yet | — |
| Debian 13 | fltk1.3 +1 | No fix yet | — |
| Debian 12 | fltk1.3 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | fltk1.3 +1 | No fix yet | — |
| Ubuntu 26.04 LTS | fltk1.3 +1 | No fix yet | — |
| Ubuntu 24.04 LTS | fltk1.3 | No fix yet | — |
| Ubuntu 22.04 LTS | fltk1.3 | No fix yet | — |
| Ubuntu 20.04 LTS | fltk1.3 | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | fltk1.3 | No fix yet | — |
| Ubuntu 16.04 LTS | fltk1.3 | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | fltk | 1.3.11-3.1 | openSUSE-SU-2026:12707-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | fltk | No fix yet | — |
Advisories 1
- openSUSE-SU-2026:12707-1 fltk-devel-1.3.11-3.1 on GA media SUSE / openSUSE Security Updates · Nov 28, 2026
References
- https://github.com/fltk/fltk/issues/1647 issue-tracking
- https://github.com/fltk/fltk/commit/a28e3927faebaba7d33f740d13e88fa0e22fd64d patch
- https://github.com/fltk/fltk/blob/release-1.4.5/src/Fl_BMP_Image.cxx#L285-L304 technical-description
- VulnCheck Advisory: FLTK through 1.4.5 Heap Buffer Overflow via Fl_BMP_Image Row Pointer third-party-advisory