Bug 215405 (CVE-2006-5793)

Summary: CVE-2006-5793 libpng DoS
Product: [Other] Security Response Reporter: Josh Bressers <bressers>
Component: vulnerabilityAssignee: Tom Lane <tgl>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: hhorak, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2007-0356 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-17 21:46:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 242414    

Description Josh Bressers 2006-11-13 20:07:19 UTC
Tavis Ormandy told vendor-sec about a OOB memory read flaw in libpng.  This flaw
is a denial of service flaw.

quoting the mail from Tavis:

    Hello, there's a typo in the sPLT chunk handling code in libpng,
    potentially resulting in an OOB read. AFAICT, the extent of the
    vulnerability is denial of service, but would appreciate a second pair
    of eyes to verify.

    Around line ~983 of pngset.c, in png_set_sPLT()

    to->entries =3D (png_sPLT_entryp)png_malloc(png_ptr,=20
        from->nentries * png_sizeof(png_sPLT_t));

    should be `png_sizeof(png_sPLT_entry)`

    and the same on this line:

    png_memcpy(to->entries, from->entries,
        from->nentries * png_sizeof(png_sPLT_t));

This issue also affects RHEL2.1 and RHEL3

Comment 2 Josh Bressers 2006-11-14 21:28:57 UTC
This issue is now public:
http://bugs.gentoo.org/show_bug.cgi?id=154380

Comment 4 Tobias Sandhaas 2007-01-04 16:31:57 UTC
Normally i am quite pleased with the speed of security updates by redhat. But
sometimes vulnerabilities seems to be overseen. Please release a fix for this issue.

See also "Bugzilla Bug 216706: CVE-2006-5793 libpng, libpng10 DoS".


Comment 5 Josh Bressers 2007-01-04 19:04:06 UTC
We have assigned this flaw a severity of "low".  We will not release an update
to libpng only to fix this flaw given the very low severity.  This flaw will be
fixed in our next libpng update.

Comment 8 Red Hat Bugzilla 2007-05-17 21:46:09 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2007-0356.html