GLSA 201408-06: libpng: Multiple vulnerabilities

Severity:normal
Title:libpng: Multiple vulnerabilities
Date:08/14/2014
Bugs: #503014, #507378
ID:201408-06

Synopsis

Multiple vulnerabilities have been discovered in libpng which can allow a remote attacker to cause a Denial of Service condition.

Background

libpng is a standard library used to process PNG (Portable Network Graphics) images. It is used by several programs, including web browsers and potentially server processes.

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-libs/libpng < 1.6.10 >= 1.6.10 All supported architectures

Description

The png_push_read_chunk function in pngpread.c in the progressive decoder enters an infinite loop, when it encounters a zero-length IDAT chunk. In addition certain integer overflows have been detected and corrected.

The 1.2 branch is not affected by these vulnerabilities.

Impact

A remote attacker could entice a user to open a specially crafted PNG file using an application linked against libpng, possibly resulting in Denial of Service.

Workaround

There is no known workaround at this time.

Resolution

All libpng users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=media-libs/libpng-1.6.10"
    

Users with current installs in the 1.5 branch should also upgrade this using:

# emerge --sync # emerge --ask --oneshot --verbose ">=media-libs/libpng-1.5.18:1.5"

Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying these packages.

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201408-06.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!