8.8
HIGH CVSS 3.0
CVE-2016-3982
OptiPNG Heap-Based Buffer Overflow
Description

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.

INFO

Published Date :

April 13, 2016, 4:59 p.m.

Last Modified :

April 12, 2025, 10:46 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2016-3982 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Opensuse leap
2 Opensuse opensuse
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Optipng_project optipng
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 HIGH [email protected]
Solution
Follow the instructions below to mitigate the CVE-2016-3982 vulnerability.
There is no known solution at this time.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-3982 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-3982 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-3982 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://bugs.fi/media/afl/optipng/2/
    Added Reference http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.html
    Added Reference http://lists.opensuse.org/opensuse-updates/2016-04/msg00065.html
    Added Reference http://www.debian.org/security/2016/dsa-3546
    Added Reference http://www.ubuntu.com/usn/USN-2951-1
    Added Reference https://security.gentoo.org/glsa/201608-01
    Added Reference https://sourceforge.net/p/optipng/bugs/57/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:o:novell:opensuse:13.2:*:*:*:*:*:*:* OR *cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:o:novell:leap:42.1:*:*:*:*:*:*:* OR *cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:optipng:optipng:*:*:*:*:*:*:*:* versions from (including) 0.7.5 OR *cpe:2.3:a:optipng_project:optipng:*:*:*:*:*:*:*:* versions from (including) 0.7.5
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201608-01 [No Types Assigned]
  • Modified Analysis by [email protected]

    Aug. 01, 2016

    Action Type Old Value New Value
    Changed CPE Configuration Configuration 1 OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* Configuration 3 OR *cpe:2.3:a:optipng:optipng:0.7.5:*:*:*:*:*:*:* (and previous) Configuration 1 OR *cpe:2.3:o:novell:leap:42.1:*:*:*:*:*:*:* *cpe:2.3:o:novell:opensuse:13.2:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Configuration 3 OR *cpe:2.3:a:optipng:optipng:0.7.5:*:*:*:*:*:*:* (and previous) Configuration 4 OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
    Changed Reference Type http://www.ubuntu.com/usn/USN-2951-1 No Types Assigned http://www.ubuntu.com/usn/USN-2951-1 Third Party Advisory
    Changed Reference Type http://bugs.fi/media/afl/optipng/2/ No Types Assigned http://bugs.fi/media/afl/optipng/2/ Issue Tracking
    Changed Reference Type http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.html No Types Assigned http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.html Third Party Advisory
    Changed Reference Type http://www.debian.org/security/2016/dsa-3546 No Types Assigned http://www.debian.org/security/2016/dsa-3546 Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-updates/2016-04/msg00065.html No Types Assigned http://lists.opensuse.org/opensuse-updates/2016-04/msg00065.html Third Party Advisory
  • CVE Modified by [email protected]

    Jul. 29, 2016

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.html
    Added Reference http://lists.opensuse.org/opensuse-updates/2016-04/msg00065.html
  • Modified Analysis by [email protected]

    May. 18, 2016

    Action Type Old Value New Value
    Changed CPE Configuration Configuration 1 OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:a:optipng:optipng:0.7.5:*:*:*:*:*:*:* (and previous) Configuration 1 OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* Configuration 3 OR *cpe:2.3:a:optipng:optipng:0.7.5:*:*:*:*:*:*:* (and previous)
  • CVE Modified by [email protected]

    Apr. 22, 2016

    Action Type Old Value New Value
    Added Reference http://www.ubuntu.com/usn/USN-2951-1
  • Modified Analysis by [email protected]

    Apr. 21, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:a:optipng:optipng:0.7.5:*:*:*:*:*:*:* (and previous)
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://sourceforge.net/p/optipng/bugs/57/ No Types Assigned https://sourceforge.net/p/optipng/bugs/57/ Advisory, Patch
    Added CWE CWE-119
  • Initial Analysis by [email protected]

    Apr. 17, 2016

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6.8
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.93 }} -0.35%

score

0.82587

percentile