CVE-2015-9542: Buffer Overflow

Published Mar 8, 2019
·
Updated

A vulnerability was found in pamradius : the password length check was done incorrectly in the addpassword() function, resulting in a stack based buffer overflow.

This could be used to crash (DoS) an application using the PAM stack for authentication.

Other sources

addpassword in pamradiusauth.c in pamradius 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 pamradius library) and crash it. Arbitrary code execution might be possible, depending on the application, C library, compiler, and other factors.

Launchpad

Affected Software

10 affected componentsFixes available
redhat/pam_radius<2.0.0
2.0.0
FreeRADIUS Pam Radius=1.4.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.10
debian/libpam-radius-auth
2.0.0-13.0.0-1

Event History

Feb 24, 2020
CVE Published
via MITRE·02:14 PM
Data Sourced
via MITRE·02:14 PM
Description
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:13 PM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·12:29 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·12:30 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2015-9542?

CVE-2015-9542 has been classified as a moderate severity vulnerability due to the potential for denial of service (DoS) through a stack-based buffer overflow.

2

How do I fix CVE-2015-9542?

To fix CVE-2015-9542, update pam_radius to version 2.0.0 or later for Red Hat systems, or libpam-radius-auth to the appropriate patched version for Ubuntu or Debian systems.

3

Which versions are affected by CVE-2015-9542?

CVE-2015-9542 affects versions of pam_radius prior to 2.0.0 and libpam-radius-auth versions prior to their respective patched releases in Ubuntu and Debian.

4

What impact does CVE-2015-9542 have on applications?

CVE-2015-9542 can lead to crashes of applications using the PAM stack for authentication, resulting in a denial of service condition.

5

Is CVE-2015-9542 exploitable remotely?

Yes, CVE-2015-9542 can be exploited remotely if an attacker can authenticate against a system using the vulnerable PAM configuration.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203