CVE-2026-116724

FLTK through 1.4.5 Heap Buffer Overflow via Fl_BMP_Image Integer Overflow

Published Oct 26, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
Description
FLTK through 1.4.5 contains an integer overflow vulnerability in Fl_BMP_Image::load_bmp_() that causes undersized pixel buffer allocation from file-supplied width and height. Attackers can supply a crafted BMP or ICO file with large dimensions so row decoding writes file-derived data past the heap buffer, corrupting the application heap.

Analysis

AI-generated

Technical impact

This vulnerability is an integer overflow in the Fl_BMP_Image::load_bmp_() function of FLTK versions up to 1.4.5. When a BMP or ICO file contains very large width and height fields, the library allocates a pixel buffer that is too small. Writing decoded pixels into this insufficient buffer overflows the heap, corrupting adjacent memory. An attacker who can supply a crafted image file may therefore cause the application to crash or, potentially, execute arbitrary code by manipulating the corrupted heap data. The weakness involves both a classic integer overflow (CWE‑190) and a heap-based buffer overflow (CWE‑787).

Affected Systems

All installations of the FLTK GUI toolkit that use version 1.4.5 or earlier are vulnerable. This includes any software that incorporates those FLTK releases regardless of the host operating system. The issue has been fixed in later releases such as 1.4.6; upgrading to that or newer versions removes the flaw.

Risk and Exploitability

The CVSS base score is 8.5, indicating a high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalogue. Exploitation requires the attacker to supply a malicious BMP or ICO file to a Fl_BMP_Image handler. The attack can be conducted remotely if the application loads images from network sources or untrusted inputs, making it a realistic threat for desktop or server applications that render images without proper validation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FLTK to version 1.4.6 or newer, which contains a patch that corrects the integer overflow in Fl_BMP_Image::load_bmp_().
  • If an upgrade is not immediately possible, replace or restrict the use of Fl_BMP_Image in the application, or guard it with additional input validation to ensure image dimensions are reasonable before loading.
  • As an alternative, modify the application to use a safer image class such as Fl_PNG_Image for untrusted files, or disable BMP/ICO support entirely if not required.

Generated by OpenCVE AI on October 27, 2026 at 13:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description FLTK through 1.4.5 contains an integer overflow vulnerability in Fl_BMP_Image::load_bmp_() that causes undersized pixel buffer allocation from file-supplied width and height. Attackers can supply a crafted BMP or ICO file with large dimensions so row decoding writes file-derived data past the heap buffer, corrupting the application heap.
Title FLTK through 1.4.5 Heap Buffer Overflow via Fl_BMP_Image Integer Overflow
First Time appeared Fltk Project
Fltk Project fltk
Weaknesses CWE-190
CPEs cpe:2.3:a:fltk_project:fltk:*:*:*:*:*:*:*:*
Vendors & Products Fltk Project
Fltk Project fltk
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 31, 2026, 1:56 AM
Reserved
Oct 26, 2026, 8:23 PM
Status
Deferred
Published
Oct 26, 2026, 10:16 PM
Modified
Oct 31, 2026, 2:17 AM
Severity
Important
Public date
Oct 26, 2026, 9:52 PM