CVE-2004-0989 in Redhat Fedora Core and 5 more products
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 xmlNan...
Affects 6 products from 5 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Fedora Core | core_2.0 |
| Trustix | Secure Linux | 2.0 2.1 |
| Ubuntu | Ubuntu Linux | 4.1 |
| Xmlsoft | Libxml2 | 2.5.11 2.6.6 2.6.7 2.6.8 2.6.9 2.6.11+3 more2.6.12 2.6.13 2.6.14 |
| Xmlsoft | Libxml | 1.8.17 |
| Xmlstarlet | Command Line Xml Toolkit | 0.9.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-0989 |
|---|---|
| BreachSpider ID | BS-2005-GLOBAL-159019-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2005-03-01 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
Multiple buffer overflows in libXML 2.6.12 and 2.6.13 (libxml2) allow remote attackers to execute arbitrary code through various URL manipulations.
The vulnerabilities are triggered by long FTP URLs and proxy URLs containing FTP data that are not properly handled by the xmlNanoFTPScanURL and xmlNanoFTPScanProxy functions, respectively. Additionally, there are other overflows related to DNS length manipulation.
Questions
What is CVE-2004-0989?
Multiple buffer overflows in libXML 2.6.12 and 2.6.13 (libxml2) allow remote attackers to execute arbitrary code through various URL manipulations.
What is the CVSS score for CVE-2004-0989?
CVE-2004-0989 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 21.7%.
Is CVE-2004-0989 actively exploited?
Public exploit available for CVE-2004-0989. Exploitation risk elevated.
How do I remediate CVE-2004-0989?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2004-0989?
CVE-2004-0989 affects Redhat Fedora Core; Trustix Secure Linux; Ubuntu Ubuntu Linux; Xmlsoft Libxml2, Libxml; Xmlstarlet Command Line Xml Toolkit.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Redhat","product":"Fedora Core","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.