libpng: Multiple Denials of Service Several vulnerabilities in libpng may allow a remote attacker to crash applications that handle untrusted images. libpng 2007-11-07 2007-11-07 195261 remote 1.2.21-r3 1.2.21-r3

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

An off-by-one error when handling ICC profile chunks in the png_set_iCCP() function was discovered (CVE-2007-5266). George Cook and Jeff Phillips reported several errors in pngrtran.c, the use of logical instead of a bitwise functions and incorrect comparisons (CVE-2007-5268). Tavis Ormandy reported out-of-bounds read errors in several PNG chunk handling functions (CVE-2007-5269).

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

There is no known workaround at this time.

All libpng users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=media-libs/libpng-1.2.21-r3"
CVE-2007-5266 CVE-2007-5268 CVE-2007-5269 p-y p-y rbu