CVE-2016-3982
published 2016-04-13CVE-2016-3982: Off-by-one error in the bmp_rle4_fread function in pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause a denial of service (out-of-bounds read…
PriorityP346high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EPSS
3.97%
89.2th percentile
Off-by-one error in the bmp_rle4_fread 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, which triggers a heap-based buffer overflow.
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_project | optipng | <= 0.7.5 | — |
| 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.08.8HIGHCVSS:3.0/AV:N/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
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
vendor_ubuntu8.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
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: heap buffer overflow in the bmp_rle4_fread function
vendor_redhat·2016-04-05·CVSS 8.8
CVE-2016-3982 [HIGH] CWE-193 optipng: heap buffer overflow in the bmp_rle4_fread function
optipng: heap buffer overflow in the bmp_rle4_fread function
Off-by-one error in the bmp_rle4_fread 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, which triggers a heap-based buffer overflow.
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-3982: optipng - Off-by-one error in the bmp_rle4_fread function in pngxrbmp.c in OptiPNG before ...
vendor_debian·2016·CVSS 8.8
CVE-2016-3982 [HIGH] CVE-2016-3982: optipng - Off-by-one error in the bmp_rle4_fread function in pngxrbmp.c in OptiPNG before ...
Off-by-one error in the bmp_rle4_fread 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, which triggers a heap-based buffer overflow.
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)
GHSA
GHSA-pg66-fmrg-mp86: Off-by-one error in the bmp_rle4_fread function in pngxrbmp
ghsa_unreviewed·2022-05-14
CVE-2016-3982 [HIGH] CWE-119 GHSA-pg66-fmrg-mp86: Off-by-one error in the bmp_rle4_fread function in pngxrbmp
Off-by-one error in the bmp_rle4_fread 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, which triggers a heap-based buffer overflow.
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-3982: Off-by-one error in the bmp_rle4_fread function in pngxrbmp
osv·2016-04-13·CVSS 8.8
CVE-2016-3982 [HIGH] CVE-2016-3982: Off-by-one error in the bmp_rle4_fread function in pngxrbmp
Off-by-one error in the bmp_rle4_fread 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, which triggers a heap-based buffer overflow.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-3981 CVE-2016-3982 optipng: various flaws [fedora-all]
bugzilla·2016-04-14·CVSS 7.8
CVE-2016-3981 [HIGH] CVE-2016-3981 CVE-2016-3982 optipng: various flaws [fedora-all]
CVE-2016-3981 CVE-2016-3982 optipng: various flaws [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 supported versions of Fedora. While
Bugzilla
CVE-2016-3982 optipng: heap buffer overflow in the bmp_rle4_fread function
bugzilla·2016-04-14·CVSS 8.8
CVE-2016-3982 [HIGH] CVE-2016-3982 optipng: heap buffer overflow in the bmp_rle4_fread function
CVE-2016-3982 optipng: heap buffer overflow in the bmp_rle4_fread function
Off-by-one error in the bmp_rle4_fread 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, which triggers a
heap-based buffer overflow.
External references that includes reproducer and patch:
https://sourceforge.net/p/optipng/bugs/57/
Discussion:
Created optipng tracking bugs for this issue:
Affects: fedora-all [bug 1327221]
Affects: epel-all [bug 1327222]
---
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
Bugzilla
CVE-2016-3981 CVE-2016-3982 optipng: various flaws [epel-all]
bugzilla·2016-04-14·CVSS 7.8
CVE-2016-3981 [HIGH] CVE-2016-3981 CVE-2016-3982 optipng: various flaws [epel-all]
CVE-2016-3981 CVE-2016-3982 optipng: various flaws [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 supported versions of Fedora EPEL
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
http://bugs.fi/media/afl/optipng/2/http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.htmlhttp://lists.opensuse.org/opensuse-updates/2016-04/msg00065.htmlhttp://www.debian.org/security/2016/dsa-3546http://www.ubuntu.com/usn/USN-2951-1https://security.gentoo.org/glsa/201608-01https://sourceforge.net/p/optipng/bugs/57/http://bugs.fi/media/afl/optipng/2/http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.htmlhttp://lists.opensuse.org/opensuse-updates/2016-04/msg00065.htmlhttp://www.debian.org/security/2016/dsa-3546http://www.ubuntu.com/usn/USN-2951-1https://security.gentoo.org/glsa/201608-01https://sourceforge.net/p/optipng/bugs/57/
2016-04-13
Published