Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200407-06 ] libpng: Buffer overflow on row buffers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Moderator
Moderator


Joined: 13 Jun 2003
Posts: 4079
Location: Dresden, Germany

PostPosted: Thu Jul 08, 2004 4:27 pm    Post subject: [ GLSA 200407-06 ] libpng: Buffer overflow on row buffers Reply with quote

Gentoo Linux Security Advisory

Title: libpng: Buffer overflow on row buffers (GLSA 200407-06)
Severity: normal
Exploitable: remote
Date: July 08, 2004
Bug(s): #56307
ID: 200407-06

Synopsis

libpng contains a buffer overflow vulnerability potentially allowing an attacker to perform a Denial of Service attack or even execute arbitrary code.

Background

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

Affected Packages

Package: media-libs/libpng
Vulnerable: <= 1.2.5-r6
Unaffected: >= 1.2.5-r7
Architectures: All supported architectures


Description

Due to a wrong calculation of loop offset values, libpng contains a buffer overflow vulnerability on the row buffers. This vulnerability was initially patched in January 2003 but since it has been discovered that libpng contains the same vulnerability in two other places.

Impact

An attacker could exploit this vulnerability to cause programs linked against the library to crash or execute arbitrary code with the permissions of the user running the vulnerable program, which could be the root user.

Workaround

There is no known workaround at this time. All users are encouraged to upgrade to the latest available version.

Resolution

All libpng users should upgrade to the latest stable version:
Code:
# emerge sync
# emerge -pv ">=media-libs/libpng-1.2.5-r7"
# emerge ">=media-libs/libpng-1.2.5-r7"
You should also run revdep-rebuild to rebuild any packages that depend on older versions of libpng :
Code:
# revdep-rebuild


References

CAN-2002-1363


Last edited by GLSA on Thu Nov 16, 2006 4:16 am; edited 3 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum