CVE-2012-0056

Summary

CVECVE-2012-0056
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-01-27 15:55:04 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionThe mem_write function in the Linux kernel before 3.2.2, when ASLR is disabled, does not properly check permissions when writing to /proc/<pid>/mem, which allows local users to gain privileges by modifying process memory, as demonstrated by Mempodipper.

Risk And Classification

Primary CVSS: v2.0 6.9 from [email protected]

AV:L/AC:M/Au:N/C:C/I:C/A:C

Problem Types: CWE-264 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
oss-security - Re: CVE request: kernel: proc: clean up and fix /proc/<pid>/mem handling af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
About Secunia Research | Flexera af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
oss-security - CVE request: kernel: proc: clean up and fix /proc/<pid>/mem handling af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
Linux Kernel CVE-2012-0056 Local Privilege Escalation Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Bug 782642 – CVE-2012-0056 kernel: proc: /proc/<pid>/mem mem_write insufficient permission checking af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory
www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.2 af854a3a-2127-422b-91ae-364da2661108 www.kernel.org Vendor Advisory
kernel/git/torvalds/linux.git - Linux kernel source tree af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Vendor Advisory
VU#470151 - Linux Kernel local privilege escalation via SUID /proc/pid/mem write af854a3a-2127-422b-91ae-364da2661108 www.kb.cert.org Third Party Advisory, US Government Resource
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
oss-security - Re: CVE request: kernel: proc: clean up and fix /proc/<pid>/mem handling af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
Linux Local Privilege Escalation via SUID /proc/pid/mem Write | Nerdling Sapple af854a3a-2127-422b-91ae-364da2661108 blog.zx2c4.com Third Party Advisory
oss-security - Re: CVE request: kernel: proc: clean up and fix /proc/<pid>/mem handling af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
USN-1336-1: Linux kernel vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 ubuntu.com Third Party Advisory
Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Third Party Advisory
kernel/git/torvalds/linux.git - Linux kernel source tree MITRE git.kernel.org
Red Hat Customer Portal MITRE access.redhat.com
Red Hat Customer Portal MITRE access.redhat.com
access.redhat.com | CVE-2012-0056 MITRE access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report