cve/2022/CVE-2022-1325.md

21 lines
988 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-1325](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1325)
![](https://img.shields.io/static/v1?label=Product&message=Clmg&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20Fixed%20in%20v3.1.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-400%20-%20Uncontrolled%20Resource%20Consumption&color=brighgreen)
### Description
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.
### POC
#### Reference
2024-06-18 02:51:15 +02:00
- https://bugzilla.redhat.com/show_bug.cgi?id=2074549
2024-05-25 21:48:12 +02:00
- https://github.com/GreycLab/CImg/issues/343
- https://huntr.dev/bounties/a5e4fc45-8f14-4dd1-811b-740fc50c95d2/
#### Github
- https://github.com/7unn3l/CImg-fuzzer
- https://github.com/ARPSyndicate/cvemon