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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, 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
bookworm, sid3.0.2+dfsg-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cimgsource(unstable)(unfixed)1018941

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