Integer overflow in the rwpng_read_image24_libpng function in rwpng.c in pngquant 2.7.0 allows remote attackers to have unspecified impact via a crafted PNG file, which triggers a buffer overflow.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
http://sf.snu.ac.kr/gil.hur/publications/shovel.pdf | exploit third party advisory technical description |
https://github.com/pornel/pngquant/commit/b7c217680cda02dddced245d237ebe8c383be285 | third party advisory patch |
https://lists.debian.org/debian-lts-announce/2020/06/msg00028.html | mailing list |