Home / Xmlsoft / Libxml / CVE-2004-0989
CVE-2004-0989: is it exploited, and which versions of Xmlsoft Libxml are affected and fixed?
CVE-2004-0989 is a vulnerability in Xmlsoft Libxml. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: libxml 1.8.17, libxml2 2.5.11, libxml2 2.6.6 and 12 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (10.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
What is CVE-2004-0989?
Multiple buffer overflows in libXML 2.6.12 and 2.6.13 (libxml2), and possibly other versions, may allow remote attackers to execute arbitrary code via (1) a long FTP URL that is not properly handled by the xmlNanoFTPScanURL function, (2) a long proxy URL containing FTP data that is not properly handled by the xmlNanoFTPScanProxy function, and other overflows related to manipulation of DNS length values, including (3) xmlNanoFTPConnect, (4) xmlNanoHTTPConnectHost, and (5) xmlNanoHTTPConnectHost.
From the CVE record by mitre, last updated August 8, 2024, 00:38 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xmlsoft | libxml | 1.8.17 | application |
| xmlsoft | libxml2 | 2.5.11 | application |
| xmlsoft | libxml2 | 2.6.6 | application |
| xmlsoft | libxml2 | 2.6.7 | application |
| xmlsoft | libxml2 | 2.6.8 | application |
| xmlsoft | libxml2 | 2.6.9 | application |
| xmlsoft | libxml2 | 2.6.11 | application |
| xmlsoft | libxml2 | 2.6.12 | application |
| xmlsoft | libxml2 | 2.6.13 | application |
| xmlsoft | libxml2 | 2.6.14 | application |
| xmlstarlet | command line xml toolkit | 0.9.1 | application |
| redhat | fedora core | core_2.0 | operating system |
| trustix | secure linux | 2.0 | operating system |
| trustix | secure linux | 2.1 | operating system |
| ubuntu | ubuntu linux | 4.1 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:06 UTC.
How severe is CVE-2004-0989?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2004-0989 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 21.7% probability of exploitation activity in the next 30 days, percentile 97.7 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- APPLE-SA-2005-01-25 vendor-advisory, x_refsource_APPLE
- 20041026 libxml2 remote buffer overflows (not in xml parsing code though) mailing-list, x_refsource_BUGTRAQ
- P-029 third-party-advisory, government-resource, x_refsource_CIAC
- 11179 vdb-entry, x_refsource_OSVDB
- 1011941 vdb-entry, x_refsource_SECTRACK
- RHSA-2004:615 vendor-advisory, x_refsource_REDHAT
- 11526 vdb-entry, x_refsource_BID
- oval:org.mitre.oval:def:10505 vdb-entry, signature, x_refsource_OVAL
- libxml2-nanoftp-file-bo(17872) vdb-entry, x_refsource_XF
- RHSA-2004:650 vendor-advisory, x_refsource_REDHAT
- GLSA-200411-05 vendor-advisory, x_refsource_GENTOO
- CLA-2004:890 vendor-advisory, x_refsource_CONECTIVA
- 11324 vdb-entry, x_refsource_OSVDB
- SUSE-SR:2005:001 vendor-advisory, x_refsource_SUSE
- oval:org.mitre.oval:def:1173 vdb-entry, signature, x_refsource_OVAL
- USN-89-1 vendor-advisory, x_refsource_UBUNTU
- 13000 third-party-advisory, x_refsource_SECUNIA
- DSA-582 vendor-advisory, x_refsource_DEBIAN
- libxml2-xmlnanoftpscanurl-bo(17870) vdb-entry, x_refsource_XF
- libxml2-xmlnanoftpscanproxy-bo(17875) vdb-entry, x_refsource_XF
- 11180 vdb-entry, x_refsource_OSVDB
- libxml2-nanohttp-file-bo(17876) vdb-entry, x_refsource_XF
When was it published, and where is the official record?
- Reserved
- October 27, 2004
- Published
- October 28, 2004, 04:00 UTC
- CVE record updated
- August 8, 2024, 00:38 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:06 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libxml?
- Aug 14, 2015CVE-2015-1819 Debian Linux: XML entity expansion (billion laughs)
- Sep 2, 2011CVE-2011-1944 Xmlsoft Libxml2: n/a
- Aug 11, 2009CVE-2009-2416 Xmlsoft Libxml: use after free
- Aug 11, 2009CVE-2009-2414 Xmlsoft Libxml: memory corruption (buffer overflow)
- Nov 25, 2008CVE-2008-4226 Xmlsoft Libxml: n/a
- Nov 25, 2008CVE-2008-4225 Xmlsoft Libxml: n/a
- Mar 4, 2004CVE-2004-0110 Sgi Propack: n/a
Questions about CVE-2004-0989
Is CVE-2004-0989 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 21.7% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Xmlsoft Libxml are affected by CVE-2004-0989?
libxml 1.8.17, libxml2 2.5.11, libxml2 2.6.6, libxml2 2.6.7, libxml2 2.6.8, libxml2 2.6.9 and 9 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2004-0989?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2004-0989?
High (10.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2004-0989?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.