CVE-2005-3185 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code via a stack-based buffer overflow in libcurl when NTLM authentication is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2005-3185?

CVE-2005-3185 is a high-severity memory corruption vulnerability in n/a, published on 13 Oct 2005. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Stack-based buffer overflow in the ntlm_output function in http-ntlm.c for (1) wget 1.10, (2) curl 7.13.2, and (3) libcurl 7.13.2, and other products that use libcurl, when NTLM authentication is enabled, allows remote servers to execute arbitrary code via a long NTLM username.

Weakness: CWE-119

Which versions are affected by CVE-2005-3185?

It affects 3 products.

Linux distribution packages (16)
wget Red Hat:enterprise_linux:3::asAll versions0:1.10.2-0.30E
wget-debuginfo Red Hat:enterprise_linux:3::asAll versions0:1.10.2-0.30E
wget Red Hat:enterprise_linux:3::desktopAll versions0:1.10.2-0.30E
wget-debuginfo Red Hat:enterprise_linux:3::desktopAll versions0:1.10.2-0.30E
wget Red Hat:enterprise_linux:3::esAll versions0:1.10.2-0.30E
wget-debuginfo Red Hat:enterprise_linux:3::esAll versions0:1.10.2-0.30E
wget Red Hat:enterprise_linux:3::wsAll versions0:1.10.2-0.30E
wget-debuginfo Red Hat:enterprise_linux:3::wsAll versions0:1.10.2-0.30E
wget Red Hat:enterprise_linux:4::asAll versions0:1.10.2-0.40E
wget-debuginfo Red Hat:enterprise_linux:4::asAll versions0:1.10.2-0.40E
wget Red Hat:enterprise_linux:4::desktopAll versions0:1.10.2-0.40E
wget-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:1.10.2-0.40E
wget Red Hat:enterprise_linux:4::esAll versions0:1.10.2-0.40E
wget-debuginfo Red Hat:enterprise_linux:4::esAll versions0:1.10.2-0.40E
wget Red Hat:enterprise_linux:4::wsAll versions0:1.10.2-0.40E
wget-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:1.10.2-0.40E

Products include Curl Curl, Libcurl Libcurl, Wget Wget.

How do I fix CVE-2005-3185?

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-3185 being exploited?

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

Sources

Also known as CURL-CVE-2005-3185, DEBIAN-CVE-2005-3185, GHSA-pr2f-jh2p-p39m, RHSA-2005:812.

Is CVE-2005-3185 in your software?

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

Check your SBOMs for free