CVE-2016-5195highunder attackCWE-362

CVE-2016-5195

Published · Updated

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

100Vexday Risk Score

Prioritize patching. It under exploitation confirmed by CISA and has a public proof of concept.

ssvc Actcvss 7epss 84%
from disclosure to weaponsame day
Published on NVDNov 10
1st PoCOct 19
CISA KEV+1939d
What the vendors declare (VEX)

Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.

Fixed
43 products (977 components)
Red Hat Enterprise Linux Server (v. 7) · Red Hat Enterprise Linux Server EUS (v. 7.1) · Red Hat Enterprise Linux (v. 5 server) · Red Hat Enterprise Linux Server (v. 6) · Red Hat Enterprise Linux Server EUS (v. 6.6) · and others 38
Not affected
1 product — because the vulnerable code is not present in the product
Red Hat Enterprise Linux 4
Action required by CISAfederal deadline: 2022-03-24

Apply updates per vendor instructions.

In short

A flaw in Linux allows someone on your computer to trick the system into writing to memory that should be read-only, letting them take control. This happened because the system didn't properly manage a copy-on-write feature that's supposed to protect memory.

Technical detail

Race condition in mm/gup.c affecting Linux kernel 2.x–4.x before 4.8.3 allows local privilege escalation by exploiting improper copy-on-write (COW) handling. An unprivileged user can write to read-only memory mappings by manipulating page references during concurrent access, leading to kernel-level code execution.

Summary generated and translated by AI from the official description.

The full analysis of this CVE is available in Portuguese →

Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect handling of a copy-on-write (COW) feature to write to a read-only memory mapping, as exploited in the wild in October 2016, aka "Dirty COW."
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
n/a · n/a
public PoCs found — 144✓ VexDay Proof
exploitdb✓ VexDay Proofwww.exploit-db.com/exploits/40611exploitdb✓ VexDay Proofwww.exploit-db.com/exploits/40847exploitdb✓ VexDay Proofwww.exploit-db.com/exploits/40616exploitdb✓ VexDay Proofwww.exploit-db.com/exploits/40839exploitdbwww.exploit-db.com/exploits/40838unverifiedgithubgithub.com/timwr/CVE-2016-5195★ 1018githubgithub.com/firefart/dirtycow★ 932githubgithub.com/scumjr/dirtycow-vdso★ 510githubgithub.com/gbonacini/CVE-2016-5195★ 341githubgithub.com/r1is/CVE-2022-0847★ 281githubgithub.com/hyln9/VIKIROOT★ 271githubgithub.com/Brucetg/DirtyCow-EXP★ 142githubgithub.com/DavidBuchanan314/cowroot★ 32githubgithub.com/aishee/scan-dirtycow★ 16githubgithub.com/xlucas/dirtycow.cr★ 13githubgithub.com/pgporada/ansible-role-cve★ 10githubgithub.com/whu-enjoy/CVE-2016-5195★ 10githubgithub.com/imust6226/dirtcow★ 9githubgithub.com/jas502n/CVE-2016-5195★ 7githubgithub.com/sideeffect42/DirtyCOWTester★ 7githubgithub.com/oleg-fiksel/ansible_CVE-2016-5195_check★ 6githubgithub.com/talsim/root-dirtyc0w★ 5githubgithub.com/droidvoider/dirtycow-replacer★ 4githubgithub.com/esc0rtd3w/org.cowpoop.moooooo★ 3githubgithub.com/LinuxKernelContent/DirtyCow★ 3githubgithub.com/arttnba3/CVE-2016-5195★ 3githubgithub.com/DanielEbert/CVE-2016-5195★ 2githubgithub.com/LiEnby/PSSRoot★ 2githubgithub.com/FloridSleeves/os-experiment-4★ 2githubgithub.com/Mr-Ochobot/CVE-2016-5195★ 2githubgithub.com/titanhp/Dirty-COW-CVE-2016-5195-Testing★ 1githubgithub.com/TotallyNotAHaxxer/CVE-2016-5195★ 1githubgithub.com/arbll/dirtycow★ 1githubgithub.com/0x3n19m4/CVE-2016-5195★ 1githubgithub.com/cbry-96/Dirty-Cow-Ubuntu-Server-16.04.1★ 1githubgithub.com/ASRTeam/CVE-2016-5195★ 1githubgithub.com/th3-5had0w/DirtyCOW-PoC★ 1githubgithub.com/malinthag62/The-exploitation-of-Dirty-Cow-CVE-2016-5195★ 1githubgithub.com/h1n4mx0/Research-CVE-2016-5195★ 0githubgithub.com/pardhu045/linux-privilege-escalation★ 0githubgithub.com/elhaddadalaa788-alt/kernel-exploit-dirtycow-project-subm★ 0githubgithub.com/KongQBin/CVE-2016-5195★ 0githubgithub.com/bL8nCO/Dirty-cow★ 0githubgithub.com/ndobson/inspec_CVE-2016-5195★ 0githubgithub.com/acidburnmi/CVE-2016-5195-master★ 0githubgithub.com/xpcmdshell/derpyc0w★ 0githubgithub.com/dulanjaya23/Dirty-Cow-CVE-2016-5195-★ 0githubgithub.com/KosukeShimofuji/CVE-2016-5195★ 0githubgithub.com/ldenevi/CVE-2016-5195★ 0githubgithub.com/KasunPriyashan/Y2S1-Project-Linux-Exploitaion-using-CVE-2016-5195-Vulnerability★ 0githubgithub.com/vinspiert/scumjrs★ 0githubgithub.com/passionchenjianyegmail8/scumjrs★ 0githubgithub.com/ramahmdr/dirtycow★ 0githubgithub.com/GonzaBot/kernel-exploit-dirtycow★ 0githubgithub.com/endgtryna/lenovo-a1000g-mt8317-A412_01_09_130907-kernel-3.4.0-root-cve-2016-5195★ 0githubgithub.com/istenrot/centos-dirty-cow-ansible★ 0githubgithub.com/sribaba/android-CVE-2016-5195★ 0githubgithub.com/ASUKA39/CVE-2016-5195★ 0githubgithub.com/rauljvc8/Exploit-Dirty-Cow★ 0githubgithub.com/Minime794/CVE-2016-5195★ 0githubgithub.com/voidgguy/lenovo-a1000g-mt8317-A412_01_09_130907-kernel-3.4.0-root-cve-2016-5195★ 0githubgithub.com/zakariamaaraki/Dirty-COW-CVE-2016-5195-★ 0githubgithub.com/shanuka-ashen/Dirty-Cow-Explanation-CVE-2016-5195-★ 0githubgithub.com/KaviDk/dirtyCow★ 0githubgithub.com/fei9747/CVE-2016-5195★ 0githubgithub.com/h1n4mx0z/Research-CVE-2016-5195★ 0githubgithub.com/EDLLT/CVE-2016-5195-master★ 0githubgithub.com/ZhiQiAnSecFork/DirtyCOW_CVE-2016-5195★ 0githubgithub.com/sakilahamed/Linux-Kernel-Exploit-LAB★ 0githubgithub.com/Samuel-G3/Escalamiento-de-Privilegios-usando-el-Kernel-Exploit-Dirty-Cow★ 0githubgithub.com/mohammadamin382/dirtycow-lab★ 0githubgithub.com/MarioAlejos-Cs/dirtycow-lab★ 0githubgithub.com/theo543/OSDS_Paper_CVE-2016-5195★ 0githubgithub.com/vudangducminh/CVE-2016-5195★ 0githubgithub.com/maur0amaya/Escalamiento-de-Privilegios-usando-el-Kernel-Exploit-Dirty-Cow★ 0githubgithub.com/1equeneRise/scumjr9★ 0githubgithub.com/gogooma125732/CVE-2016-5195★ 0githubgithub.com/AlonsoJuan1994/Escalamiento-de-Privilegios-usando-el-Kernel-Exploit-Dirty-Cow★ 0vulncheckvulncheck.com/xdb/277a1d4bf8a2unverifiedvulncheckvulncheck.com/xdb/26aa72694109unverifiedvulncheckvulncheck.com/xdb/a84cc3ab3f48unverifiedvulncheckvulncheck.com/xdb/0eca479a0f12unverifiedvulncheckvulncheck.com/xdb/5a4311b57888unverifiedvulncheckvulncheck.com/xdb/0f54259ef0a3unverifiedvulncheckvulncheck.com/xdb/c702394e39a9unverifiedvulncheckvulncheck.com/xdb/9ab30651140cunverifiedvulncheckvulncheck.com/xdb/cd262e482af1unverifiedvulncheckvulncheck.com/xdb/2f99e74166aeunverifiedvulncheckvulncheck.com/xdb/3c59fbbe4941unverifiedvulncheckvulncheck.com/xdb/b05a18448174unverifiedvulncheckvulncheck.com/xdb/f2204b41dd21unverifiedvulncheckvulncheck.com/xdb/b81caecd21a0unverifiedvulncheckvulncheck.com/xdb/5c3c3322474dunverifiedvulncheckvulncheck.com/xdb/9125928f7603unverifiedvulncheckvulncheck.com/xdb/31a0aa69cf4cunverifiedvulncheckvulncheck.com/xdb/cecbca9ee49funverifiedvulncheckvulncheck.com/xdb/db0cfa39ee2eunverifiedvulncheckvulncheck.com/xdb/d1c17c081d03unverifiedvulncheckvulncheck.com/xdb/94c11c970613unverifiedvulncheckvulncheck.com/xdb/4d43856ec877unverifiedvulncheckvulncheck.com/xdb/bbdb7a7979daunverifiedvulncheckvulncheck.com/xdb/3259770b0ff4unverifiedvulncheckvulncheck.com/xdb/4275f34a5224unverifiedvulncheckvulncheck.com/xdb/91934bafa64funverifiedvulncheckvulncheck.com/xdb/9fe4e31741bfunverifiedvulncheckvulncheck.com/xdb/6b7028face39unverifiedvulncheckvulncheck.com/xdb/bbc108f0e2d3unverifiedvulncheckvulncheck.com/xdb/a73a45d1e2d2unverifiedvulncheckvulncheck.com/xdb/01d749b64ad1unverifiedvulncheckvulncheck.com/xdb/a87c371b3f3funverifiedvulncheckvulncheck.com/xdb/72416db5c445unverifiedvulncheckvulncheck.com/xdb/25a7d419158eunverifiedvulncheckvulncheck.com/xdb/52f1724c803aunverifiedvulncheckvulncheck.com/xdb/56a0d9175e82unverifiedvulncheckvulncheck.com/xdb/770693b60910unverifiedvulncheckvulncheck.com/xdb/8caaebd2c120unverifiedvulncheckvulncheck.com/xdb/18b29d667585unverifiedvulncheckvulncheck.com/xdb/77f940bbe0a4unverifiedvulncheckvulncheck.com/xdb/421bc3afa1a0unverifiedvulncheckvulncheck.com/xdb/177f3ff1c724unverifiedvulncheckvulncheck.com/xdb/f9efe15626b2unverifiedvulncheckvulncheck.com/xdb/e26232ee0a29unverifiedvulncheckvulncheck.com/xdb/996eaef54533unverifiedvulncheckvulncheck.com/xdb/5a7f805e6da3unverifiedcve_referencepacketstormsecurity.com/files/139923/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.htmlunverifiedvulncheckvulncheck.com/xdb/edf32f0cb046unverifiedvulncheckvulncheck.com/xdb/5b410bd6e523unverifiedvulncheckvulncheck.com/xdb/81ccebeaeb88unverifiedvulncheckvulncheck.com/xdb/6d5493a58df4unverifiedcve_referencewww.exploit-db.com/exploits/40847/unverifiedcve_referencepacketstormsecurity.com/files/139922/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.htmlunverifiedcve_referencepacketstormsecurity.com/files/139287/DirtyCow-Local-Root-Proof-Of-Concept.htmlunverifiedcve_referencewww.exploit-db.com/exploits/40611/unverifiedcve_referencewww.exploit-db.com/exploits/40616/unverifiedcve_referencewww.exploit-db.com/exploits/40839/unverifiedcve_referencepacketstormsecurity.com/files/139286/DirtyCow-Linux-Kernel-Race-Condition.htmlunverifiedcve_referencepacketstormsecurity.com/files/139277/Kernel-Live-Patch-Security-Notice-LSN-0012-1.htmlunverifiedvulncheckvulncheck.com/xdb/2cc6d2dfce04unverifiedvulncheckvulncheck.com/xdb/3d9b8666395cunverifiedvulncheckvulncheck.com/xdb/daafa674a454unverifiedvulncheckvulncheck.com/xdb/7efc4e84a8f3unverifiedcve_referencepacketstormsecurity.com/files/142151/Kernel-Live-Patch-Security-Notice-LSN-0021-1.htmlunverifiedvulncheckvulncheck.com/xdb/26759f64e421unverifiedvulncheckvulncheck.com/xdb/10e422584e38unverified
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.