{"id":"CVE-2005-0490","aliases":["CURL-CVE-2005-0490","DEBIAN-CVE-2005-0490","EUVD-2005-0491","GHSA-7mv6-r5f6-w598","RHSA-2005:340"],"status":"published","title":"Multiple stack-based buffer overflows in libcURL and cURL 7.12.1, and possibly other versions,...","description":"Multiple stack-based buffer overflows in libcURL and cURL 7.12.1, and possibly other versions, allow remote malicious web servers to execute arbitrary code via base64 encoded replies that exceed the intended buffer lengths when decoded, which is not properly handled by (1) the Curl_input_ntlm function in http_ntlm.c during NTLM authentication or (2) the Curl_krb_kauth and krb4_auth functions in krb4.c during Kerberos authentication.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.05732,"percentile":0.93102,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-131"],"published":"2005-02-21T05:00:00Z","modified":"2026-10-24T23:29:53Z","fixes":[{"ecosystem":"Debian:12","package":"curl","fixed_in":["7.13.0-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"curl","fixed_in":["7.13.0-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"curl","fixed_in":["7.13.0-2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"curl","fixed_in":["0:7.10.6-6.rhel3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"curl-debuginfo","fixed_in":["0:7.10.6-6.rhel3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"curl-devel","fixed_in":["0:7.10.6-6.rhel3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"curl","fixed_in":["0:7.10.6-6.rhel3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"curl-debuginfo","fixed_in":["0:7.10.6-6.rhel3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"curl-devel","fixed_in":["0:7.10.6-6.rhel3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"curl","fixed_in":["0:7.10.6-6.rhel3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"curl-debuginfo","fixed_in":["0:7.10.6-6.rhel3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"curl-devel","fixed_in":["0:7.10.6-6.rhel3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"curl","fixed_in":["0:7.10.6-6.rhel3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"curl-debuginfo","fixed_in":["0:7.10.6-6.rhel3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"curl-devel","fixed_in":["0:7.10.6-6.rhel3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"curl","fixed_in":["0:7.12.1-5.rhel4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"curl-debuginfo","fixed_in":["0:7.12.1-5.rhel4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::as","package":"curl-devel","fixed_in":["0:7.12.1-5.rhel4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"curl","fixed_in":["0:7.12.1-5.rhel4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"curl-debuginfo","fixed_in":["0:7.12.1-5.rhel4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"curl-devel","fixed_in":["0:7.12.1-5.rhel4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"curl","fixed_in":["0:7.12.1-5.rhel4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"curl-debuginfo","fixed_in":["0:7.12.1-5.rhel4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::es","package":"curl-devel","fixed_in":["0:7.12.1-5.rhel4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"curl","fixed_in":["0:7.12.1-5.rhel4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"curl-debuginfo","fixed_in":["0:7.12.1-5.rhel4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:4::ws","package":"curl-devel","fixed_in":["0:7.12.1-5.rhel4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"curl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.13.0-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"curl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.13.0-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"curl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.13.0-2"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"curl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.10.6-6.rhel3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"curl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.10.6-6.rhel3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"curl-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.10.6-6.rhel3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"curl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.10.6-6.rhel3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"curl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.10.6-6.rhel3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"curl-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.10.6-6.rhel3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"curl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.10.6-6.rhel3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"curl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.10.6-6.rhel3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"curl-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.10.6-6.rhel3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"curl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.10.6-6.rhel3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"curl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.10.6-6.rhel3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"curl-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.10.6-6.rhel3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"curl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.12.1-5.rhel4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"curl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.12.1-5.rhel4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"curl-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.12.1-5.rhel4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"curl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.12.1-5.rhel4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"curl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.12.1-5.rhel4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"curl-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.12.1-5.rhel4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"curl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.12.1-5.rhel4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"curl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.12.1-5.rhel4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"curl-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.12.1-5.rhel4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"curl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.12.1-5.rhel4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"curl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.12.1-5.rhel4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"curl-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:7.12.1-5.rhel4"}]}]}],"products":[{"vendor":"haxx","product":"curl"},{"vendor":"haxx","product":"libcurl"}],"references":[{"url":"http://marc.info/?l=full-disclosure\u0026m=110959085507755\u0026w=2","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Mailing List","Patch","article","fix"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000940","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred","Broken Link","Patch","Vendor Advisory","advisory","fix","web"]},{"url":"http://www.idefense.com/application/poi/display?id=202\u0026type=vulnerabilities","tags":["third-party-advisory","x_refsource_IDEFENSE","x_transferred","Broken Link","Vendor Advisory","advisory","web"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10273","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","Broken Link","web"]},{"url":"http://www.securityfocus.com/bid/12616","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"http://www.securityfocus.com/bid/12615","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19423","tags":["vdb-entry","x_refsource_XF","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.idefense.com/application/poi/display?id=203\u0026type=vulnerabilities","tags":["third-party-advisory","x_refsource_IDEFENSE","x_transferred","Broken Link","Vendor Advisory","advisory","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:048","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200503-20.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-340.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Broken Link","web"]},{"url":"http://www.novell.com/linux/security/advisories/2005_11_curl.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Broken Link","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-0490","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-7mv6-r5f6-w598"},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-0490","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:340","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=149322","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_340.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-0490","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617532","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-0490","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2005-0490","description":"Multiple stack-based buffer overflows in libcURL and cURL 7.12.1, and possibly other versions, allow remote malicious web servers to execute arbitrary code via base64 encoded replies that exceed the intended buffer lengths when decoded, which is not properly handled by (1) the Curl_input_ntlm function in http_ntlm.c during NTLM authentication or (2) the Curl_krb_kauth and krb4_auth functions in krb4.c during Kerberos authentication.","status":"published","published":"2005-02-21T05:00:00Z","modified":"2024-08-07T21:13:54.367Z","updated_at":"2026-11-02T14:33:40.578358Z"}],"euvd":[{"id":"EUVD-2005-0491","description":"Multiple stack-based buffer overflows in libcURL and cURL 7.12.1, and possibly other versions, allow remote malicious web servers to execute arbitrary code via base64 encoded replies that exceed the intended buffer lengths when decoded, which is not properly handled by (1) the Curl_input_ntlm function in http_ntlm.c during NTLM authentication or (2) the Curl_krb_kauth and krb4_auth functions in krb4.c during Kerberos authentication.","status":"published","published":"2005-02-21T05:00:00Z","modified":"2024-08-07T21:13:54Z","updated_at":"2026-11-03T01:15:38.189773Z"}],"ghsa":[{"id":"GHSA-7mv6-r5f6-w598","title":"Multiple stack-based buffer overflows in libcURL and cURL 7.12.1, and possibly other versions,...","description":"Multiple stack-based buffer overflows in libcURL and cURL 7.12.1, and possibly other versions, allow remote malicious web servers to execute arbitrary code via base64 encoded replies that exceed the intended buffer lengths when decoded, which is not properly handled by (1) the Curl_input_ntlm function in http_ntlm.c during NTLM authentication or (2) the Curl_krb_kauth and krb4_auth functions in krb4.c during Kerberos authentication.","status":"published","published":"2022-05-01T01:49:47Z","modified":"2024-02-10T05:08:05Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-131"],"updated_at":"2026-11-02T14:55:35.698137Z"}],"nvd":[{"id":"CVE-2005-0490","description":"Multiple stack-based buffer overflows in libcURL and cURL 7.12.1, and possibly other versions, allow remote malicious web servers to execute arbitrary code via base64 encoded replies that exceed the intended buffer lengths when decoded, which is not properly handled by (1) the Curl_input_ntlm function in http_ntlm.c during NTLM authentication or (2) the Curl_krb_kauth and krb4_auth functions in krb4.c during Kerberos authentication.","status":"published","published":"2005-05-02T04:00:00Z","modified":"2026-06-16T22:11:13.987Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-131"],"updated_at":"2026-11-02T14:00:54.933728Z"}],"osv":[{"id":"CVE-2005-0490","description":"Multiple stack-based buffer overflows in libcURL and cURL 7.12.1, and possibly other versions, allow remote malicious web servers to execute arbitrary code via base64 encoded replies that exceed the intended buffer lengths when decoded, which is not properly handled by (1) the Curl_input_ntlm function in http_ntlm.c during NTLM authentication or (2) the Curl_krb_kauth and krb4_auth functions in krb4.c during Kerberos authentication.","status":"published","published":"2005-05-02T04:00:00Z","modified":"2026-04-10T03:36:55.173793Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2005-0490","description":"Multiple stack-based buffer overflows in libcURL and cURL 7.12.1, and possibly other versions, allow remote malicious web servers to execute arbitrary code via base64 encoded replies that exceed the intended buffer lengths when decoded, which is not properly handled by (1) the Curl_input_ntlm function in http_ntlm.c during NTLM authentication or (2) the Curl_krb_kauth and krb4_auth functions in krb4.c during Kerberos authentication.","status":"published","published":"2005-05-02T04:00:00Z","modified":"2026-10-23T04:00:32.51209299Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:22.831407Z"},{"id":"CURL-CVE-2005-0490","title":"Authentication Buffer Overflows","description":"Due to bad usage of the base64 decode function to a stack-based buffer without\nchecking the data length, it was possible for a malicious HTTP server to\noverflow the client during NTLM negotiation and for an FTP server to overflow\nthe client during krb4 negotiation. The\n[announcement](http://www.idefense.com/application/poi/display?id=202) of this\nflaw was done without contacting us.","status":"published","published":"2005-02-21T08:00:00Z","modified":"2026-10-24T23:29:53Z","updated_at":"2026-11-02T15:43:55.669514Z"},{"id":"RHSA-2005:340","title":"Red Hat Security Advisory: curl security update","status":"published","published":"2024-09-15T15:21:46Z","modified":"2026-06-26T10:02:51Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
