CVE-2013-2596 in Linux Kernel and 5 more products
Integer overflow in the fb_mmap function in drivers/video/fbmem.c in the Linux kernel before 3.8.9, as used in a certain Motorola build of Android 4.1.2 and other products, allows local users to create a read-write memory mapping for the entirety of kernel memory, and consequently gain privileges, via crafted /dev/g...
Affects 6 products from 3 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | ≥ 2.6.12, < 3.0.75 ≥ 3.1, < 3.2.45 ≥ 3.3, < 3.4.42 ≥ 3.5, < 3.8.9 |
| Motorola | Android | 4.1.2 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Motorola Atrix Hd, Motorola Razr Hd, Motorola Razr M, Qualcomm Msm8960
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Yes added 2022-09-15 |
|---|---|
| Public exploit | Not confirmed |
Official description
Integer overflow in the fb_mmap function in drivers/video/fbmem.c in the Linux kernel before 3.8.9, as used in a certain Motorola build of Android 4.1.2 and other products, allows local users to create a read-write memory mapping for the entirety of kernel memory, and consequently gain privileges, via crafted /dev/graphics/fb0 mmap2 system calls, as demonstrated by the Motochopper pwn program.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2013-2596 |
|---|---|
| BreachSpider ID | BS-2013-GLOBAL-182757-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2013-04-13 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-190
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2013-2596 is an integer overflow vulnerability in the fb_mmap function of the Linux kernel, affecting versions before 3.8.9. This flaw can be exploited by local users to gain privileges by creating a read-write memory mapping for the entirety of kernel memory. The vulnerability has a CVSS score of 7.8 and is listed in the KEV catalog with a public proof-of-concept available. Affected vendors include Linux, Motorola, and Qualcomm.
The vulnerability exists in the fb_mmap function within the drivers/video/fbmem.c file of the Linux kernel. An integer overflow occurs when handling mmap2 system calls, allowing a local user to map the entire kernel memory space with read-write permissions. This can lead to privilege escalation, enabling the attacker to execute arbitrary code with kernel-level privileges. The exploit is demonstrated by the Motochopper pwn program, which leverages this vulnerability to gain elevated privileges on affected systems.
Compensating controls AI-drafted, review before use
Implement strict access controls and least privilege principles for users and processes interacting with the framebuffer device. Regularly monitor system logs for suspicious activity related to mmap2 system calls.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2013-2596?
CVE-2013-2596 is an integer overflow vulnerability in the fb_mmap function of the Linux kernel, affecting versions before 3.8.9. This flaw can be exploited by local users to gain privileges by creating a read-write memory mapping for the entirety of kernel memory. The vulnerability has a CVSS score of 7.8 and is listed in the KEV catalog with a public proof-of-concept available. Affected vendors include Linux, Motorola, and Qualcomm.
What is the CVSS score for CVE-2013-2596?
CVE-2013-2596 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 3.2%.
Is CVE-2013-2596 actively exploited?
Yes. CVE-2013-2596 is in the CISA known-exploited catalog (added 2022-09-15). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2013-2596?
Priority: HIGH.
What systems are affected by CVE-2013-2596?
CVE-2013-2596 affects Linux Linux Kernel; Motorola Android.
What NERC-CIP standard applies to CVE-2013-2596?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to critical system resources, potentially leading to the compromise of the control system environment.
What IEC 62443 requirement maps to CVE-2013-2596?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited to gain unauthorized access to system resources, which is a critical security concern in ICS environments.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Linux","product":"Linux Kernel","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.