{"id":"UBUNTU-CVE-2015-9542","details":"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.","modified":"2026-02-04T03:44:50.377354Z","published":"2015-12-31T00:00:00Z","related":["USN-4290-1","USN-4290-2"],"upstream":["CVE-2015-9542"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-9542"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4290-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4290-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2015-9542"}],"affected":[{"package":{"name":"libpam-radius-auth","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libpam-radius-auth@1.3.17-0ubuntu4+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.17-0ubuntu4+esm1"}]}],"versions":["1.3.17-0ubuntu4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libpam-radius-auth","binary_version":"1.3.17-0ubuntu4+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-9542.json"}},{"package":{"name":"libpam-radius-auth","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libpam-radius-auth@1.3.17-0ubuntu4.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.17-0ubuntu4.1"}]}],"versions":["1.3.17-0ubuntu4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libpam-radius-auth","binary_version":"1.3.17-0ubuntu4.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-9542.json"}},{"package":{"name":"libpam-radius-auth","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libpam-radius-auth@1.3.17-0ubuntu5.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.17-0ubuntu5.18.04.1"}]}],"versions":["1.3.17-0ubuntu5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libpam-radius-auth","binary_version":"1.3.17-0ubuntu5.18.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-9542.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}