CVE-2019-13568

NameCVE-2019-13568
DescriptionCImg through 2.6.7 has a heap-based buffer overflow in _load_bmp in CImg.h because of erroneous memory allocation for a malformed BMP image.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs940952

Vulnerable and fixed packages

The table below lists information on source packages.

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

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cimgsourcewheezy(unfixed)end-of-life
cimgsourcejessie(not affected)
cimgsource(unstable)2.8.4+dfsg-1940952

Notes

[buster] - cimg <no-dsa> (Minor issue)
[stretch] - cimg <no-dsa> (Minor issue)
[jessie] - cimg <not-affected> (Vulnerable code added later)
https://github.com/dtschump/CImg/commit/ac8003393569aba51048c9d67e1491559877b1d1

Search for package or bug name: Reporting problems