FLTKのBMP画像処理に脆弱性、細工したファイルで任意のコードを実行されるおそれ
Summary
FLTK 1.4.5までのFl_BMP_Image::load_bmp_()に、スタック上のバッファ溢れの脆弱性が見つかりました。colors_usedの値を大きくしたBMPやICOファイルを開かせると、スタックのメモリが壊れ、異常終了やコードの実行につながるおそれがあります。CVSSはv3.1で7.8、v4.0で8.5です。修正版の情報は確認できていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
FLTK 1.4.5までのFl_BMP_Image::load_bmp_()に、スタック上のバッファ溢れの脆弱性が見つかりました。colors_usedの値を大きくしたBMPやICOファイルを開かせると、スタックのメモリが壊れ、異常終了やコードの実行につながるおそれがあります。CVSSはv3.1で7.8、v4.0で8.5です。修正版の情報は確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| fltkfltk |
≤ 1.4.5→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-116723 fltk1.4, fltk1.3 Fix available
- Ubuntu UBUNTU-CVE-2026-116723 fltk1.4, fltk1.3 No fixed version in this record
Original description The description as published by the source.
FLTK through 1.4.5 contains a stack-based buffer overflow vulnerability in Fl_BMP_Image::load_bmp_() that allows attackers to corrupt stack memory by supplying an oversized BMP colors_used field. Attackers can craft BMP or ICO files with colors_used above 256 to overflow the 768-byte colormap array, causing crashes or potential code execution.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory hackmd.io
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- REDHAT Red Hat
- report github.com
- web github.com
- web github.com