ALAS-2015-615


Amazon Linux AMI Security Advisory: ALAS-2015-615
Advisory Release Date: 2015-12-13 14:16 Pacific
Severity: Medium

Issue Overview:

It was discovered that the png_get_PLTE() and png_set_PLTE() functions of libpng did not correctly calculate the maximum palette sizes for bit depths of less than 8. In case an application tried to use these functions in combination with properly calculated palette sizes, this could lead to a buffer overflow or out-of-bounds reads. An attacker could exploit this to cause a crash or potentially execute arbitrary code by tricking an unsuspecting user into processing a specially crafted PNG image. However, the exact impact is dependent on the application using the library. (CVE-2015-7981 )

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. (CVE-2015-8472 )


Affected Packages:

libpng


Issue Correction:
Run yum update libpng to update your system.

New Packages:
i686:
    libpng-devel-1.2.49-2.14.amzn1.i686
    libpng-debuginfo-1.2.49-2.14.amzn1.i686
    libpng-static-1.2.49-2.14.amzn1.i686
    libpng-1.2.49-2.14.amzn1.i686

src:
    libpng-1.2.49-2.14.amzn1.src

x86_64:
    libpng-debuginfo-1.2.49-2.14.amzn1.x86_64
    libpng-devel-1.2.49-2.14.amzn1.x86_64
    libpng-static-1.2.49-2.14.amzn1.x86_64
    libpng-1.2.49-2.14.amzn1.x86_64