CVE-2016-3982
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 4.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 4.0% in the next 30 days (EPSS).
- Severity: 8.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 4.0% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Opensuse Leap 42.1
- Opensuse 13.2
- Debian Linux 7.0
- Debian Linux 8.0
- Optipng Project Optipng ≤ 0.7.5
- Canonical Ubuntu Linux 12.04
- Canonical Ubuntu Linux 14.04
- Canonical Ubuntu Linux 15.10
Attack profile CVSS 3.0 · 8.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-3982.md and follow it. Check whether this project is affected by CVE-2016-3982. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://bugs.fi/media/afl/optipng/2/
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.html
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00065.html
- http://www.debian.org/security/2016/dsa-3546
- http://www.ubuntu.com/usn/USN-2951-1
- https://security.gentoo.org/glsa/201608-01
- https://sourceforge.net/p/optipng/bugs/57/
- http://bugs.fi/media/afl/optipng/2/
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.html
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00065.html
- http://www.debian.org/security/2016/dsa-3546
- http://www.ubuntu.com/usn/USN-2951-1
- https://security.gentoo.org/glsa/201608-01
- https://sourceforge.net/p/optipng/bugs/57/