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.
Published: 2026-10-26
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Tue, 27 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

threat_severity

Important


Tue, 27 Oct 2026 04:30:00 +0000

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'}


Subscriptions

Fltk Project Fltk
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T21:52:28.153Z

Reserved: 2026-10-26T20:23:34.151Z

Link: CVE-2026-116724

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-26T22:16:56.070

Modified: 2026-10-26T22:16:56.070

Link: CVE-2026-116724

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-26T21:52:28Z

Links: CVE-2026-116724 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T08:30:12Z

Weaknesses