---
title: "CVE-2004-0768\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2004-0768?format=md
keywords: index, follow
---

# CVE-2004-0768

Publication date 20 October 2004

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libpng | 7.04 feisty | Fixed 1.2.15~beta5-1ubuntu1 |
| 6.10 edgy | Fixed 1.2.8rel-5.1ubuntu0.2 |
| 6.06 LTS dapper | Fixed 1.2.8rel-5ubuntu0.2 |
| libpng3 | 7.04 feisty | Not in release |
| 6.10 edgy | Fixed 1.2.8rel-1ubuntu3 |
| 6.06 LTS dapper | Fixed 1.2.8rel-1ubuntu3 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0768)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2004-0768)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2004-0768)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2004-0768)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2004-0768>
