cve/2017/CVE-2017-14173.md

18 lines
806 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2017-14173](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14173)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
In the function ReadTXTImage() in coders/txt.c in ImageMagick 7.0.6-10, an integer overflow might occur for the addition operation "GetQuantumRange(depth)+1" when "depth" is large, producing a smaller value than expected. As a result, an infinite loop would occur for a crafted TXT file that claims a very large "max_value" value.
### POC
#### Reference
- https://github.com/ImageMagick/ImageMagick/issues/713
#### Github
No PoCs found on GitHub currently.