
CVE catalog
CVE-2022-1325
CImg library vulnerabilities
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.42% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cimg | sid | 4.0.4+dfsg-1 | fixed |
| Debian | cimg | forky | 4.0.4+dfsg-1 | fixed |
| Debian | cimg | trixie | 3.5.2+dfsg-1+deb13u1 | fixed |
| Debian | cimg | bookworm | 3.2.1+dfsg-1 | fixed |
| Ubuntu | cimg | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | cimg-dev | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | cimg-doc | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | cimg-examples | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | cimg | pro | 3.2.1+dfsg-1 | vulnerable |
| Ubuntu | cimg | pro | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | fixed |
| Ubuntu | cimg | 16.04 | 1.6.4+dfsg-1build1 | vulnerable |
| Ubuntu | cimg | 16.04 | 1.6.5+dfsg-1 | vulnerable |
| Ubuntu | cimg | pro | 2.9.4+dfsg-2 | vulnerable |
| Ubuntu | cimg | pro | 2.9.4+dfsg-3 | vulnerable |
| Ubuntu | cimg | pro | 2.9.4+dfsg-3ubuntu0.1~esm1 | fixed |
| Ubuntu | cimg | 20.04 | 2.4.5+dfsg-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cimg | source | sid | 3.1.6+dfsg-1 | not yet assigned | Not reported | [1018941] |
| Debian | cimg | source | forky | 3.1.6+dfsg-1 | not yet assigned | Not reported | [1018941] |
| Debian | cimg | source | trixie | 3.1.6+dfsg-1 | not yet assigned | Not reported | [1018941] |
| Debian | cimg | source | bookworm | 3.1.6+dfsg-1 | not yet assigned | Not reported | [1018941] |
| Ubuntu | cimg | deb | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | cimg-dev | deb | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | cimg-doc | deb | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | cimg-examples | deb | noble | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | cimg | deb | pro | 3.2.1+dfsg-1ubuntu0.24.04.1~esm1 | Not reported | USN-7437-1 | Not reported |
| Ubuntu | cimg | deb | pro | 2.9.4+dfsg-3ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2022-1325 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [cimg-dev]Fixed
Source package: [cimg]
Details (2)
3.2.1+dfsg-1· all · bookwormFixed · Fixed:
3.1.6+dfsg-1usn · cimg · debian · bookworm
3.2.1+dfsg-1· all · bookwormFixed · Fixed:
3.1.6+dfsg-1usn · cimg · debian · bookworm
- [cimg-doc]Fixed
Source package: [cimg]
Details (2)
3.2.1+dfsg-1· all · bookwormFixed · Fixed:
3.1.6+dfsg-1usn · cimg · debian · bookworm
3.2.1+dfsg-1· all · bookwormFixed · Fixed:
3.1.6+dfsg-1usn · cimg · debian · bookworm
- [cimg-examples]Fixed
Source package: [cimg]
Details (2)
3.2.1+dfsg-1· all · bookwormFixed · Fixed:
3.1.6+dfsg-1usn · cimg · debian · bookworm
3.2.1+dfsg-1· all · bookwormFixed · Fixed:
3.1.6+dfsg-1usn · cimg · debian · bookworm
Observed:
References
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-1325]
- [https://osv.dev/vulnerability/USN-7437-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-1325]
- [https://ubuntu.com/security/notices/USN-7437-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Ubuntu Security Notices (USN)]