CVE-2013-2596
Linux Kernel Integer Overflow Vulnerability
Check your servers for CVE-2013-2596
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2013-2596 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Known exploited
CISA added this CVE to its list of known exploited vulnerabilities on 15 Sep 2022. US federal agencies had to act by 6 Oct 2022.
- Name
- Linux Kernel Integer Overflow Vulnerability
- Required action
- Apply updates per vendor instructions.
- Ransomware
- Use in ransomware campaigns is not known
- Notes
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fc9bbca8f650e5f738af8806317c0a041a48ae4a https://nvd.nist.gov/vuln/detail/CVE-2013-2596
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 3.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 88.9% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 1 May 2025):
- Exploitation
- active: CISA has reliable evidence of exploitation in the wild
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-190 Integer Overflow or Wraparound
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2013-2596 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2013-2596RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2013-2596Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2013-2596
trivy image --scanners vuln IMAGE | grep CVE-2013-2596
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2015:0695 rhn.redhat.com · vendor advisory
- MDVSA-2013:176 mandriva.com · vendor advisory
- https://github.com/torvalds/linux/commit/b4cbb197c7e7a68dbad0d491242e3ca67420c13e github.com
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html oracle.com
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=b4cbb197c7e7a68dbad0d491242e3ca67420c13e git.kernel.org
- RHSA-2015:0803 rhn.redhat.com · vendor advisory
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.9 kernel.org
- RHSA-2015:0782 rhn.redhat.com · vendor advisory
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10761 kb.juniper.net
- https://github.com/torvalds/linux/commit/fc9bbca8f650e5f738af8806317c0a041a48ae4a github.com
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=fc9bbca8f650e5f738af8806317c0a041a48ae4a git.kernel.org
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2013-2596 cisa.gov · government resource
Other references
- 59264 securityfocus.com · vdb entry
- http://www.droid-life.com/2013/04/09/root-method-released-for-droid-razr-hd-running-android-4-1-2-other-devices-too/ droid-life.com
- [linux-kernel] 20130417 Device driver memory 'mmap()' function helper cleanup marc.info · mailing list
- http://forum.xda-developers.com/showthread.php?t=2255491 forum.xda-developers.com
- http://www.droidrzr.com/index.php/topic/15208-root-motochopper-yet-another-android-root-exploit/ droidrzr.com
Source: the record CVE-2013-2596 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse