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.
Severity
MEDIUM
CVSS v3
5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H · source nvd
Exploit chance (EPSS)
0.423%
chance of exploitation in the next 30 days
higher than 37.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-400: Uncontrolled Resource Consumption
Timeline
- 2022-08-31Published by the CNA15:33 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| cimg cimg | before 3.1.0fixed in 3.1.0 | 3.1.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2074549
- https://github.com/GreycLab/CImg/commit/619cb58dd90b4e03ac68286c70ed98acbefd1c90
- https://github.com/GreycLab/CImg/pull/348
- https://github.com/GreycLab/CImg/issues/343
- https://huntr.dev/bounties/a5e4fc45-8f14-4dd1-811b-740fc50c95d2/
- https://access.redhat.com/security/cve/CVE-2022-1325
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-1325'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-1325'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-1325'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-1325'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).