CVE-2022-1325 json
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 i…
published 2022-08-31 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-24653
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- cimg cimg 3.1.0
- cimg Debian 14, Debian 13, Debian 12 3.1.6+dfsg-1
debian advisories DEBIAN-CVE-2022-1325
- cimg Ubuntu Pro 22.04 LTS 2.9.4+dfsg-3ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2022-1325
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/GreycLab/CImg@619cb58 commit
- github.com/GreycLab/CImg#348 pull request
- bugzilla.redhat.com/show_bug.cgi?id=2074549 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-1325 updated cvss 5.5
CImg: Denial of service via RAM exhaustion in _load_bmp
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2074549 referenced PoC, tagged "exploit" by a source, unverified
- huntr.dev https://huntr.dev/bounties/a5e4fc45-8f14-4dd1-811b-740fc50c95d2/ referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/GreycLab/CImg/issues/343 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected products
- n/a Clmg
Classification
References
-
github.com
/GreycLab/CImg/pull/348
patch, third-party-advisory
-
github.com
/GreycLab/CImg/commit/619cb58dd90b4e03ac68286c70ed98acbefd1c90
patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2074549
exploit, issue-tracking, patch, third-party-advisory
-
huntr.dev
/bounties/a5e4fc45-8f14-4dd1-811b-740fc50c95d2/
exploit, third-party-advisory
-
github.com
/GreycLab/CImg/issues/343
exploit, issue-tracking, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2022-1325
broken-link
Sources
- CVE List CVE-2022-1325
- NVD CVE-2022-1325
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.