Name | CVE-2022-1325 |
Description | A 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1018941 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
cimg (PTS) | jessie, jessie (lts) | 1.5.9+dfsg-1+deb8u1 | vulnerable |
| stretch (security), stretch (lts), stretch | 1.7.9+dfsg-1+deb9u2 | vulnerable |
| buster | 2.4.5+dfsg-1+deb10u1 | vulnerable |
| bullseye | 2.9.4+dfsg-2 | vulnerable |
| sid, bookworm | 3.2.1+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
cimg | source | jessie | (unfixed) | end-of-life | | |
cimg | source | stretch | (unfixed) | end-of-life | | |
cimg | source | (unstable) | 3.1.6+dfsg-1 | | | 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/