Out-of-Bounds Affecting optipng package, versions [,0.7.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.31% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPTIPNG-2380453
  • published26 Jan 2022
  • disclosed13 Apr 2016
  • creditUnknown

Introduced: 13 Apr 2016

CVE-2016-3982  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade optipng to version 0.7.6 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. 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.

References

CVSS Scores

version 3.1