US-CERT: Critical Flaws in libpng | Internet News

US-CERT: Critical Flaws in libpng

Written By
Ryan Naraine
Ryan Naraine
Aug 5, 2004
2 minute read

The U.S. government’s Computer Emergency Readiness Team (US-CERT) has issued an alert for multiple vulnerabilities in libpng, the popular reference library that supports the Portable Network Graphics (PNG) image format.

The most serious of the vulnerabilities could allow a remote attacker to execute arbitrary code on an affected system, CERT warned.

Application developers who use the libpng library are urged to apply the appropriate vendor patches immediately. For individuals who rely on the original source of libpng, the flaws have been corrected in libpng version 1.2.6rc1 (release candidate 1), which is available for download here.

Research firm Secunia rates the security risk as “highly critical” and warned that a malicious website serving a specially crafted PNG file could compromise the browsers of visitors.

Attackers could also send a malicious PNG via e-mail and compromise the e-mail viewer of the recipient. For systems with user-providable images for “face browsers, a local system compromise could be possible via a malicious PNG, the outfit warned.

PNG is a bit-mapped graphics format approved as a standard by the World Wide Web consortium (W3C) to provide a patent and license-free alternative to the GIF format.
In its advisory, US-CERT said a buffer overflow was detected in the way that libpng processes PNG images. A separate null pointer vulnerability could allow a PNG image with particular characteristics to crash applications.

An integer overflow error exists in the handling of PNG image height, US-CERT said. As a result, a PNG image with excessive height may cause an integer overflow during a memory allocation operation, which could cause the affected application.

Internet News Logo

InternetNews is a source of industry news and intelligence for IT professionals from all branches of the technology world. InternetNews focuses on helping professionals grow their knowledge base and authority in their field with the top news and trends in Software, IT Management, Networking & Communications, and Small Business.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.