Integer overflow in AdvanceCOMP - CVE-2019-9210
Published: June 25, 2020 / Updated: November 23, 2022
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow in png_compress() function in pngex.cc. A remote attacker can pass specially crafted PNG file of an invalid size to the application, trigger integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
advancecomp (Alpine package)
advancecomp (Red Hat package)
advancecomp
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Power, little endian
Fedora
How to mitigate CVE-2019-9210
advancecomp (Alpine package) - update to 2.1-r2
advancecomp (Red Hat package) - update to 1.15-22.el7
advancecomp - addressed in versions 2.1-9.fc29, 2.1-10.fc30
External References
- https://lists.debian.org/debian-lts-announce/2019/03/msg00004.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R56LVWC7KUNXFRKQB3Y5NX2YHFJKYZB4/
- https://sourceforge.net/p/advancemame/bugs/277/
- https://usn.ubuntu.com/3936-1/
- https://usn.ubuntu.com/3936-2/
- https://github.com/amadvance/advancecomp/commit/fcf71a89265c78fc26243574dda3a872574a5c02