Bug 1327213 (CVE-2016-3981) - CVE-2016-3981 optipng: heap buffer overflow in the bmp_read_rows function
Summary: CVE-2016-3981 optipng: heap buffer overflow in the bmp_read_rows function
Alias: CVE-2016-3981
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1323936 1323937 1327221 1327222
Blocks: 1308551
TreeView+ depends on / blocked
Reported: 2016-04-14 13:20 UTC by Andrej Nemec
Modified: 2021-02-17 04:03 UTC (History)
3 users (show)

Fixed In Version: optipng 0.7.6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-07-19 08:18:22 UTC

Attachments (Terms of Use)

Description Andrej Nemec 2016-04-14 13:20:23 UTC
Heap-based buffer overflow in the bmp_read_rows 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.

External references, including reproducer and patch:


Comment 1 Andrej Nemec 2016-04-14 13:56:44 UTC
Created optipng tracking bugs for this issue:

Affects: fedora-all [bug 1327221]
Affects: epel-all [bug 1327222]

Comment 3 Cedric Buissart 2016-07-18 15:42:48 UTC
Patch is merged with CVE-2016-2191, presented as a set of 2 patches :
  -> https://sourceforge.net/p/optipng/bugs/56/#5168
  -> https://sourceforge.net/p/optipng/bugs/56/#d6e6

Comment 4 Cedric Buissart 2016-07-19 08:16:39 UTC

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/.

Note You need to log in before you can comment on or make changes to this bug.