CVE-2012-5536
A certain Red Hat build of the pam_ssh_agent_auth module on Red Hat Enterprise Linux (RHEL) 6 and...
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.
Exploit likelihood
What each source reports
NVD Score used
6.2
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.
- Record
CVE-2012-5536- CVSS 2.0
- 6.2 Medium
AV:L/AC:H/Au:N/C:C/I:C/A:C - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-5536- Updated
- 2026-11-02
EUVDEUVD-2012-5428 No score
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.
- Record
EUVD-2012-5428- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xw28-c23x-fjj4 No score
A certain Red Hat build of the pam_ssh_agent_auth module on Red Hat Enterprise Linux (RHEL) 6 and...
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.
- Record
GHSA-xw28-c23x-fjj4- Weakness
- CWE-20
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
opensshRed Hat:enterprise_linux:6::client |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-debuginfoRed Hat:enterprise_linux:6::client |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-ldapRed Hat:enterprise_linux:6::client |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
pam_ssh_agent_authRed Hat:enterprise_linux:6::client |
before 0:0.9.3-84.1.el6 | 0:0.9.3-84.1.el6 |
openssh-askpassRed Hat:enterprise_linux:6::client |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-clientsRed Hat:enterprise_linux:6::client |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-serverRed Hat:enterprise_linux:6::client |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
opensshRed Hat:enterprise_linux:6::computenode |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-askpassRed Hat:enterprise_linux:6::computenode |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openssh-ldapRed Hat:enterprise_linux:6::computenode |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
pam_ssh_agent_authRed Hat:enterprise_linux:6::computenode |
before 0:0.9.3-84.1.el6 | 0:0.9.3-84.1.el6 |
openssh-clientsRed Hat:enterprise_linux:6::computenode |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-serverRed Hat:enterprise_linux:6::computenode |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
opensshRed Hat:enterprise_linux:6::server |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-debuginfoRed Hat:enterprise_linux:6::server |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-ldapRed Hat:enterprise_linux:6::server |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
pam_ssh_agent_authRed Hat:enterprise_linux:6::server |
before 0:0.9.3-84.1.el6 | 0:0.9.3-84.1.el6 |
openssh-askpassRed Hat:enterprise_linux:6::server |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-clientsRed Hat:enterprise_linux:6::server |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-serverRed Hat:enterprise_linux:6::server |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
opensshRed Hat:enterprise_linux:6::workstation |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-ldapRed Hat:enterprise_linux:6::workstation |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
pam_ssh_agent_authRed Hat:enterprise_linux:6::workstation |
before 0:0.9.3-84.1.el6 | 0:0.9.3-84.1.el6 |
openssh-askpassRed Hat:enterprise_linux:6::workstation |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-clientsRed Hat:enterprise_linux:6::workstation |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
openssh-serverRed Hat:enterprise_linux:6::workstation |
before 0:5.3p1-84.1.el6 | 0:5.3p1-84.1.el6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-5536 is a medium vulnerability (CVSS 6.2) in Redhat Enterprise Linux, published February 22, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.44%, the 38th percentile. Fixed in openssh 0:5.3p1-84.1.el6.
References
rhn.redhat.com/errata/RHSA-2013-0519.html
pkgs.fedoraproject.org/cgit/openssh.git/commit?id=4f4687ce8045418f678c323bb22c837f35d7b9fa
bugzilla.redhat.com/show_bug.cgi?id=834618
nvd.nist.gov/vuln/detail/CVE-2012-5536
github.com/advisories/GHSA-xw28-c23x-fjj4
access.redhat.com/errata/RHSA-2013:0519
Show 9 moreShow less
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=821641
bugzilla.redhat.com/show_bug.cgi?id=826720
bugzilla.redhat.com/show_bug.cgi?id=836650
bugzilla.redhat.com/show_bug.cgi?id=857760
bugzilla.redhat.com/show_bug.cgi?id=869903
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0519.json
access.redhat.com/security/cve/CVE-2012-5536
cve.org/CVERecord?id=CVE-2012-5536