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.
References
Link | Resource |
---|---|
https://github.com/GreycLab/CImg/issues/343 | Exploit Issue Tracking Third Party Advisory |
https://github.com/GreycLab/CImg/commit/619cb58dd90b4e03ac68286c70ed98acbefd1c90 | Patch Third Party Advisory |
https://huntr.dev/bounties/a5e4fc45-8f14-4dd1-811b-740fc50c95d2/ | Exploit Third Party Advisory |
https://access.redhat.com/security/cve/CVE-2022-1325 | Broken Link |
https://bugzilla.redhat.com/show_bug.cgi?id=2074549 | Exploit Issue Tracking Patch Third Party Advisory |
https://github.com/GreycLab/CImg/pull/348 | Patch Third Party Advisory |
Configurations
Information
Published : 2022-08-31 09:15
Updated : 2022-09-07 09:23
NVD link : CVE-2022-1325
Mitre link : CVE-2022-1325
JSON object : View
CWE
CWE-770
Allocation of Resources Without Limits or Throttling
Products Affected
cimg
- cimg