optipng — security advisory
Use-after-free vulnerability in the GIFReadNextExtension function in lib/pngxtern/gif/gifread.c in OptiPNG 0.6.2 and earlier allows context-dependent attackers to cause a denial of service (application crash) via a crafted GIF image that causes the realloc function to return a new pointer, which triggers memory corruption when the old pointer is accessed.
- Products
- optipng
- Affected versions
- Not specified
- Fixed versions
- 0.6.2.1-1
- CVEs
- CVE-2009-0749
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:55 UTC · Revision 1
Source evidence
Use-after-free vulnerability in the GIFReadNextExtension function in lib/pngxtern/gif/gifread.c in OptiPNG 0.6.2 and earlier allows context-dependent attackers to cause a denial of service (application crash) via a crafted GIF image that causes the realloc function to return a new pointer, which triggers memory corruption when the old pointer is accessed.
osv:DEBIAN-CVE-2009-0749
optipng
Fixed versions: 0.6.2.1-1
optipng
Fixed versions: 0.6.2.1-1
optipng
Fixed versions: 0.6.2.1-1
Complete source record
{
"id": "ee6c750f18645cb2e51ae30421bf706d377163f43697a0766cfc188df2d6a5d4",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2009-0749",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2009-0749",
"summary": "Use-after-free vulnerability in the GIFReadNextExtension function in lib/pngxtern/gif/gifread.c in OptiPNG 0.6.2 and earlier allows context-dependent attackers to cause a denial of service (application crash) via a crafted GIF image that causes the realloc function to return a new pointer, which triggers memory corruption when the old pointer is accessed.",
"evidence": "osv:DEBIAN-CVE-2009-0749",
"products": [
{
"name": {
"value": "optipng",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.6.2.1-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "optipng",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.6.2.1-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "optipng",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.6.2.1-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2009-0749",
"aliases": [
"DEBIAN-CVE-2009-0749"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.2.1-1"
}
]
}
],
"package": {
"name": "optipng",
"purl": "pkg:deb/debian/optipng?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-0749.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.2.1-1"
}
]
}
],
"package": {
"name": "optipng",
"purl": "pkg:deb/debian/optipng?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-0749.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.2.1-1"
}
]
}
],
"package": {
"name": "optipng",
"purl": "pkg:deb/debian/optipng?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2009-0749.json"
},
"ecosystem_specific": {
"urgency": "low"
}
}
],
"modified": "2026-10-23T18:01:53.825040172Z",
"provider": "osv",
"upstream": [
"CVE-2009-0749"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2009-0749"
]
},
"related_cves": [
{
"value": "CVE-2009-0749",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 419449,
"published_at": "2009-03-02T20:30:00.217+00:00"
}