CVE-2004-1095

zgv 5.8 - Remote Code Execution via Integer Overflow in Image Header Parsing

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2004-1095. PoCs published by infamous41md.

AI-analyzed exploit summary This exploit targets a vulnerability in ximage or zgv, likely involving a buffer overflow or similar memory corruption issue to achieve remote code execution. The exploit is provided as a compressed archive, suggesting it includes compiled binaries or scripts for demonstration.

Description

Multiple integer overflows in (1) readbmp.c, (2) readgif.c, (3) readgif.c, (4) readmrf.c, (5) readpcx.c, (6) readpng.c,(7) readpnm.c, (8) readprf.c, (9) readtiff.c, (10) readxbm.c, (11) readxpm.c in zgv 5.8 allow remote attackers to execute arbitrary code via certain image headers that cause calculations to be overflowed and small buffers to be allocated, leading to buffer overflows. 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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by infamous41md · textremotelinux
https://www.exploit-db.com/exploits/609

This exploit targets a vulnerability in ximage or zgv, likely involving a buffer overflow or similar memory corruption issue to achieve remote code execution. The exploit is provided as a compressed archive, suggesting it includes compiled binaries or scripts for demonstration.

Classification
Working Poc 80%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: ximage or zgv (version unspecified)
No auth needed
Prerequisites: Access to the target system running vulnerable ximage or zgv
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (7)

Core 7
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/17871
Various Sources x_refsource_confirm
http://www.svgalib.org/rus/zgv/
Third Party Advisory vendor-advisory x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200411-12.xml
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=109898111915661&w=2
Patch, Vendor Advisory vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/11556
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=109886210702781&w=2

Scores

EPSS 0.0938
EPSS Percentile 94.8%

Details

Status published
Products (8)
debian/debian_linux 3.0 (11 CPE variants)
zgv/xzgv_image_viewer 0.6
zgv/xzgv_image_viewer 0.7
zgv/xzgv_image_viewer 0.8
zgv/zgv_image_viewer 5.5
zgv/zgv_image_viewer 5.6
zgv/zgv_image_viewer 5.7
zgv/zgv_image_viewer 5.8
Published Jan 10, 2005
Tracked Since Feb 18, 2026