CVE-2012-1502 Use after free in n/a

High 7.5 Published Updated

Remote attackers can cause a crash or execute arbitrary code via a double free vulnerability in the PyPam library when processing passwords.

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

What is CVE-2012-1502?

CVE-2012-1502 is a high-severity use after free vulnerability in n/a, published on 16 Jun 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Double free vulnerability in the PyPAM_conv in PAMmodule.c in PyPam 0.5.0 and earlier allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a NULL byte in a password string.

Weakness: CWE-399

Which versions are affected by CVE-2012-1502?

It affects 1 product.

Products include Pypam Pypam.

How do I fix CVE-2012-1502?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2012-1502 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2012-1502, DSA-2430-1, GHSA-5vgc-qp88-vfrj.

Is CVE-2012-1502 in your software?

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

Check your SBOMs for free