Resource exhaustion in Cimg
CVE-2022-1325
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.004 · 37.4th percentile
- Published
- 2022-08-31
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.004, 37.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Cimg
- Clmg — versions Fixed in v3.1.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (7unn3l/CImg-fuzzer, ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Exploit, Patch, Third Party Advisory, Issue Tracking)
- huntr.dev/bounties/a5e4fc45-8f14-4dd1-811b-740fc50c95d2/ (Exploit, Third Party Advisory)
- github.com/GreycLab/CImg/issues/343 (Exploit, Third Party Advisory, Issue Tracking)
- github.com/GreycLab/CImg/pull/348 (Patch, Third Party Advisory)
- github.com/GreycLab/CImg/commit/619cb58dd90b4e03ac68286c70ed98acbefd1c90 (Patch, Third Party Advisory)
- access.redhat.com/security/cve/CVE-2022-1325 (Broken Link)