CVE-2012-5536 json
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 func…
published 2013-02-22 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-5428
- cvss
- 6.2
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- openssh RHEL 6 5.3p1-84.1.el6
- openssh-ldap RHEL 6 5.3p1-84.1.el6
- openssh-server RHEL 6 5.3p1-84.1.el6
- openssh-askpass RHEL 6 5.3p1-84.1.el6
- openssh-clients RHEL 6 5.3p1-84.1.el6
- pam_ssh_agent_auth RHEL 6 0.9.3-84.1.el6
red hat advisories RHSA-2013:0519
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-5536 updated cvss 6.2
pam_ssh_agent_auth: symbol crash leading to glibc error() called incorrectly
-
Red Hat Enterprise Linux Desktop (v. 6) openssh 5.3p1-84.1.el6, openssh-server 5.3p1-84.1.el6, openssh-askpass 5.3p1-84.1.el6, openssh-clients 5.3p1-84.1.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) openssh 5.3p1-84.1.el6, openssh-ldap 5.3p1-84.1.el6, pam_ssh_agent_auth 0.9.3-84.1.el6 Red Hat Enterprise Linux HPC Node (v. 6) openssh 5.3p1-84.1.el6, openssh-server 5.3p1-84.1.el6, openssh-clients 5.3p1-84.1.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) openssh 5.3p1-84.1.el6, openssh-ldap 5.3p1-84.1.el6, openssh-askpass 5.3p1-84.1.el6, pam_ssh_agent_auth 0.9.3-84.1.el6 Red Hat Enterprise Linux Server (v. 6) openssh 5.3p1-84.1.el6, openssh-server 5.3p1-84.1.el6, openssh-askpass 5.3p1-84.1.el6, openssh-clients 5.3p1-84.1.el6 Red Hat Enterprise Linux Server Optional (v. 6) openssh 5.3p1-84.1.el6, openssh-ldap 5.3p1-84.1.el6, pam_ssh_agent_auth 0.9.3-84.1.el6fixed: vendor fix RHSA-2013:0519
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 6) openssh 5.3p1-84.1.el6, openssh-server 5.3p1-84.1.el6, openssh-askpass 5.3p1-84.1.el6, openssh-clients 5.3p1-84.1.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) openssh 5.3p1-84.1.el6, openssh-ldap 5.3p1-84.1.el6, pam_ssh_agent_auth 0.9.3-84.1.el6 -
Red Hat Enterprise Linux 5 opensshnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- pkgs.fedoraproject.org http://pkgs.fedoraproject.org/cgit/openssh.git/commit/?id=4f4687ce8045418f678c323bb22c837f35d7b9fa referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.2 | AV:L/AC:H/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
Sources
- CVE List CVE-2012-5536
- NVD CVE-2012-5536
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.