CVE-2004-0687 json
Multiple stack-based buffer overflows in (1) xpmParseColors in parse.c, (2) ParseAndPutPixels in create.c, and (3) ParsePixels in parse.c f…
published 2004-09-24 22 y ago modified 2026-06-16 4 mo ago also EUVD-2004-0686
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 8.1%
- EPSS 8.1% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
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.
Patch / fix
- openmotif RHEL 3 2.2.3-4.RHEL3.4
- openmotif21 RHEL 3 2.1.30-9.RHEL3.4
- jabberd network satellite 4.2 2.0s10-3.37.rhn
- jabberd network satellite 4.2 2.0s10-3.38.rhn
- tomcat5 network satellite 4.2 5.0.30-0jpp_10rh
- jfreechart network satellite 4.2 0.9.20-3.rhn
- rhn-apache network satellite 4.2 1.3.27-36.rhn.rhel3
- rhn-apache network satellite 4.2 1.3.27-36.rhn.rhel4
red hat advisories RHSA-2004:537RHSA-2008:0524RHSA-2004:478
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2004-0687 updated
openmotif21 stack overflows in libxpm
-
Red Hat Desktop version 3 XFree86 4.3.0-69.EL, XFree86-sdk 4.3.0-69.EL, XFree86-twm 4.3.0-69.EL, XFree86-xdm 4.3.0-69.EL, XFree86-xfs 4.3.0-69.EL, XFree86-libs 4.3.0-69.EL, +24 more Red Hat Enterprise Linux AS version 3 XFree86 4.3.0-69.EL, XFree86-sdk 4.3.0-69.EL, XFree86-twm 4.3.0-69.EL, XFree86-xdm 4.3.0-69.EL, XFree86-xfs 4.3.0-69.EL, XFree86-libs 4.3.0-69.EL, +24 morefixed: vendor fix RHSA-2004:478
-
Red Hat Enterprise Linux ES version 2.1fixed: vendor fix RHSA-2004:479
-
Red Hat Enterprise Linux ES version 3 XFree86 4.3.0-69.EL, XFree86-sdk 4.3.0-69.EL, XFree86-twm 4.3.0-69.EL, XFree86-xdm 4.3.0-69.EL, XFree86-xfs 4.3.0-69.EL, XFree86-libs 4.3.0-69.EL, +24 morefixed: vendor fix RHSA-2004:478
-
Red Hat Enterprise Linux WS version 2.1fixed: vendor fix RHSA-2004:479
-
Red Hat Enterprise Linux WS version 3 XFree86 4.3.0-69.EL, XFree86-sdk 4.3.0-69.EL, XFree86-twm 4.3.0-69.EL, XFree86-xdm 4.3.0-69.EL, XFree86-xfs 4.3.0-69.EL, XFree86-libs 4.3.0-69.EL, +24 morefixed: vendor fix RHSA-2004:478
-
Red Hat Linux Advanced Workstation 2.1fixed: vendor fix RHSA-2004:479
-
Red Hat Satellite v 4.2 (RHEL v.3 AS) jabberd 2.0s10-3.37.rhn, jfreechart 0.9.20-3.rhn, tomcat5 5.0.30-0jpp_10rh, perl-Crypt-CBC 2.24-1.el3, rhn-modperl 1.29-16.rhel3, openmotif21 2.1.30-9.RHEL3.8, +4 more Red Hat Satellite v 4.2 (RHEL v.4 AS) jabberd 2.0s10-3.38.rhn, jfreechart 0.9.20-3.rhn, tomcat5 5.0.30-0jpp_10rh, perl-Crypt-CBC 2.24-1.el4, rhn-modperl 1.29-16.rhel4, openmotif21 2.1.30-11.RHEL4.6, +4 morefixed: vendor fix RHSA-2008:0524
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
8.05% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
References
-
securityfocus.com
/bid/11196
vdb-entry, patch, vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-004.html
vendor-advisory
-
usn.ubuntu.com
/27-1/
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200409-34.xml
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2004:098
vendor-advisory
-
securityfocus.com
/archive/1/434715/100/0/threaded
vendor-advisory
-
redhat.com
/support/errata/RHSA-2004-537.html
vendor-advisory
-
debian.org
/security/2004/dsa-560
vendor-advisory
-
lists.apple.com
/archives/security-announce/2005/May/msg00001.html
vendor-advisory
-
distro.conectiva.com.br
/atualizacoes/?id=a&anuncio=000924
vendor-advisory
-
novell.com
/linux/security/advisories/2004_34_xfree86_libs_xshared.html
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200502-07.xml
vendor-advisory
-
redhat.com
/archives/fedora-legacy-announce/2006-January/msg00001.html
vendor-advisory
-
sunsolve.sun.com
/search/document.do?assetkey=1-26-57653-1
vendor-advisory
-
vupen.com
/english/advisories/2006/1914
vdb-entry
-
kb.cert.org
/vuls/id/882750
third-party-advisory, us-government-resource
-
us-cert.gov
/cas/techalerts/TA05-136A.html
third-party-advisory, us-government-resource
-
marc.info
/?l=bugtraq&m=109530851323415&w=2
mailing-list
- scary.beasts.org /security/CESA-2004-003.txt
- ftp.x.org /pub/X11R6.8.0/patches/README.xorg-CAN-2004-0687-0688.patch
-
secunia.com
/advisories/20235
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9187
vdb-entry, signature
-
exchange.xforce.ibmcloud.com
/vulnerabilities/17414
vdb-entry
- packetstormsecurity.com /files/170620/Solaris-10-dtprintinfo-libXm-libXpm-Security-Issues.html
Sources
- CVE List CVE-2004-0687
- NVD CVE-2004-0687
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.