{"api_version":"1","generated_at":"2026-07-22T22:27:45+00:00","cve":"CVE-2012-1502","urls":{"html":"https://cve.report/CVE-2012-1502","api":"https://cve.report/api/cve/CVE-2012-1502.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-1502","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-1502"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2012-06-16 00:55:06","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-399","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"https://security.gentoo.org/glsa/201507-09","name":"https://security.gentoo.org/glsa/201507-09","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PyPAM: Arbitrary code execution (GLSA 201507-09) — Gentoo Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://ubuntu.com/usn/usn-1395-1","name":"http://ubuntu.com/usn/usn-1395-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-1395-1: PyPAM vulnerability | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/48746","name":"http://secunia.com/advisories/48746","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Security Advisory SA48746 - SUSE update for python-pam - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2012/dsa-2430","name":"http://www.debian.org/security/2012/dsa-2430","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-2430-1 python-pam","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/73857","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/73857","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.osvdb.org/79892","name":"http://www.osvdb.org/79892","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://secunia.com/advisories/48312","name":"http://secunia.com/advisories/48312","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Security Advisory SA48312 - Debian update for python-pam - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/48332","name":"http://secunia.com/advisories/48332","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Security Advisory SA48332 - Ubuntu update for python-pam - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.lsexperts.de/advisories/lse-2012-03-01.txt","name":"http://www.lsexperts.de/advisories/lse-2012-03-01.txt","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"Startseite","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-updates/2012-04/msg00027.html","name":"http://lists.opensuse.org/opensuse-updates/2012-04/msg00027.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"openSUSE-SU-2012:0487-1: update for python-pam","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-1502","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1502","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"1502","vulnerable":"1","versionEndIncluding":"0.5.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"pypam","cpe5":"pypam","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T19:01:01.425Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"openSUSE-SU-2012:0487","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-updates/2012-04/msg00027.html"},{"name":"48312","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/48312"},{"name":"48746","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/48746"},{"name":"USN-1395-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://ubuntu.com/usn/usn-1395-1"},{"name":"79892","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/79892"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.lsexperts.de/advisories/lse-2012-03-01.txt"},{"name":"GLSA-201507-09","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"https://security.gentoo.org/glsa/201507-09"},{"name":"pypam-password-dos(73857)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/73857"},{"name":"DSA-2430","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2012/dsa-2430"},{"name":"48332","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/48332"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-03-10T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"openSUSE-SU-2012:0487","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-updates/2012-04/msg00027.html"},{"name":"48312","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/48312"},{"name":"48746","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/48746"},{"name":"USN-1395-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://ubuntu.com/usn/usn-1395-1"},{"name":"79892","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/79892"},{"tags":["x_refsource_MISC"],"url":"http://www.lsexperts.de/advisories/lse-2012-03-01.txt"},{"name":"GLSA-201507-09","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"https://security.gentoo.org/glsa/201507-09"},{"name":"pypam-password-dos(73857)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/73857"},{"name":"DSA-2430","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2012/dsa-2430"},{"name":"48332","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/48332"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2012-1502","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"openSUSE-SU-2012:0487","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-updates/2012-04/msg00027.html"},{"name":"48312","refsource":"SECUNIA","url":"http://secunia.com/advisories/48312"},{"name":"48746","refsource":"SECUNIA","url":"http://secunia.com/advisories/48746"},{"name":"USN-1395-1","refsource":"UBUNTU","url":"http://ubuntu.com/usn/usn-1395-1"},{"name":"79892","refsource":"OSVDB","url":"http://www.osvdb.org/79892"},{"name":"http://www.lsexperts.de/advisories/lse-2012-03-01.txt","refsource":"MISC","url":"http://www.lsexperts.de/advisories/lse-2012-03-01.txt"},{"name":"GLSA-201507-09","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201507-09"},{"name":"pypam-password-dos(73857)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/73857"},{"name":"DSA-2430","refsource":"DEBIAN","url":"http://www.debian.org/security/2012/dsa-2430"},{"name":"48332","refsource":"SECUNIA","url":"http://secunia.com/advisories/48332"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2012-1502","datePublished":"2012-06-16T00:00:00.000Z","dateReserved":"2012-03-07T00:00:00.000Z","dateUpdated":"2024-08-06T19:01:01.425Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-06-16 00:55:06","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-399","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:pypam:pypam:*:*:*:*:*:*:*:*","versionEndIncluding":"0.5.0","matchCriteriaId":"AAF62524-55DB-436C-891D-824C31BC7E26"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"1502","Ordinal":"1","Title":"CVE-2012-1502","CVE":"CVE-2012-1502","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"1502","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2012-1502"},{"CveYear":"2012","CveId":"1502","Ordinal":"2","NoteData":"2012-06-15","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"1502","Ordinal":"3","NoteData":"2017-08-28","Type":"Other","Title":"Modified"}]}}}