CVE-2024-26540

NameCVE-2024-26540
DescriptionA heap-based buffer overflow in Clmg before 3.3.3 can occur via a crafted file to cimg_library::CImg<unsigned char>::_load_analyze.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1068153

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cimg (PTS)jessie, jessie (lts)1.5.9+dfsg-1+deb8u1vulnerable
stretch (security), stretch (lts), stretch1.7.9+dfsg-1+deb9u2vulnerable
buster2.4.5+dfsg-1+deb10u1vulnerable
bullseye2.9.4+dfsg-2vulnerable
sid, trixie, bookworm3.2.1+dfsg-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cimgsourcejessie(unfixed)end-of-life
cimgsourcestretch(unfixed)end-of-life
cimgsource(unstable)(unfixed)1068153

Notes

[bookworm] - cimg <no-dsa> (Minor issue)
[bullseye] - cimg <no-dsa> (Minor issue)
[buster] - cimg <postponed> (Minor issue; no rdeps)
https://github.com/GreycLab/CImg/issues/403
https://github.com/GreycLab/CImg/commit/6a97a5209987e60fcce293ea102a068a88085098 (v.3.3.3)
https://github.com/GreycLab/CImg/commit/c214dfee22a3fedcfae48fba7645f7a819cc9385 (v.3.3.3)
https://github.com/GreycLab/CImg/commit/ec6a1f2183620a90b4dcf456813e597ade791dc6 (v.3.3.3)
https://github.com/GreycLab/CImg/commit/cb9c5518905ea370954a59903ff747650c6edd40 (v.3.3.3)

Search for package or bug name: Reporting problems