CVE-2012-5536
Description
A certain Red Hat build of the pam_ssh_agent_auth module on Red Hat Enterprise Linux (RHEL) 6 and Fedora Rawhide calls the glibc error function instead of the error function in the OpenSSH codebase, which allows local users to obtain sensitive information from process memory or possibly gain privileges via crafted use of an application that relies on this module, as demonstrated by su and sudo.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
0.437%
chance of exploitation in the next 30 days
higher than 38.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-20: Improper Input Validation
Timeline
- 2013-02-22Published by the CNA00:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| redhat enterprise_linux | 6.0no fix listed | not listed |
| fedora_project fedora_release_rawhide |
References
- http://pkgs.fedoraproject.org/cgit/openssh.git/commit/?id=4f4687ce8045418f678c323bb22c837f35d7b9fa
- http://rhn.redhat.com/errata/RHSA-2013-0519.html
- https://bugzilla.redhat.com/show_bug.cgi?id=834618
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2012-5536'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2012-5536'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2012-5536'curl 'https://api.contrastcyber.com/cve_products/CVE-2012-5536'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).