# CVE-2015-9542: libpam-radius-auth: add_password in pam_radius_auth.c in pam_radius 1.4.0 does not correctly check the length of the input password, and...

CVE-2015-9542 is fixed in libpam-radius-auth on 1 platform by libpam-radius-auth 1.3.17-0ubuntu5.18.04.1 (version 1.3.17-0ubuntu5.18.04.1), released December 30, 2015. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2015-9542
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0347
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 30, 2015

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libpam-radius-auth Ubuntu 18.04.6 LTS (bionic) | 1.3.17-0ubuntu5.18.04.1 | [libpam-radius-auth 1.3.17-0ubuntu5.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libpam-radius-auth-1.3.17-0ubuntu5.18.04.1.md) | Dec 30, 2015 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
