CVE-2012-3440: A certain Red Hat script for sudo 1.7.2 on Red Hat Enterprise Linux (RHEL) 5 allows local users to overwrite a
CVE-2012-3440 is a medium-severity flaw (CVSS 5.6) affecting sudo, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A certain Red Hat script for sudo 1.7.2 on Red Hat Enterprise Linux (RHEL) 5 allows local users to overwrite arbitrary files via a symlink attack on the /var/tmp/nsswitch.conf.bak temporary file.
Why this priority
- Public exploit reference
- On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.6 (Medium) |
| EPSS exploit chance | 0.4% (top 62%) |
| CISA exploited list | No |
| Weakness | CWE-59 |
| Published | 2012-08-08 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2012-3440?
sudo: mitigate or apply the listed mitigation; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2012-3440 being exploited?
CVE-2012-3440 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2012-3440 affect?
CVE-2012-3440 affects sudo, enterprise linux. Severity is medium (CVSS 5.6). A certain Red Hat script for sudo 1.7.2 on Red Hat Enterprise Linux (RHEL) 5 allows local users to overwrite arbitrary files via a symlink attack on the /var/tmp/nsswitch.conf.bak temporary file.
How urgent is CVE-2012-3440?
Priority 39/100. Public exploit reference; On your watchlist
Software pages
Red Hat Enterprise Linux vulnerabilities · Sudo vulnerabilities
Related CVEs
- CVE-2026-35535 HIGH 7.4 UPGRADE UPGRADE In Sudo through 1.9.17p2 before 3e474c2, a failure of a setuid, setgid, or setgroups call, during a privilege
- CVE-2025-32462 LOW 2.8 UPGRADE Sudo before 1.9.17p1, when used with a sudoers file that specifies a host that is neither the current host nor
- CVE-2025-46718 LOW 3.3 UPGRADE sudo-rs is a memory safe implementation of sudo and su written in Rust
- CVE-2025-46717 LOW 3.3 UPGRADE sudo-rs is a memory safe implementation of sudo and su written in Rust
- CVE-2025-32463 CRITICAL 9.3 EXPLOITED UPGRADE MITIGATE Sudo Inclusion of Functionality from Untrusted Control Sphere Vulnerability