CVE-2022-1325
publishedCImg: Denial of service via RAM exhaustion in _load_bmp
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | ClmgFixed in v3.1.0 | Affected | Not stated | redhat |
| Ubuntu | jammy | cimg | Advisory build | 2.9.4+dfsg-3ubuntu0.1~esm1 | USN-7437-1 |
| Ubuntu | jammy | cimg-examples | Advisory build | 2.9.4+dfsg-3ubuntu0.1~esm1 | USN-7437-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Clmg | Fixed in v3.1.0 (affected) | redhat · cna |
Weaknesses
1- CWE-400 CWE-400 - Uncontrolled Resource Consumption
References
6- https://access.redhat.com/security/cve/CVE-2022-1325
- https://bugzilla.redhat.com/show_bug.cgi?id=2074549
- https://github.com/GreycLab/CImg/commit/619cb58dd90b4e03ac68286c70ed98acbefd1c90
- https://github.com/GreycLab/CImg/issues/343
- https://github.com/GreycLab/CImg/pull/348
- https://huntr.dev/bounties/a5e4fc45-8f14-4dd1-811b-740fc50c95d2/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0de6092999cd5118107b2e5c9e02344c9d4be5a43e988f4fc29c74c9f033f946
- Ingested
- 23 Sep 2026, 07:57:41 UTC
- Source record
- Official CVE record