{"id":"CVE-2012-1502","aliases":["DEBIAN-CVE-2012-1502","DSA-2430-1","EUVD-2012-1520","GHSA-5vgc-qp88-vfrj"],"status":"published","title":"Double free vulnerability in the PyPAM_conv in PAMmodule.c in PyPam 0.5.0 and earlier allows...","description":"Double free vulnerability in the PyPAM_conv in PAMmodule.c in PyPam 0.5.0 and earlier allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a NULL byte in a password string.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.14139,"percentile":0.96598,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-399"],"published":"2012-03-10T00:00:00Z","modified":"2026-10-23T17:47:36Z","exploits":[{"source":"exploitdb","id":"EDB-18579","title":"PyPAM Python bindings for PAM - Double-Free Corruption","type":"dos","platform":"linux","date":"2012-03-10","url":"https://www.exploit-db.com/exploits/18579"}],"fixes":[{"ecosystem":"Debian:12","package":"python-pam","fixed_in":["0.4.2-13"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-pam","fixed_in":["0.4.2-13"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-pam","fixed_in":["0.4.2-13"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"python-pam","fixed_in":["0.4.2-12.2+squeeze1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"python-pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.2-13"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.2-13"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.2-13"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"python-pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.2-12.2+squeeze1"}]}],"versions":["0.4.2-12.2"]}],"products":[{"vendor":"pypam","product":"pypam"}],"references":[{"url":"http://lists.opensuse.org/opensuse-updates/2012-04/msg00027.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://secunia.com/advisories/48312","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/48746","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://ubuntu.com/usn/usn-1395-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"http://www.osvdb.org/79892","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://www.lsexperts.de/advisories/lse-2012-03-01.txt","tags":["x_refsource_MISC","x_transferred","Exploit","evidence"]},{"url":"https://security.gentoo.org/glsa/201507-09","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/73857","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.debian.org/security/2012/dsa-2430","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/48332","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1502"},{"url":"https://github.com/advisories/GHSA-5vgc-qp88-vfrj"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-1502","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2012-1502","description":"Double free vulnerability in the PyPAM_conv in PAMmodule.c in PyPam 0.5.0 and earlier allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a NULL byte in a password string.","status":"published","published":"2012-06-16T00:00:00Z","modified":"2024-08-06T19:01:01.425Z","updated_at":"2026-11-02T14:34:51.937988Z"}],"euvd":[{"id":"EUVD-2012-1520","description":"Double free vulnerability in the PyPAM_conv in PAMmodule.c in PyPam 0.5.0 and earlier allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a NULL byte in a password string.","status":"published","published":"2012-06-16T00:00:00Z","modified":"2024-08-06T19:01:01Z","updated_at":"2026-11-03T01:56:17.940678Z"}],"ghsa":[{"id":"GHSA-5vgc-qp88-vfrj","title":"Double free vulnerability in the PyPAM_conv in PAMmodule.c in PyPam 0.5.0 and earlier allows...","description":"Double free vulnerability in the PyPAM_conv in PAMmodule.c in PyPam 0.5.0 and earlier allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a NULL byte in a password string.","status":"published","published":"2022-05-17T01:48:18Z","modified":"2023-02-03T05:05:24Z","updated_at":"2026-11-02T14:53:44.391187Z"}],"nvd":[{"id":"CVE-2012-1502","description":"Double free vulnerability in the PyPAM_conv in PAMmodule.c in PyPam 0.5.0 and earlier allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a NULL byte in a password string.","status":"published","published":"2012-06-16T00:55:06.327Z","modified":"2026-06-16T23:39:38.36Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-399"],"updated_at":"2026-11-02T14:02:14.336529Z"}],"osv":[{"id":"CVE-2012-1502","description":"Double free vulnerability in the PyPAM_conv in PAMmodule.c in PyPam 0.5.0 and earlier allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a NULL byte in a password string.","status":"published","published":"2012-06-16T00:55:06Z","modified":"2026-04-10T03:42:16.069396Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-1502","description":"Double free vulnerability in the PyPAM_conv in PAMmodule.c in PyPam 0.5.0 and earlier allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a NULL byte in a password string.","status":"published","published":"2012-06-16T00:55:06.327Z","modified":"2026-10-23T17:47:36.701378248Z","updated_at":"2026-11-02T15:45:24.92418Z"},{"id":"DSA-2430-1","title":"python-pam - double free","status":"published","published":"2012-03-10T00:00:00Z","modified":"2026-03-09T01:18:36.266583Z","updated_at":"2026-11-02T15:46:15.489951Z"}]}}
