Gentoo Logo

libpng: Denial of Service

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200705-24 / libpng
Release Date May 31, 2007
Latest Revision May 31, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/libpng < 1.2.17 >= 1.2.17 All supported architectures

Related bugreports: #178004

Synopsis

A vulnerability in libpng may allow a remote attacker to crash applications that handle untrusted images.

2.  Impact Information

Background

libpng is a free ANSI C library used to process and manipulate PNG images.

Description

Mats Palmgren fixed an error in file pngrutil.c in which the trans[] array might be not allocated because of images with a bad tRNS chunk CRC value.

Impact

A remote attacker could craft an image that when processed or viewed by an application using libpng causes the application to terminate abnormally.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

Please note that due to separate bugs in libpng 1.2.17, Gentoo does not provide libpng-1.2.17 but libpng-1.2.18. All libpng users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References



Print

Page updated May 31, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.