First published: Tue Apr 12 2022(Updated: )
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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Cimg | <3.1.0 | |
debian/cimg | <=2.9.4+dfsg-2 | 3.2.1+dfsg-1 3.5.2+dfsg-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-1325 is a vulnerability found in Clmg that allows an attacker to allocate huge buffer sizes by tricking the application with a malicious file.
CVE-2022-1325 has a severity rating of medium with a score of 5.5.
CVE-2022-1325 works by exploiting a flaw in Clmg that allows an attacker to modify certain header field values in a file, tricking the application into allocating large buffer sizes.
Versions of Cimg up to and excluding 3.1.0 are affected by CVE-2022-1325.
Yes, a fix has been released for CVE-2022-1325. It is recommended to update to the latest version of Cimg to mitigate the vulnerability.