An issue was discovered in AdvanceCOMP through 2.1. A NULL pointer dereference exists in the function be_uint32_read() located in endianrw.h. 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/271/
Created advancecomp tracking bugs for this issue: Affects: fedora-all [bug 1708562]
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/.
Upstream commit: https://github.com/amadvance/advancecomp/commit/7894a6e684ce68ddff9f4f4919ab8e3911ac8040
A crafted MNG file can cause advmng application from advancecomp to crash due to segmentation fault leading to DoS. An attacker can craft a MNG file to induce advmng to derreference a NULL pointer, this happens due to improper validation of MNG chunks contained on the malicious file. The crash happens at be_uint32_read() called from png_print_chunk() when advmng is trying to read the malformed chunck data when it has an invlid chunck size.
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-8379