CVE-2004-0687: libXpm - Buffer Overflow
- Cve: CVE-2004-0687
- Name: libXpm - Buffer Overflow
- Description: Multiple stack-based buffer overflows in (1) xpmParseColors in parse.c, (2) ParseAndPutPixels in create.c, and (3) ParsePixels in parse.c for libXpm before 6.8.1 allow remote attackers to execute arbitrary code via a malformed XPM image file.
- Impact: Remote attackers can execute arbitrary code on the affected system by exploiting malformed XPM images.
- Remediation: Update to version 6.8.1 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
- Epss score: 0.08052
- Epss percentile: 0.94929
- Assignee: [email protected]
- Published at: 2004-10-20T04:00:00Z
- Age in days: 8070
- Modified at: 2026-06-16T22:06:09Z
- Patch available: yes
- References total: 24
- Products total: 4
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2004-0687
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| suse:suse_linux | = 9.1, = 9.0, = 8.2, = 8.1, = 8 | /v1/products/suse/suse_linux |
| openbsd:openbsd | = 3.5, = 3.4 | /v1/products/openbsd/openbsd |
| xfree86_project:x11r6 | = 4.3.0, = 4.2.1, = 4.2.0, = 4.1.12, = 4.1.11, = 4.1.0, = 4.0.3, = 4.0.2.11, = 4.0.1, = 4.0, = 3.3.6 | /v1/products/xfree86_project/x11r6 |
| x.org:x11r6 | = 6.8, = 6.7.0 | /v1/products/x.org/x11r6 |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Remote: yes
- Exposed hosts: 989
- Checked, none or zero: known exploited, known exploited by, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports