CVE-2015-9542

HIGHCVSS 7.5/10EPSS 3.45%

Last modified

CVE-2015-9542 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. add_password in pam_radius_auth.c in pam_radius 1.4.0 does not correctly check the length of the input password, and is vulnerable to a stack-based buffer overflow during memcpy(). An attacker could send a crafted password to an application (loading the pam_radius library) and crash it. EPSS estimates a 3.45% chance of exploitation in the next 30 days.

Description

add_password in pam_radius_auth.c in pam_radius 1.4.0 does not correctly check the length of the input password, and is vulnerable to a stack-based buffer overflow during memcpy(). An attacker could send a crafted password to an application (loading the pam_radius library) and crash it. Arbitrary code execution might be possible, depending on the application, C library, compiler, and other factors.

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Probability
3.45%

87.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
FreeradiusPam Radius1.4.0
DebianDebian Linux8.0
DebianDebian Linux9.0
CanonicalUbuntu Linux12.04
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
CanonicalUbuntu Linux19.10

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2015-9542?
add_password in pam_radius_auth.c in pam_radius 1.4.0 does not correctly check the length of the input password, and is vulnerable to a stack-based buffer overflow during memcpy(). An attacker could send a crafted password to an application (loading the pam_radius library) and crash it. Arbitrary code execution might be possible, depending on the application, C library, compiler, and other factors.
How severe is CVE-2015-9542?
CVE-2015-9542 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 3.45% probability of exploitation in the next 30 days.
How do I fix CVE-2015-9542?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2015-9542?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST