{"id":"CVE-2004-0989","aliases":["DEBIAN-CVE-2004-0989","DSA-582-1","EUVD-2004-0987","GHSA-mpv4-c8cf-72rm","RHSA-2004:615","RHSA-2004:650"],"status":"published","title":"Multiple buffer overflows in libXML 2.6.12 and 2.6.13 (libxml2), and possibly other versions, may...","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.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.21686,"percentile":0.97648,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2004-10-28T04:00:00Z","modified":"2026-10-21T15:47:33Z","exploits":[{"source":"exploitdb","id":"EDB-24704","title":"Libxml2 - Multiple Remote Stack Buffer Overflow Vulnerabilities","type":"remote","platform":"linux","date":"2004-10-26","verified":true,"url":"https://www.exploit-db.com/exploits/24704"}],"fixes":[{"ecosystem":"Debian:12","package":"libxml2","fixed_in":["2.6.11-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libxml2","fixed_in":["2.6.11-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libxml2","fixed_in":["2.6.11-5"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"libxml","fixed_in":["1.8.17-2woody2"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"libxml2","fixed_in":["2.4.19-4woody2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"libxml2","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"libxml2-debuginfo","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"libxml2-devel","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"libxml2-python","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libxml2","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libxml2-debuginfo","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libxml2-devel","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libxml2-python","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"libxml2","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"libxml2-debuginfo","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"libxml2-devel","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"libxml2-python","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libxml2","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libxml2-debuginfo","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libxml2-devel","fixed_in":["0:2.5.10-7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libxml2-python","fixed_in":["0:2.5.10-7"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libxml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.11-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libxml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.11-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libxml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.11-5"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"libxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.17-2woody2"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"libxml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.19-4woody2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"libxml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"libxml2-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"libxml2-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"libxml2-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libxml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libxml2-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libxml2-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libxml2-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"libxml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"libxml2-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"libxml2-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"libxml2-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libxml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libxml2-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libxml2-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libxml2-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.10-7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"libxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.8.17-9.2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"libxml-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.8.17-9.2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"libxml-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.8.17-9.2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.8.17-9.2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libxml-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.8.17-9.2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"libxml-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.8.17-9.2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"libxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.8.17-9.2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"libxml-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.8.17-9.2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"libxml-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.8.17-9.2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.8.17-9.2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libxml-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.8.17-9.2"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"libxml-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.8.17-9.2"}]}],"bundled":2}],"products":[{"vendor":"redhat","product":"fedora_core"},{"vendor":"trustix","product":"secure_linux"},{"vendor":"ubuntu","product":"ubuntu_linux"},{"vendor":"xmlsoft","product":"libxml"},{"vendor":"xmlsoft","product":"libxml2"},{"vendor":"xmlstarlet","product":"command_line_xml_toolkit"}],"references":[{"url":"http://lists.apple.com/archives/security-announce/2005/Jan/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://marc.info/?l=bugtraq\u0026m=109880813013482\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.ciac.org/ciac/bulletins/p-029.shtml","tags":["third-party-advisory","government-resource","x_refsource_CIAC","x_transferred","web"]},{"url":"http://www.osvdb.org/11179","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://securitytracker.com/id?1011941","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-615.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/11526","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","Patch","Vendor Advisory","advisory","evidence","fix"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10505","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17872","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-650.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200411-05.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","web"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000890","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred","web"]},{"url":"http://www.osvdb.org/11324","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://www.novell.com/linux/security/advisories/2005_01_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1173","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"https://www.ubuntu.com/usn/usn-89-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/13000","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.debian.org/security/2004/dsa-582","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17870","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17875","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.osvdb.org/11180","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17876","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0989","tags":["advisory"]},{"url":"https://www.ubuntu.com/usn/usn-89-1"},{"url":"https://github.com/advisories/GHSA-mpv4-c8cf-72rm"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0989","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2004:615","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"http://www.securityfocus.com/archive/1/379383/2004-10-24/2004-10-30/0","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=137264","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_615.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0989","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=430645","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0989","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2004:650","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=139090","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_650.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0110","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=430644","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0110","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0110","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0989","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.","status":"published","published":"2004-10-28T04:00:00Z","modified":"2024-08-08T00:38:59.682Z","updated_at":"2026-11-02T14:34:54.758165Z"}],"euvd":[{"id":"EUVD-2004-0987","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.","status":"published","published":"2004-10-28T04:00:00Z","modified":"2024-08-08T00:38:59Z","updated_at":"2026-11-03T01:15:17.239417Z"}],"ghsa":[{"id":"GHSA-mpv4-c8cf-72rm","title":"Multiple buffer overflows in libXML 2.6.12 and 2.6.13 (libxml2), and possibly other versions, may...","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.","status":"published","published":"2022-04-29T02:58:45Z","modified":"2025-04-03T04:08:22Z","updated_at":"2026-11-02T15:00:41.179225Z"}],"nvd":[{"id":"CVE-2004-0989","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.","status":"published","published":"2005-03-01T05:00:00Z","modified":"2026-06-16T22:06:48.177Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:53.662124Z"}],"osv":[{"id":"CVE-2004-0989","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.","status":"published","published":"2005-03-01T05:00:00Z","modified":"2026-04-10T03:36:29.252469Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-0989","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.","status":"published","published":"2005-03-01T05:00:00Z","modified":"2026-10-21T15:47:33.068008075Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-582-1","title":"libxml - buffer overflow","status":"published","published":"2004-11-02T00:00:00Z","modified":"2026-03-09T02:08:53.188284Z","updated_at":"2026-11-02T15:46:17.892347Z"},{"id":"RHSA-2004:615","title":"Red Hat Security Advisory: libxml2 security update","status":"published","published":"2024-09-15T14:58:06Z","modified":"2026-06-26T10:01:46Z","updated_at":"2026-11-02T15:52:59.135214Z"},{"id":"RHSA-2004:650","title":"Red Hat Security Advisory: libxml security update","status":"published","published":"2024-09-17T01:14:43Z","modified":"2026-06-26T10:01:49Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
