CVE-2015-9542

NameCVE-2015-9542
Descriptionadd_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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2116-1, DLA-2304-1
Debian Bugs951396

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libpam-radius-auth (PTS)buster1.4.0-3~deb10u1fixed
bookworm, bullseye2.0.0-1fixed
sid, trixie2.0.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libpam-radius-authsourcejessie1.3.16-4.4+deb8u1DLA-2116-1
libpam-radius-authsourcestretch1.3.16-5+deb9u1DLA-2304-1
libpam-radius-authsourcebuster1.4.0-3~deb10u1
libpam-radius-authsource(unstable)1.4.0-3951396

Notes

https://github.com/FreeRADIUS/pam_radius/commit/01173ec
https://github.com/FreeRADIUS/pam_radius/commit/6bae92d
https://github.com/FreeRADIUS/pam_radius/commit/ac2c1677
https://bugzilla.redhat.com/show_bug.cgi?id=1686980

Search for package or bug name: Reporting problems