CVE-2005-0490 Memory corruption in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary code via stack-based buffer overflows in cURL's NTLM and Kerberos authentication handling.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2005-0490?

CVE-2005-0490 is a high-severity memory corruption vulnerability in Haxx Curl, published on 21 Feb 2005. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-131

Which versions are affected by CVE-2005-0490?

It affects 2 products.

Linux distribution packages (24)
curl Red Hat:enterprise_linux:3::asAll versions0:7.10.6-6.rhel3
curl-debuginfo Red Hat:enterprise_linux:3::asAll versions0:7.10.6-6.rhel3
curl-devel Red Hat:enterprise_linux:3::asAll versions0:7.10.6-6.rhel3
curl Red Hat:enterprise_linux:3::desktopAll versions0:7.10.6-6.rhel3
curl-debuginfo Red Hat:enterprise_linux:3::desktopAll versions0:7.10.6-6.rhel3
curl-devel Red Hat:enterprise_linux:3::desktopAll versions0:7.10.6-6.rhel3
curl Red Hat:enterprise_linux:3::esAll versions0:7.10.6-6.rhel3
curl-debuginfo Red Hat:enterprise_linux:3::esAll versions0:7.10.6-6.rhel3
curl-devel Red Hat:enterprise_linux:3::esAll versions0:7.10.6-6.rhel3
curl Red Hat:enterprise_linux:3::wsAll versions0:7.10.6-6.rhel3
curl-debuginfo Red Hat:enterprise_linux:3::wsAll versions0:7.10.6-6.rhel3
curl-devel Red Hat:enterprise_linux:3::wsAll versions0:7.10.6-6.rhel3
curl Red Hat:enterprise_linux:4::asAll versions0:7.12.1-5.rhel4
curl-debuginfo Red Hat:enterprise_linux:4::asAll versions0:7.12.1-5.rhel4
curl-devel Red Hat:enterprise_linux:4::asAll versions0:7.12.1-5.rhel4
curl Red Hat:enterprise_linux:4::desktopAll versions0:7.12.1-5.rhel4
curl-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:7.12.1-5.rhel4
curl-devel Red Hat:enterprise_linux:4::desktopAll versions0:7.12.1-5.rhel4
curl Red Hat:enterprise_linux:4::esAll versions0:7.12.1-5.rhel4
curl-debuginfo Red Hat:enterprise_linux:4::esAll versions0:7.12.1-5.rhel4
curl-devel Red Hat:enterprise_linux:4::esAll versions0:7.12.1-5.rhel4
curl Red Hat:enterprise_linux:4::wsAll versions0:7.12.1-5.rhel4
curl-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:7.12.1-5.rhel4
curl-devel Red Hat:enterprise_linux:4::wsAll versions0:7.12.1-5.rhel4

Products include Haxx Curl, Haxx Libcurl.

How do I fix CVE-2005-0490?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2005-0490 being exploited?

There is no known exploitation of CVE-2005-0490 in the wild and no public exploit code.

All Haxx Curl vulnerabilities

Sources

Also known as CURL-CVE-2005-0490, DEBIAN-CVE-2005-0490, GHSA-7mv6-r5f6-w598, RHSA-2005:340.

Is CVE-2005-0490 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free