Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | xzgv | 0.8-3 | — |
| Debian 12 | xzgv | 0.8-3 | — |
| Debian 3.0 | xzgv | 0.7-6woody2 | DSA-614-1 |
Advisories 1
- DSA-614-1 xzgv - integer overflows Debian Security (DSA / DLA) · Mar 9, 2026
References
- 20041213 Multiple Vendor xzgv PRF Parsing Integer Overflow Vulnerability third-party-advisory
- DSA-614 vendor-advisory
- http://rus.members.beeb.net/xzgv-0.8-integer-overflow-fix.diff
- xzgv-readprffile-bo(18454) vdb-entry