Live threats

All CVEs / Libpng

CVE-2011-2501Libpng

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
3.5%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Jul 17, 2011
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

The png_format_buffer function in pngerror.c in libpng 1.0.x before 1.0.55, 1.2.x before 1.2.45, 1.4.x before 1.4.8, and 1.5.x before 1.5.4 allows remote attackers to cause a denial of service (application crash) via a crafted PNG image that triggers an out-of-bounds read during the copying of error-message data. NOTE: this vulnerability exists because of a CVE-2004-0421 regression. NOTE: this is called an off-by-one error by some sources.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libpng.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libpnglibpng≥ 1.0.0 < 1.0.55
libpnglibpng≥ 1.2.0 < 1.2.45
libpnglibpng≥ 1.4.0 < 1.4.8
libpnglibpng≥ 1.5.0 < 1.5.4
fedoraprojectfedora14
debiandebian_linux5.0
debiandebian_linux6.0
canonicalubuntu_linux8.04
canonicalubuntu_linux10.04
canonicalubuntu_linux10.10
canonicalubuntu_linux11.04

Official sources

References

Links published by the sources. Open them with care.