Skip to content
Fencer Vulns
high 7.5

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 more
    fixed: vendor fix RHSA-2004:478
  • Red Hat Enterprise Linux ES version 2.1
    fixed: 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 more
    fixed: vendor fix RHSA-2004:478
  • Red Hat Enterprise Linux WS version 2.1
    fixed: 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 more
    fixed: vendor fix RHSA-2004:478
  • Red Hat Linux Advanced Workstation 2.1
    fixed: 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 more
    fixed: 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

Sources

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.