cve.bz

CVE-2004-0687

no score yetEPSS 8.1%Fix available

No CVSS score yet. EPSS 8.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
8.1% (unchanged from 8.1% a week ago; 8.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2004-0687 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2004-0687?via=ask-ai-copy and https://cve.bz/cve/CVE-2004-0687?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2004-0687 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
x.org:x11r66.7.0
x.org:x11r66.8
xfree86_project:x11r63.3.6
xfree86_project:x11r64.0
xfree86_project:x11r64.0.1
xfree86_project:x11r64.0.2.11
xfree86_project:x11r64.0.3
xfree86_project:x11r64.1.0
xfree86_project:x11r64.1.11
xfree86_project:x11r64.1.12
xfree86_project:x11r64.2.0
xfree86_project:x11r64.2.1
xfree86_project:x11r64.3.0
openbsd:openbsd3.4
openbsd:openbsd3.5
suse:suse_linux8
suse:suse_linux8.1
suse:suse_linux8.2
suse:suse_linux9.0
suse:suse_linux9.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.0lesstif1-10.93.18-5DSA-560-1
Debian3.0xfree864.1.0-16woody4DSA-561-1
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 moreXFree86, XFree86-doc, XFree86-sdk and 27 more0:4.3.0-69.ELRHSA-2004:478
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 moreopenmotif, openmotif-devel, openmotif-debuginfo0:2.2.3-4.RHEL3.4RHSA-2004:537
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 moreopenmotif21, openmotif21-debuginfo0:2.1.30-9.RHEL3.4RHSA-2004:537
Red Hatnetwork_satellite:4.2::el3jabberd0:2.0s10-3.37.rhnRHSA-2008:0524
Red Hatnetwork_satellite:4.2::el3java-1.4.2-ibm, java-1.4.2-ibm-devel0:1.4.2.10-1jpp.2.el3RHSA-2008:0524
Red Hatnetwork_satellite:4.2::el3openmotif21, openmotif21-debuginfo0:2.1.30-9.RHEL3.8RHSA-2008:0524
Red Hatnetwork_satellite:4.2::el3perl-Crypt-CBC0:2.24-1.el3RHSA-2008:0524
Red Hatnetwork_satellite:4.2::el3rhn-apache0:1.3.27-36.rhn.rhel3RHSA-2008:0524
Red Hatnetwork_satellite:4.2::el3rhn-modjk-ap130:1.2.23-2rhn.rhel3RHSA-2008:0524
Red Hatnetwork_satellite:4.2::el3rhn-modperl0:1.29-16.rhel3RHSA-2008:0524
Red Hatnetwork_satellite:4.2::el3rhn-modssl0:2.8.12-8.rhn.10.rhel3RHSA-2008:0524
Red Hatnetwork_satellite:4.2::el3, network_satellite:4.2::el4jfreechart0:0.9.20-3.rhnRHSA-2008:0524
9 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 3XFree86-0:4.3.0-69.ELFixed 2004-10-04RHSA-2004:478
Red Hat Enterprise Linux 3openmotif-0:2.2.3-4.RHEL3.4Fixed 2004-12-02RHSA-2004:537
Red Hat Enterprise Linux 3openmotif21-0:2.1.30-9.RHEL3.4Fixed 2004-12-02RHSA-2004:537
Red Hat Enterprise Linux AS (Advanced Server) version 2.1Fixed 2004-10-06RHSA-2004:479
Red Hat Enterprise Linux AS (Advanced Server) version 2.1Fixed 2005-01-12RHSA-2005:004
Red Hat Enterprise Linux ES version 2.1Fixed 2004-10-06RHSA-2004:479
Red Hat Enterprise Linux ES version 2.1Fixed 2005-01-12RHSA-2005:004
Red Hat Enterprise Linux WS version 2.1Fixed 2004-10-06RHSA-2004:479
Red Hat Enterprise Linux WS version 2.1Fixed 2005-01-12RHSA-2005:004
Red Hat Linux Advanced Workstation 2.1Fixed 2004-10-06RHSA-2004:479
Red Hat Linux Advanced Workstation 2.1Fixed 2005-01-12RHSA-2005:004
Red Hat Network Satellite Server v 4.2jabberd-0:2.0s10-3.38.rhnFixed 2008-06-30RHSA-2008:0524
Red Hat Network Satellite Server v 4.2java-1.4.2-ibm-0:1.4.2.10-1jpp.2.el4Fixed 2008-06-30RHSA-2008:0524
Red Hat Network Satellite Server v 4.2jfreechart-0:0.9.20-3.rhnFixed 2008-06-30RHSA-2008:0524
Red Hat Network Satellite Server v 4.2openmotif21-0:2.1.30-11.RHEL4.6Fixed 2008-06-30RHSA-2008:0524
Red Hat Network Satellite Server v 4.2perl-Crypt-CBC-0:2.24-1.el4Fixed 2008-06-30RHSA-2008:0524
Red Hat Network Satellite Server v 4.2rhn-apache-0:1.3.27-36.rhn.rhel4Fixed 2008-06-30RHSA-2008:0524
Red Hat Network Satellite Server v 4.2rhn-modjk-0:1.2.23-2rhn.rhel4Fixed 2008-06-30RHSA-2008:0524
Red Hat Network Satellite Server v 4.2rhn-modperl-0:1.29-16.rhel4Fixed 2008-06-30RHSA-2008:0524
Red Hat Network Satellite Server v 4.2rhn-modssl-0:2.8.12-8.rhn.10.rhel4Fixed 2008-06-30RHSA-2008:0524
11 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2004-0687.

References

Check your stackJSON