CVE-2004-0768: libpng 1.2.5 and earlier does not properly calculate certain buffer offsets, which could allow remote attacker
CVE-2004-0768 is a high-severity flaw (CVSS 7.5) affecting libpng3. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| EPSS exploit chance | 3.3% (top 12%) |
| CISA exploited list | No |
| Published | 2004-10-20 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-0768?
libpng3: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-0768 being exploited?
CVE-2004-0768 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-0768 affect?
CVE-2004-0768 affects libpng3. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2004-0768?
Priority 48/100. High severity
Software pages
Related CVEs
- CVE-2002-0660 HIGH 7.5 DOWNGRADE DOWNGRADE Buffer overflow in libpng 1.0.12-3.woody.2 and libpng3 1.2.1-1.1.woody.2 on Debian GNU/Linux 3.0, and other op