CVE-2022-1325

NameCVE-2022-1325
DescriptionA flaw was found in Clmg, where with the help of a maliciously crafted pandore or bmp file with modified dx and dy header field values it is possible to trick the application into allocating huge buffer sizes like 64 Gigabyte upon reading the file from disk or from a virtual buffer.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1018941

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cimg (PTS)buster2.4.5+dfsg-1+deb10u1vulnerable
bullseye2.9.4+dfsg-2vulnerable
sid, trixie, bookworm3.2.1+dfsg-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cimgsource(unstable)3.1.6+dfsg-11018941

Notes

[bullseye] - cimg <no-dsa> (Minor issue)
[buster] - cimg <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=2074549
https://github.com/GreycLab/CImg/commit/619cb58dd90b4e03ac68286c70ed98acbefd1c90 (v3.1.0)
https://github.com/GreycLab/CImg/issues/343
https://github.com/GreycLab/CImg/pull/348
https://huntr.dev/bounties/a5e4fc45-8f14-4dd1-811b-740fc50c95d2/

Search for package or bug name: Reporting problems