Multiple stack-based buffer overflows in (1) xpmParseColors in parse.c, (2)…
Priority MEDIUM 44Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
EPSS 0.08052 94th percentileScored 2026-11-07
Fix Fixed Red Hat: 5 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 23
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:x.org:x11r6:6.7.0:*:*:*:*:*:*:* | 6.7.0 | Vulnerable | x.org |
| cpe:2.3:a:x.org:x11r6:6.8:*:*:*:*:*:*:* | 6.8 | Vulnerable | x.org |
| cpe:2.3:a:xfree86_project:x11r6:3.3.6:*:*:*:*:*:*:* | 3.3.6 | Vulnerable | Xfree86 Project |
| cpe:2.3:a:xfree86_project:x11r6:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Xfree86 Project |
| cpe:2.3:a:xfree86_project:x11r6:4.0.1:*:*:*:*:*:*:* | 4.0.1 | Vulnerable | Xfree86 Project |
| cpe:2.3:a:xfree86_project:x11r6:4.0.2.11:*:*:*:*:*:*:* | 4.0.2.11 | Vulnerable | Xfree86 Project |
| cpe:2.3:a:xfree86_project:x11r6:4.0.3:*:*:*:*:*:*:* | 4.0.3 | Vulnerable | Xfree86 Project |
| cpe:2.3:a:xfree86_project:x11r6:4.1.0:*:*:*:*:*:*:* | 4.1.0 | Vulnerable | Xfree86 Project |
| cpe:2.3:a:xfree86_project:x11r6:4.1.11:*:*:*:*:*:*:* | 4.1.11 | Vulnerable | Xfree86 Project |
| cpe:2.3:a:xfree86_project:x11r6:4.1.12:*:*:*:*:*:*:* | 4.1.12 | Vulnerable | Xfree86 Project |
- cpe:2.3:a:x.org:x11r6:6.7.0:*:*:*:*:*:*:* Versions 6.7.0 Vulnerable ·x.org
- cpe:2.3:a:x.org:x11r6:6.8:*:*:*:*:*:*:* Versions 6.8 Vulnerable ·x.org
- cpe:2.3:a:xfree86_project:x11r6:3.3.6:*:*:*:*:*:*:* Versions 3.3.6 Vulnerable ·Xfree86 Project
- cpe:2.3:a:xfree86_project:x11r6:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Xfree86 Project
- cpe:2.3:a:xfree86_project:x11r6:4.0.1:*:*:*:*:*:*:* Versions 4.0.1 Vulnerable ·Xfree86 Project
- cpe:2.3:a:xfree86_project:x11r6:4.0.2.11:*:*:*:*:*:*:* Versions 4.0.2.11 Vulnerable ·Xfree86 Project
- cpe:2.3:a:xfree86_project:x11r6:4.0.3:*:*:*:*:*:*:* Versions 4.0.3 Vulnerable ·Xfree86 Project
- cpe:2.3:a:xfree86_project:x11r6:4.1.0:*:*:*:*:*:*:* Versions 4.1.0 Vulnerable ·Xfree86 Project
- cpe:2.3:a:xfree86_project:x11r6:4.1.11:*:*:*:*:*:*:* Versions 4.1.11 Vulnerable ·Xfree86 Project
- cpe:2.3:a:xfree86_project:x11r6:4.1.12:*:*:*:*:*:*:* Versions 4.1.12 Vulnerable ·Xfree86 Project
Show 13 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xfree86_project:x11r6:4.2.0:*:*:*:*:*:*:* | 4.2.0 | Vulnerable | Xfree86 Project |
| cpe:2.3:a:xfree86_project:x11r6:4.2.1:*:*:*:*:*:*:* | 4.2.1 | Vulnerable | Xfree86 Project |
| cpe:2.3:a:xfree86_project:x11r6:4.2.1:*:errata:*:*:*:*:* | 4.2.1 | Vulnerable | Xfree86 Project |
| cpe:2.3:a:xfree86_project:x11r6:4.3.0:*:*:*:*:*:*:* | 4.3.0 | Vulnerable | Xfree86 Project |
| cpe:2.3:o:openbsd:openbsd:3.4:*:*:*:*:*:*:* | 3.4 | Vulnerable | OpenBSD |
| cpe:2.3:o:openbsd:openbsd:3.5:*:*:*:*:*:*:* | 3.5 | Vulnerable | OpenBSD |
| cpe:2.3:o:suse:suse_linux:8:*:enterprise_server:*:*:*:*:* | 8 | Vulnerable | SUSE |
| cpe:2.3:o:suse:suse_linux:8.1:*:*:*:*:*:*:* | 8.1 | Vulnerable | SUSE |
| cpe:2.3:o:suse:suse_linux:8.2:*:*:*:*:*:*:* | 8.2 | Vulnerable | SUSE |
| cpe:2.3:o:suse:suse_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | SUSE |
| cpe:2.3:o:suse:suse_linux:9.0:*:enterprise_server:*:*:*:*:* | 9.0 | Vulnerable | SUSE |
| cpe:2.3:o:suse:suse_linux:9.0:*:x86_64:*:*:*:*:* | 9.0 | Vulnerable | SUSE |
| cpe:2.3:o:suse:suse_linux:9.1:*:*:*:*:*:*:* | 9.1 | Vulnerable | SUSE |
- cpe:2.3:a:xfree86_project:x11r6:4.2.0:*:*:*:*:*:*:* Versions 4.2.0 Vulnerable ·Xfree86 Project
- cpe:2.3:a:xfree86_project:x11r6:4.2.1:*:*:*:*:*:*:* Versions 4.2.1 Vulnerable ·Xfree86 Project
- cpe:2.3:a:xfree86_project:x11r6:4.2.1:*:errata:*:*:*:*:* Versions 4.2.1 Vulnerable ·Xfree86 Project
- cpe:2.3:a:xfree86_project:x11r6:4.3.0:*:*:*:*:*:*:* Versions 4.3.0 Vulnerable ·Xfree86 Project
- cpe:2.3:o:openbsd:openbsd:3.4:*:*:*:*:*:*:* Versions 3.4 Vulnerable ·OpenBSD
- cpe:2.3:o:openbsd:openbsd:3.5:*:*:*:*:*:*:* Versions 3.5 Vulnerable ·OpenBSD
- cpe:2.3:o:suse:suse_linux:8:*:enterprise_server:*:*:*:*:* Versions 8 Vulnerable ·SUSE
- cpe:2.3:o:suse:suse_linux:8.1:*:*:*:*:*:*:* Versions 8.1 Vulnerable ·SUSE
- cpe:2.3:o:suse:suse_linux:8.2:*:*:*:*:*:*:* Versions 8.2 Vulnerable ·SUSE
- cpe:2.3:o:suse:suse_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·SUSE
- cpe:2.3:o:suse:suse_linux:9.0:*:enterprise_server:*:*:*:*:* Versions 9.0 Vulnerable ·SUSE
- cpe:2.3:o:suse:suse_linux:9.0:*:x86_64:*:*:*:*:* Versions 9.0 Vulnerable ·SUSE
- cpe:2.3:o:suse:suse_linux:9.1:*:*:*:*:*:*:* Versions 9.1 Vulnerable ·SUSE
Remediation
Red Hat 5 advisories
- RHSA-2008:0524 Released 2008-06-30 · Red Hat rating LowRed Hat Network Satellite Server security update
- Red Hat Satellite v 4.2 (RHEL v.3 AS) jabberd-2.0s10-3.37.rhn.i386, java-1.4.2-ibm-1.4.2.10-1jpp.2.el3.i386, java-1.4.2-ibm-devel-1.4.2.10-1jpp.2.el3.i386 +8
- Red Hat Satellite v 4.2 (RHEL v.4 AS) jabberd-2.0s10-3.38.rhn.i386, java-1.4.2-ibm-1.4.2.10-1jpp.2.el4.i386, java-1.4.2-ibm-devel-1.4.2.10-1jpp.2.el4.i386 +8
- RHSA-2005:004 Released 2005-01-12 · Red Hat rating Moderatelesstif security update
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1
- Red Hat Enterprise Linux ES version 2.1
- Red Hat Enterprise Linux WS version 2.1
- Red Hat Linux Advanced Workstation 2.1
- RHSA-2004:537 Released 2004-12-02 · Red Hat rating Importantopenmotif security update
- Red Hat Desktop version 3 openmotif-2.2.3-4.RHEL3.4, openmotif-2.2.3-4.RHEL3.4.i386, openmotif-devel-2.2.3-4.RHEL3.4 +3
- Red Hat Enterprise Linux AS version 3 openmotif-2.2.3-4.RHEL3.4, openmotif-2.2.3-4.RHEL3.4.i386, openmotif-2.2.3-4.RHEL3.4.ia64 +8
- Red Hat Enterprise Linux ES version 3 openmotif-2.2.3-4.RHEL3.4, openmotif-2.2.3-4.RHEL3.4.i386, openmotif-2.2.3-4.RHEL3.4.ia64 +6
- Red Hat Enterprise Linux WS version 3 openmotif-2.2.3-4.RHEL3.4, openmotif-2.2.3-4.RHEL3.4.i386, openmotif-2.2.3-4.RHEL3.4.ia64 +6
Show 2 more Red Hat advisories
- RHSA-2004:479 Released 2004-10-06 · Red Hat rating ModerateXFree86 security update
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1
- Red Hat Enterprise Linux ES version 2.1
- Red Hat Enterprise Linux WS version 2.1
- Red Hat Linux Advanced Workstation 2.1
- RHSA-2004:478 Released 2004-10-04 · Red Hat rating ModerateXFree86 security update
- Red Hat Desktop version 3 XFree86-100dpi-fonts-4.3.0-69.EL, XFree86-100dpi-fonts-4.3.0-69.EL.i386, XFree86-4.3.0-69.EL +47
- Red Hat Enterprise Linux AS version 3 XFree86-100dpi-fonts-4.3.0-69.EL, XFree86-100dpi-fonts-4.3.0-69.EL.i386, XFree86-100dpi-fonts-4.3.0-69.EL.ia64 +47
- Red Hat Enterprise Linux ES version 3 XFree86-100dpi-fonts-4.3.0-69.EL, XFree86-100dpi-fonts-4.3.0-69.EL.i386, XFree86-100dpi-fonts-4.3.0-69.EL.ia64 +47
- Red Hat Enterprise Linux WS version 3 XFree86-100dpi-fonts-4.3.0-69.EL, XFree86-100dpi-fonts-4.3.0-69.EL.i386, XFree86-100dpi-fonts-4.3.0-69.EL.ia64 +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2004:478, RHSA-2004:537 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2004:479 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2004:478, RHSA-2004:537 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2004:479 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2004:478, RHSA-2004:537 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2004:479 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2004:478, RHSA-2004:537 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2004:479 |
| Red Hat Satellite v 4.2 (RHEL v.3 AS) | Fixed | RHSA-2008:0524 |
| Red Hat Satellite v 4.2 (RHEL v.4 AS) | Fixed | RHSA-2008:0524 |
Timeline
- 2026-10-02 Threatist record created from CVE-2004-0687
- 2026-10-03 Alias added: GHSA-3r6w-5wg8-cf38
References
Advisory 14
Other 6
Sources
- CVE-2004-0687 · CVE Program
- CVE-2004-0687 · NVD
- FIRST EPSS
- GHSA-3r6w-5wg8-cf38 · GitHub Advisory Database · CC BY 4.0
- CVE-2004-0687 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences