CVE-2004-0768: Greg Roelofs LIBPNG3

High severity, CVSS 7.5. EPSS: 3.3% chance of exploitation in the next 30 days.

libpng 1.2.5 and earlier does not properly calculate certain buffer offsets, which could allow remote attackers to execute arbitrary code via a buffer overflow attack.

Affected products

  • Greg Roelofs LIBPNG3: version 1.2.0 only; version 1.2.1 only; version 1.2.2 only; version 1.2.3 only; version 1.2.4 only; version 1.2.5 only

Published 2004-10-20. Last modified 2026-06-16.