CVE-2016-2191
published 2016-04-13CVE-2016-2191: The bmp_read_rows function in pngxtern/pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause a denial of service (invalid memory write and crash)…
PriorityP429medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
3.53%
87.8th percentile
The bmp_read_rows function in pngxtern/pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause a denial of service (invalid memory write and crash) via a series of delta escapes in a crafted BMP image.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | optipng | < optipng 0.7.6-1 (bookworm) | optipng 0.7.6-1 (bookworm) |
| opensuse | leap | — | — |
| opensuse | opensuse | — | — |
| optipng | optipng | — | — |
| optipng_project | optipng | >= 0 < 0.7.6-1 | 0.7.6-1 |
| optipng_project | optipng | >= 0 < 0.7.6-1 | 0.7.6-1 |
| optipng_project | optipng | >= 0 < 0.7.6-1 | 0.7.6-1 |
| optipng_project | optipng | >= 0 < 0.7.6-1 | 0.7.6-1 |
| optipng_project | optipng | >= 0 < 0.6.4-1ubuntu0.14.04.1 | 0.6.4-1ubuntu0.14.04.1 |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
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.
GHSA
GHSA-j2h5-f8x6-m62x: The bmp_read_rows function in pngxtern/pngxrbmp
ghsa_unreviewed·2022-05-14
CVE-2016-2191 [MEDIUM] CWE-119 GHSA-j2h5-f8x6-m62x: The bmp_read_rows function in pngxtern/pngxrbmp
The bmp_read_rows function in pngxtern/pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause a denial of service (invalid memory write and crash) via a series of delta escapes in a crafted BMP image.
OSV
optipng vulnerabilities
osv·2016-04-18·CVSS 8.8
CVE-2015-7801 [HIGH] optipng vulnerabilities
optipng vulnerabilities
Gustavo Grieco discovered that OptiPNG incorrectly handled memory. A remote
attacker could use this issue with a specially crafted image file to cause
OptiPNG to crash, resulting in a denial of service. (CVE-2015-7801)
Gustavo Grieco discovered that OptiPNG incorrectly handled memory. A remote
attacker could use this issue with a specially crafted image file to cause
OptiPNG to crash, resulting in a denial of service. (CVE-2015-7802)
Hans Jerry Illikainen discovered that OptiPNG incorrectly handled memory. A
remote attacker could use this issue with a specially crafted image file to
cause OptiPNG to crash, resulting in a denial of service, or possibly
execute arbitrary code. (CVE-2016-2191)
Henri Salo discovered that OptiPNG incorrectly handled memory. A remote
OSV
CVE-2016-2191: The bmp_read_rows function in pngxtern/pngxrbmp
osv·2016-04-13·CVSS 6.5
CVE-2016-2191 [MEDIUM] CVE-2016-2191: The bmp_read_rows function in pngxtern/pngxrbmp
The bmp_read_rows function in pngxtern/pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause a denial of service (invalid memory write and crash) via a series of delta escapes in a crafted BMP image.
Ubuntu
OptiPNG vulnerabilities
vendor_ubuntu·2016-04-18·CVSS 8.8
CVE-2015-7801 [HIGH] OptiPNG vulnerabilities
Title: OptiPNG vulnerabilities
Summary: OptiPNG could be made to crash or run programs as your login if it opened a
specially crafted file.
Gustavo Grieco discovered that OptiPNG incorrectly handled memory. A remote
attacker could use this issue with a specially crafted image file to cause
OptiPNG to crash, resulting in a denial of service. (CVE-2015-7801)
Gustavo Grieco discovered that OptiPNG incorrectly handled memory. A remote
attacker could use this issue with a specially crafted image file to cause
OptiPNG to crash, resulting in a denial of service. (CVE-2015-7802)
Hans Jerry Illikainen discovered that OptiPNG incorrectly handled memory. A
remote attacker could use this issue with a specially crafted image file to
cause OptiPNG to crash, resulting in a denial of service, or possi
Red Hat
optipng: Invalid write while processing delta escapes without any boundary checking
vendor_redhat·2016-04-04·CVSS 6.5
CVE-2016-2191 [MEDIUM] CWE-787 optipng: Invalid write while processing delta escapes without any boundary checking
optipng: Invalid write while processing delta escapes without any boundary checking
The bmp_read_rows function in pngxtern/pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause a denial of service (invalid memory write and crash) via a series of delta escapes in a crafted BMP image.
Statement: Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Package: optipng (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2016-2191: optipng - The bmp_read_rows function in pngxtern/pngxrbmp.c in OptiPNG before 0.7.6 allows...
vendor_debian·2016·CVSS 6.5
CVE-2016-2191 [MEDIUM] CVE-2016-2191: optipng - The bmp_read_rows function in pngxtern/pngxrbmp.c in OptiPNG before 0.7.6 allows...
The bmp_read_rows function in pngxtern/pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause a denial of service (invalid memory write and crash) via a series of delta escapes in a crafted BMP image.
Scope: local
bookworm: resolved (fixed in 0.7.6-1)
bullseye: resolved (fixed in 0.7.6-1)
forky: resolved (fixed in 0.7.6-1)
sid: resolved (fixed in 0.7.6-1)
trixie: resolved (fixed in 0.7.6-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-3981 optipng: heap buffer overflow in the bmp_read_rows function
bugzilla·2016-04-14·CVSS 6.5
CVE-2016-3981 [MEDIUM] CVE-2016-3981 optipng: heap buffer overflow in the bmp_read_rows function
CVE-2016-3981 optipng: heap buffer overflow in the bmp_read_rows function
Heap-based buffer overflow in the bmp_read_rows function in pngxrbmp.c
in OptiPNG before 0.7.6 allows remote attackers to cause a denial of
service (out-of-bounds read or write access and crash) or possibly
execute arbitrary code via a crafted image file.
External references, including reproducer and patch:
https://sourceforge.net/p/optipng/bugs/56/
Discussion:
Created optipng tracking bugs for this issue:
Affects: fedora-all [bug 1327221]
Affects: epel-all [bug 1327222]
---
Patch is merged with CVE-2016-2191, presented as a set of 2 patches :
-> https://sourceforge.net/p/optipng/bugs/56/#5168
-> https://sourceforge.net/p/optipng/bugs/56/#d6e6
---
Statement:
Red Hat Product Security has rated this issue as
Bugzilla
CVE-2016-2191 CVE-2016-3981 CVE-2016-3982 optipng: various flaws fixed in 0.7.6 [fedora-all]
bugzilla·2016-04-05·CVSS 6.5
CVE-2016-2191 [MEDIUM] CVE-2016-2191 CVE-2016-3981 CVE-2016-3982 optipng: various flaws fixed in 0.7.6 [fedora-all]
CVE-2016-2191 CVE-2016-3981 CVE-2016-3982 optipng: various flaws fixed in 0.7.6 [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.
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 support
Bugzilla
CVE-2016-2191 CVE-2016-3981 CVE-2016-3982 optipng: various flaws fixed in 0.7.6 [epel-all]
bugzilla·2016-04-05·CVSS 6.5
CVE-2016-2191 [MEDIUM] CVE-2016-2191 CVE-2016-3981 CVE-2016-3982 optipng: various flaws fixed in 0.7.6 [epel-all]
CVE-2016-2191 CVE-2016-3981 CVE-2016-3982 optipng: various flaws fixed in 0.7.6 [epel-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 EPEL.
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 supp
Bugzilla
CVE-2016-2191 optipng: Invalid write while processing delta escapes without any boundary checking
bugzilla·2016-02-15·CVSS 6.5
CVE-2016-2191 [MEDIUM] CVE-2016-2191 optipng: Invalid write while processing delta escapes without any boundary checking
CVE-2016-2191 optipng: Invalid write while processing delta escapes without any boundary checking
An out-of-bounds write vulnerability was reported that occurs when processing bitmap images due to crt_row being inc/dec-remented (depending on whether the image is topdown) while processing delta escapes without any boundary checking.
Vulnerable code (pngxrbmp.c):
| 210 static size_t
| 211 bmp_read_rows(png_bytepp begin_row, png_bytepp end_row, size_t row_size,
| 212 unsigned int compression, FILE *stream)
| 213 {
| ...
| 272 crt_row = begin_row;
| 273 for ( ; ; )
| 274 {
| 275 ch = getc(stream); b1 = (unsigned int)ch;
| 276 ch = getc(stream); b2 = (unsigned int)ch;
| 277 if (ch == EOF)
| 278 break;
| 279 if (b1 == 0) /* escape */
| 280 {
| ...
| 307 else if (b2 == 2) /* delta */
| 308 {
|
http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.htmlhttp://lists.opensuse.org/opensuse-updates/2016-04/msg00065.htmlhttp://packetstormsecurity.com/files/136553/Optipng-Invalid-Write.htmlhttp://seclists.org/fulldisclosure/2016/Apr/15http://www.debian.org/security/2016/dsa-3546http://www.openwall.com/lists/oss-security/2016/04/04/2http://www.securityfocus.com/archive/1/537972/100/0/threadedhttp://www.ubuntu.com/usn/USN-2951-1https://security.gentoo.org/glsa/201608-01https://sourceforge.net/p/optipng/bugs/59/http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.htmlhttp://lists.opensuse.org/opensuse-updates/2016-04/msg00065.htmlhttp://packetstormsecurity.com/files/136553/Optipng-Invalid-Write.htmlhttp://seclists.org/fulldisclosure/2016/Apr/15http://www.debian.org/security/2016/dsa-3546http://www.openwall.com/lists/oss-security/2016/04/04/2http://www.securityfocus.com/archive/1/537972/100/0/threadedhttp://www.ubuntu.com/usn/USN-2951-1https://security.gentoo.org/glsa/201608-01https://sourceforge.net/p/optipng/bugs/59/
2016-04-13
Published