xzgv — security advisory
Multiple integer overflows in xzgv 0.8 and earlier allow remote attackers to execute arbitrary code via images with large width and height values, which trigger a heap-based buffer overflow, as demonstrated in the read_prf_file function in readprf.c. NOTE: CVE-2004-0994 and CVE-2004-1095 identify sets of bugs that only partially overlap, despite having the same developer. Therefore, they should be regarded as distinct.
- Products
- xzgv
- Affected versions
- Not specified
- Fixed versions
- 0.8-3
- CVEs
- CVE-2004-0994
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 14:23 UTC · Revision 1
Source evidence
Multiple integer overflows in xzgv 0.8 and earlier allow remote attackers to execute arbitrary code via images with large width and height values, which trigger a heap-based buffer overflow, as demonstrated in the read_prf_file function in readprf.c. NOTE: CVE-2004-0994 and CVE-2004-1095 identify sets of bugs that only partially overlap, despite having the same developer. Therefore, they should be regarded as distinct.
osv:DEBIAN-CVE-2004-0994
xzgv
Fixed versions: 0.8-3
xzgv
Fixed versions: 0.8-3
Complete source record
{
"id": "1e5b4475c62153b03be18ee7849ddc9a111f19a3645672a09c9b6e7affcd6a4a",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2004-0994",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2004-0994",
"summary": "Multiple integer overflows in xzgv 0.8 and earlier allow remote attackers to execute arbitrary code via images with large width and height values, which trigger a heap-based buffer overflow, as demonstrated in the read_prf_file function in readprf.c. NOTE: CVE-2004-0994 and CVE-2004-1095 identify sets of bugs that only partially overlap, despite having the same developer. Therefore, they should be regarded as distinct.",
"evidence": "osv:DEBIAN-CVE-2004-0994",
"products": [
{
"name": {
"value": "xzgv",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.8-3",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "xzgv",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.8-3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2004-0994",
"aliases": [
"DEBIAN-CVE-2004-0994"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.8-3"
}
]
}
],
"package": {
"name": "xzgv",
"purl": "pkg:deb/debian/xzgv?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-0994.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.8-3"
}
]
}
],
"package": {
"name": "xzgv",
"purl": "pkg:deb/debian/xzgv?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2004-0994.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-21T15:47:25.925335883Z",
"provider": "osv",
"upstream": [
"CVE-2004-0994"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2004-0994"
]
},
"related_cves": [
{
"value": "CVE-2004-0994",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 393869,
"published_at": "2005-01-10T05:00:00+00:00"
}