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.
The product does not properly control the allocation and maintenance of a limited resource.
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.
Link | Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=2074549 | issue tracking patch exploit third party advisory |
https://huntr.dev/bounties/a5e4fc45-8f14-4dd1-811b-740fc50c95d2/ | third party advisory exploit |
https://github.com/GreycLab/CImg/issues/343 | issue tracking exploit third party advisory |
https://github.com/GreycLab/CImg/pull/348 | third party advisory patch |
https://github.com/GreycLab/CImg/commit/619cb58dd90b4e03ac68286c70ed98acbefd1c90 | third party advisory patch |
https://access.redhat.com/security/cve/CVE-2022-1325 | broken link |