cve.bz

CVE-2015-9542 Out-of-bounds Write

7.5 highEPSS 3.5%Fix available

High (7.5). EPSS 3.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.5% (unchanged from 3.5% a week ago; 3.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-9542 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-9542?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-9542?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-9542 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
freeradius:pam_radius1.4.0
debian:debian_linux8.0
debian:debian_linux9.0
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libpam-radius-auth1.3.16-4.4+deb8u1DLA-2116-1
Debian9libpam-radius-auth1.3.16-5+deb9u1DLA-2304-1
Debian12, 13, 14libpam-radius-auth1.4.0-3DEBIAN-CVE-2015-9542
Ubuntu16.04:LTSlibpam-radius-auth1.3.17-0ubuntu4.1UBUNTU-CVE-2015-9542 USN-4290-1
Ubuntu18.04:LTSlibpam-radius-auth1.3.17-0ubuntu5.18.04.1UBUNTU-CVE-2015-9542 USN-4290-1
UbuntuPro:14.04:LTSlibpam-radius-auth1.3.17-0ubuntu4+esm1UBUNTU-CVE-2015-9542 USN-4290-2
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP1-LTSS and 14 morepam_radius1.3.16-239.4.1SUSE-SU-2020:1117-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 12 morepam_radius1.4.0-3.3.1SUSE-SU-2021:1896-1
openSUSELeap 15.2pam_radius1.4.0-lp152.4.3.1openSUSE-SU-2021:0870-1
openSUSELeap 15.3pam_radius1.4.0-3.3.1openSUSE-SU-2021:1896-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

As shipped in epel-6, the gcc compiler opts for __memcpy_chk() [with the correct buffer length] to ensure that there is a crash instead of an an overflow. Thus it is believed that only a Deianl of Service can be triggered using this flaw.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-9542.

References

Check your stackJSON