CVE-2004-1440 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code or cause denial of service via crafted SSH2 packets exploiting heap buffer overflows in PuTTY.

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

What is CVE-2004-1440?

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

Official description

Multiple heap-based buffer overflows in the modpow function in PuTTY before 0.55 allow (1) remote attackers to execute arbitrary code via an SSH2 packet with a base argument that is larger than the mod argument, which causes the modpow function to write memory before the beginning of its buffer, and (2) remote malicious servers to cause a denial of service (client crash) and possibly execute arbitrary code via a large bignum during authentication.

Which versions are affected by CVE-2004-1440?

It affects 1 product.

Products include Putty Putty.

How do I fix CVE-2004-1440?

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-2004-1440 being exploited?

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

Sources

Also known as DEBIAN-CVE-2004-1440, GHSA-8hpx-pjhm-89hr.

Is CVE-2004-1440 in your software?

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

Check your SBOMs for free