Skip to content
OpenAdvisories
Unscored Public exploit CVE-2004-0989 EUVD-2004-0987GHSA-mpv4-c8cf-72rm

Multiple buffer overflows in libXML 2.6.12 and 2.6.13 (libxml2), and possibly other versions, may allow remote attackers to execute arbitra…

Published Oct 28, 2004 · Updated Aug 8, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxml2 2.6.11-5 —
Debian 13 libxml2 2.6.11-5 —
Debian 12 libxml2 2.6.11-5 —
Debian 3.0 libxml 1.8.17-2woody2 DSA-582-1
Debian 3.0 libxml2 2.4.19-4woody2 DSA-582-1
ReleasePackageFixed inAdvisory
RHEL 3 libxml +1 1:1.8.17-9.2 RHSA-2004:650
RHEL 3 libxml2 +2 2.5.10-7 RHSA-2004:615

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References