An issue was discovered in AdvanceCOMP through 2.1. An invalid memory address occurs in the function adv_png_unfilter_8 in lib/png.c. It can be triggered by sending a crafted file to a binary. It allows an attacker to cause a Denial of Service (Segmentation fault) or possibly have unspecified other impact when a victim opens a specially crafted file. Reference: https://sourceforge.net/p/advancemame/bugs/272/
Created advancecomp tracking bugs for this issue: Affects: fedora-all [bug 1708564]
it's fixed in advancecomp-2.1-11
Upstream patch: https://github.com/amadvance/advancecomp/commit/78a56b21340157775be2462a19276b4d31d2bd01
There's a vulnerability on png library from advancecomp package where an attacker can cause improper heap data read or DoS by a crafted PNG file. The advancecomp PNG library doesn't validate the image size, the lack of validation leads to a integer overflow when decoding PNG header data. The overflown value is further used to perform memory allocation and access, this action causes heap-based overflow leading to improper data reading from heap or causing DoS due to invalid memory access.
Statement: This issue affects the versions of advancecomp as shipped with Red Hat Enterprise Linux 7. Red Hat Product Security has rated this issue as having a security impact of Low. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2019:2332 https://access.redhat.com/errata/RHSA-2019:2332
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-8383