CVE-2003-0787 Memory corruption in n/a

High 7.5 Published Updated

Attackers can exploit a memory corruption flaw in OpenSSH's PAM conversation function to modify the stack and potentially gain elevated privileges.

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

What is CVE-2003-0787?

CVE-2003-0787 is a high-severity memory corruption vulnerability in OpenSSH, published on 25 Sep 2003. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The PAM conversation function in OpenSSH 3.7.1 and 3.7.1p1 interprets an array of structures as an array of pointers, which allows attackers to modify the stack and possibly gain privileges.

Which versions are affected by CVE-2003-0787?

It affects 1 product.

Products include OpenSSH.

How do I fix CVE-2003-0787?

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-2003-0787 being exploited?

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

All OpenSSH vulnerabilities

Sources

Also known as DEBIAN-CVE-2003-0787, GHSA-jmj3-c2mm-6fgh.

Is CVE-2003-0787 in your software?

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

Check your SBOMs for free