Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1276416 - (CVE-2015-7981) CVE-2015-7981 libpng: Out-of-bounds read in png_convert_to_rfc1123
CVE-2015-7981 libpng: Out-of-bounds read in png_convert_to_rfc1123
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20151022,reported=2...
: Reopened, Security
Depends On: 1276417 1276418 1276419 1283572 1283573 1283576 1283577
Blocks: 1276422
  Show dependency treegraph
 
Reported: 2015-10-29 11:59 EDT by Adam Mariš
Modified: 2016-07-18 09:55 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
An array-indexing error was discovered in the png_convert_to_rfc1123() function of libpng. An attacker could possibly use this flaw to cause an out-of-bounds read by tricking an unsuspecting user into processing a specially crafted PNG image.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-04 09:01:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2594 normal SHIPPED_LIVE Moderate: libpng security update 2015-12-09 13:35:49 EST
Red Hat Product Errata RHSA-2015:2595 normal SHIPPED_LIVE Moderate: libpng12 security update 2015-12-09 14:12:41 EST
Red Hat Product Errata RHSA-2016:0099 normal SHIPPED_LIVE Critical: java-1.7.1-ibm security update 2016-02-02 13:52:52 EST
Red Hat Product Errata RHSA-2016:0100 normal SHIPPED_LIVE Critical: java-1.7.0-ibm security update 2016-02-02 10:04:39 EST
Red Hat Product Errata RHSA-2016:0101 normal SHIPPED_LIVE Critical: java-1.6.0-ibm security update 2016-02-02 10:00:49 EST
Red Hat Product Errata RHSA-2016:1430 normal SHIPPED_LIVE Moderate: java-1.7.0-ibm and java-1.7.1-ibm security update 2016-07-18 13:51:35 EDT

  None (edit)
Description Adam Mariš 2015-10-29 11:59:04 EDT
An out-of-bounds read in png_convert_to_rfc1123 in png.c was found.

Upstream bug:

http://sourceforge.net/p/libpng/bugs/241/

Upstream patch:

http://sourceforge.net/p/libpng/code/ci/fbf0f024346ca0a4ffc64b082a95c6b6bb6d29c4/

CVE assignment:

http://seclists.org/oss-sec/2015/q4/161
Comment 1 Adam Mariš 2015-10-29 11:59:46 EDT
Created libpng10 tracking bugs for this issue:

Affects: fedora-all [bug 1276417]
Affects: epel-6 [bug 1276419]
Comment 2 Adam Mariš 2015-10-29 11:59:53 EDT
Created libpng12 tracking bugs for this issue:

Affects: fedora-all [bug 1276418]
Comment 3 Stefan Cornelius 2015-11-04 08:46:26 EST
This is an array indexing error, which can lead to an out-of-bounds read of a static buffer.

The fix is strange, but should work: the result is now unsigned (no longer negative, but now a huge positive number). But that doesn't matter, because the modulo 12 trims it down to sane, but obviously incorrect numbers.

Currently, I'd say that this probably does not even lead to a crash, let alone code exec.
Comment 7 Fedora Update System 2015-11-24 14:51:52 EST
libpng10-1.0.64-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2015-11-24 17:24:14 EST
libpng10-1.0.64-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
Comment 9 Fedora Update System 2015-11-24 17:49:53 EST
libpng10-1.0.64-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
Comment 10 Petr Hracek 2015-11-27 10:49:21 EST
Do you have any reproducer?

Can can we test it whether it is fixed.

Or it is only SanityOnly?
Comment 11 Fedora Update System 2015-11-30 16:57:53 EST
libpng10-1.0.64-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
Comment 12 errata-xmlrpc 2015-12-09 08:36:58 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2015:2594 https://rhn.redhat.com/errata/RHSA-2015-2594.html
Comment 13 errata-xmlrpc 2015-12-09 09:14:19 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:2595 https://rhn.redhat.com/errata/RHSA-2015-2595.html
Comment 14 Fedora Update System 2016-01-02 17:21:08 EST
libpng12-1.2.56-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 15 Fedora Update System 2016-01-02 18:20:08 EST
libpng12-1.2.56-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
Comment 16 errata-xmlrpc 2016-02-02 05:04:58 EST
This issue has been addressed in the following products:

  Supplementary for Red Hat Enterprise Linux 6
  Supplementary for Red Hat Enterprise Linux 5

Via RHSA-2016:0101 https://rhn.redhat.com/errata/RHSA-2016-0101.html
Comment 17 errata-xmlrpc 2016-02-02 05:06:26 EST
This issue has been addressed in the following products:

  Supplementary for Red Hat Enterprise Linux 5

Via RHSA-2016:0100 https://rhn.redhat.com/errata/RHSA-2016-0100.html
Comment 18 errata-xmlrpc 2016-02-02 08:53:14 EST
This issue has been addressed in the following products:

  Supplementary for Red Hat Enterprise Linux 7
  Supplementary for Red Hat Enterprise Linux 6

Via RHSA-2016:0099 https://rhn.redhat.com/errata/RHSA-2016-0099.html
Comment 19 errata-xmlrpc 2016-07-18 09:55:23 EDT
This issue has been addressed in the following products:

  Red Hat Satellite 5.6
  Red Hat Satellite 5.7

Via RHSA-2016:1430 https://access.redhat.com/errata/RHSA-2016:1430

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