CVE-2019-9210
published 2019-02-27CVE-2019-9210: In AdvanceCOMP 2.1, png_compress in pngex.cc in advpng has an integer overflow upon encountering an invalid PNG size, which results in an attempted memcpy to…
PriorityP336high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
1.42%
69.9th percentile
In AdvanceCOMP 2.1, png_compress in pngex.cc in advpng has an integer overflow upon encountering an invalid PNG size, which results in an attempted memcpy to write into a buffer that is too small. (There is also a heap-based buffer over-read.)
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| advancemame | advancecomp | — | — |
| advancemame | advancecomp | >= 0 < 2.1-2 | 2.1-2 |
| advancemame | advancecomp | >= 0 < 2.1-2 | 2.1-2 |
| advancemame | advancecomp | >= 0 < 2.1-2 | 2.1-2 |
| advancemame | advancecomp | >= 0 < 2.1-2 | 2.1-2 |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | advancecomp | < advancecomp 2.1-2 (bookworm) | advancecomp 2.1-2 (bookworm) |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_advancecomp_2.1-14_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8LOW
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
AdvanceCOMP vulnerability
vendor_ubuntu·2019-04-23
CVE-2019-9210 AdvanceCOMP vulnerability
Title: AdvanceCOMP vulnerability
Summary: AdvanceCOMP could be made to run arbitrary code if it opened a
specially crafted file.
USN-3936-1 fixed a vulnerability in AdvanceCOMP. This update provides
the corresponding update for Ubuntu 19.04.
Original advisory details:
It was discovered that AdvanceCOMP incorrectly handled certain PNG files.
An attacker could possibly use this issue to execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
AdvanceCOMP vulnerability
vendor_ubuntu·2019-04-04
CVE-2019-9210 AdvanceCOMP vulnerability
Title: AdvanceCOMP vulnerability
Summary: AdvanceCOMP could be made to run arbitrary code if it opened a specially crafted file.
It was discovered that AdvanceCOMP incorrectly handled certain PNG files.
An attacker could possibly use this issue to execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
advancecomp: integer overflow in png_compress in pngex.cc
vendor_redhat·2019-02-27·CVSS 7.8
CVE-2019-9210 [HIGH] CWE-190 advancecomp: integer overflow in png_compress in pngex.cc
advancecomp: integer overflow in png_compress in pngex.cc
In AdvanceCOMP 2.1, png_compress in pngex.cc in advpng has an integer overflow upon encountering an invalid PNG size, which results in an attempted memcpy to write into a buffer that is too small. (There is also a heap-based buffer over-read.)
Microsoft
In AdvanceCOMP 2.1 png_compress in pngex.cc in advpng has an integer overflow upon encountering an invalid PNG size which results in an attempted memcpy to write into a buffer that is too small. (Ther
vendor_msrc·2019-02-12·CVSS 7.8
CVE-2019-9210 [HIGH] CWE-125 In AdvanceCOMP 2.1 png_compress in pngex.cc in advpng has an integer overflow upon encountering an invalid PNG size which results in an attempted memcpy to write into a buffer that is too small. (Ther
In AdvanceCOMP 2.1 png_compress in pngex.cc in advpng has an integer overflow upon encountering an invalid PNG size which results in an attempted memcpy to write into a buffer that is too small. (There is also a heap-based buffer over-read.)
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional p
Debian
CVE-2019-9210: advancecomp - In AdvanceCOMP 2.1, png_compress in pngex.cc in advpng has an integer overflow u...
vendor_debian·2019·CVSS 7.8
CVE-2019-9210 [HIGH] CVE-2019-9210: advancecomp - In AdvanceCOMP 2.1, png_compress in pngex.cc in advpng has an integer overflow u...
In AdvanceCOMP 2.1, png_compress in pngex.cc in advpng has an integer overflow upon encountering an invalid PNG size, which results in an attempted memcpy to write into a buffer that is too small. (There is also a heap-based buffer over-read.)
Scope: local
bookworm: resolved (fixed in 2.1-2)
bullseye: resolved (fixed in 2.1-2)
forky: resolved (fixed in 2.1-2)
sid: resolved (fixed in 2.1-2)
trixie: resolved (fixed in 2.1-2)
GHSA
GHSA-h34m-m7hc-cp2h: In AdvanceCOMP 2
ghsa_unreviewed·2022-05-13
CVE-2019-9210 [HIGH] CWE-125 GHSA-h34m-m7hc-cp2h: In AdvanceCOMP 2
In AdvanceCOMP 2.1, png_compress in pngex.cc in advpng has an integer overflow upon encountering an invalid PNG size, which results in an attempted memcpy to write into a buffer that is too small. (There is also a heap-based buffer over-read.)
OSV
CVE-2019-9210: In AdvanceCOMP 2
osv·2019-02-27·CVSS 7.8
CVE-2019-9210 [HIGH] CVE-2019-9210: In AdvanceCOMP 2
In AdvanceCOMP 2.1, png_compress in pngex.cc in advpng has an integer overflow upon encountering an invalid PNG size, which results in an attempted memcpy to write into a buffer that is too small. (There is also a heap-based buffer over-read.)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-9210 advancecomp: integer overflow in png_compress in pngex.cc [fedora-all]
bugzilla·2019-03-01·CVSS 7.8
CVE-2019-9210 [HIGH] CVE-2019-9210 advancecomp: integer overflow in png_compress in pngex.cc [fedora-all]
CVE-2019-9210 advancecomp: integer overflow in png_compress in pngex.cc [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported v
Bugzilla
CVE-2019-9210 advancecomp: integer overflow in png_compress in pngex.cc
bugzilla·2019-03-01·CVSS 7.8
CVE-2019-9210 [HIGH] CVE-2019-9210 advancecomp: integer overflow in png_compress in pngex.cc
CVE-2019-9210 advancecomp: integer overflow in png_compress in pngex.cc
In AdvanceCOMP 2.1, png_compress in pngex.cc in advpng has an integer overflow upon encountering an invalid PNG size, which results in an attempted memcpy to write into a buffer that is too small. (There is also a heap-based buffer over-read.)
Reference:
https://sourceforge.net/p/advancemame/bugs/277/
Discussion:
Created advancecomp tracking bugs for this issue:
Affects: fedora-all [bug 1684597]
---
Upstream patch:
https://github.com/amadvance/advancecomp/commit/7894a6e684ce68ddff9f4f4919ab8e3911ac8040
---
asm reference: http://127.0.0.1:5600/static/#/asm_ticket/19558
---
Upstream analysis looks good. Small memory allocs occur after a addition wraps around a unsigned int.
```
│52 for(i=0;i│55 memcpy(p0, p1,
https://lists.debian.org/debian-lts-announce/2019/03/msg00004.htmlhttps://lists.debian.org/debian-lts-announce/2021/12/msg00034.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R56LVWC7KUNXFRKQB3Y5NX2YHFJKYZB4/https://sourceforge.net/p/advancemame/bugs/277/https://usn.ubuntu.com/3936-1/https://usn.ubuntu.com/3936-2/https://lists.debian.org/debian-lts-announce/2019/03/msg00004.htmlhttps://lists.debian.org/debian-lts-announce/2021/12/msg00034.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R56LVWC7KUNXFRKQB3Y5NX2YHFJKYZB4/https://sourceforge.net/p/advancemame/bugs/277/https://usn.ubuntu.com/3936-1/https://usn.ubuntu.com/3936-2/
2019-02-27
Published