Vulnerabilities · 2022 · Cimg
CVE-2022-1325
Cimg vulnerability
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.
Affected products
Cimg. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cimg runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugzilla.redhat.com/show_bug.cgi?id=2074549 · Exploit
- github.com/GreycLab/CImg/commit/619cb58dd90b4e03ac68286c70ed98acbefd1c90 · Patch
- github.com/GreycLab/CImg/pull/348 · Patch
- github.com/GreycLab/CImg/issues/343 · Exploit
- huntr.dev/bounties/a5e4fc45-8f14-4dd1-811b-740fc50c95d2/ · Exploit
- access.redhat.com/security/cve/CVE-2022-1325
- nvd.nist.gov/vuln/detail/CVE-2022-1325
- cve.org/CVERecord?id=CVE-2022-1325
More vulnerabilities in Cimg products
CVE-2024-26540CVE-2023-41484CVE-2020-25693CVE-2019-1010174CVE-2019-13568CVE-2018-7641CVE-2018-7640CVE-2018-7639All 14
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.