Skip to content
OpenAdvisories
Unscored CVE-2010-0205 EUVD-2010-0236GHSA-qjvj-64rf-p4qg

The png_decompress_chunk function in pngrutil.c in libpng 1.0.x before 1.0.53, 1.2.x before 1.2.43, and 1.4.x before 1.4.1 does not properl…

Published Mar 3, 2010 · Updated Aug 7, 2024 · Assigned by certcc

Description

The png_decompress_chunk function in pngrutil.c in libpng 1.0.x before 1.0.53, 1.2.x before 1.2.43, and 1.4.x before 1.4.1 does not properly handle compressed ancillary-chunk data that has a disproportionately large uncompressed representation, which allows remote attackers to cause a denial of service (memory and CPU consumption, and application hang) via a crafted PNG file, as demonstrated by use of the deflate compression method on data composed of many occurrences of the same character, related to a "decompression bomb" attack.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 libpng 1.2.27-2+lenny3 DSA-2032-1
ReleasePackageFixed inAdvisory
RHEL 5 libpng +1 2:1.2.10-7.1.el5_5.3 RHSA-2010:0534
RHEL 4 libpng +1 2:1.2.7-3.el4_8.3 RHSA-2010:0534
RHEL 4 libpng10 +1 1.0.16-3.el4_8.4 RHSA-2010:0534
RHEL 3 libpng +1 2:1.2.2-30 RHSA-2010:0534
RHEL 3 libpng10 +1 1.0.13-21 RHSA-2010:0534

Advisories 2

References