8.8
CWE
119
Advisory Published
Updated

CVE-2016-3982: Buffer Overflow

First published: Wed Apr 13 2016(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
openSUSE=42.1
openSUSE=13.2
Debian=7.0
Debian=8.0
OptiPNG<=0.7.5
Ubuntu=12.04
Ubuntu=14.04
Ubuntu=15.10

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2016-3982?

    CVE-2016-3982 has a severity level that allows remote attackers to potentially execute arbitrary code or cause a denial of service.

  • How do I fix CVE-2016-3982?

    To fix CVE-2016-3982, users should update OptiPNG to version 0.7.6 or later.

  • What software is affected by CVE-2016-3982?

    CVE-2016-3982 affects multiple versions of OptiPNG as well as Debian, Ubuntu, and openSUSE distributions.

  • What kind of attacks can be executed due to CVE-2016-3982?

    CVE-2016-3982 can be exploited through crafted image files that trigger heap-based buffer overflow vulnerabilities.

  • Is there a known exploit for CVE-2016-3982?

    Yes, CVE-2016-3982 has known exploits that take advantage of the off-by-one error to execute code or cause crashes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203