Skip to content
WatchlistCritical

CVE-2004-0989Libxml Vulnerability

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…

Published Mar 1, 2005 · Updated Aug 4, 2026 · Also known as DEBIAN-CVE-2004-0989, DSA-582-1

Key Facts

Patch immediately
  • CVE-2004-0989 is a critical-severity vulnerability (CVSS 10.0 v2) affecting Libxml (Xmlsoft), Libxml2 (Xmlsoft), Command Line XML Toolkit (Xmlstarlet) and 4 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 22% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Libxml 1:1.8.17-9.2, Libxml 1.8.17-2woody2, Libxml2 0:2.5.10-7.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

Scores

CVSS v2

10.0

AV:N/AC:L/Au:N/C:C/I:C/A:C

EPSS (30-day exploit likelihood)

22%

Higher than 97.6% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

41/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Advisories And Exploit References

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.

Affected Products

33 affected entries in total
ProductAffected versionsFixed in
LibxmlXmlsoft1.8.171.8.17-2woody2
Libxml2Xmlsoft2.5.11, 2.6.11, 2.6.12, 2.6.13, 2.6.14, 2.6.6, 2.6.7, 2.6.82.6.11-5
Command Line XML ToolkitXmlstarlet0.9.1n/a
Fedora CoreRedhatcore_2.0n/a
Secure LinuxTrustix2.0, 2.1n/a
2 more affected products in the full CVE brief

Patched Releases

Libxml

1:1.8.17-9.2, 1.8.17-2woody2

Libxml2

0:2.5.10-7, 2.4.19-4woody2, 2.6.11-5

rootio-libxml2

2.6.11-5

Timeline

  1. Publicly disclosed

    Mar 1, 2005

  2. Last updated

    Aug 4, 2026

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2004-0989 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.