FLTK potential code execution in BMP and ICO colormap loading
fltk
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| fltk fltk |
| No fix yet |
Original description
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.
From the CVE record · VulnCheck