# timwr/CVE-2016-5195

CVE-2016-5195 (dirtycow/dirtyc0w) proof of concept for Android

Repository: https://github.com/timwr/CVE-2016-5195
Canonical: https://ross.abutalabs.com/products/cve-2016-5195
Language: C
License Family: other
Last push: 2021-02-03T16:03:40+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3603, "days_push": 2037, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1010, forks 390 (observed 2026-08-28T04:03:12.980239+00:00)

## What it is
A proof-of-concept exploit for CVE-2016-5195 (Dirty Cow) targeting Android devices, built with the Android NDK and deployed over ADB. It demonstrates local privilege escalation to root by overwriting /system/bin/run-as on vulnerable kernels.

## Use cases
- demonstrate dirty cow vulnerability on android
- get root shell on vulnerable android device via adb
- test android kernel for cve-2016-5195
- learn how dirtycow privilege escalation works
- overwrite system binary on android using dirty cow

## When to choose
- you need a working Dirty Cow PoC specifically for Android with NDK builds for many architectures
- you are studying or demonstrating CVE-2016-5195 on an old vulnerable device

## When to avoid
- your device is patched for CVE-2016-5195 (fixed since Linux 4.8.3 / late 2016)
- you want a full rooting solution with SELinux bypass or superuser installation
- you need a maintained or supported tool

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: security, penetration-testing
- domain: security, android-tools, operating-systems
- platform: cpp, cli
- tags: dirtycow, cve-2016-5195, privilege-escalation, exploit, proof-of-concept, root, android, linux

## Member repositories
- timwr/CVE-2016-5195 (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:12.980239+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:59.066475+00:00, confidence not recorded.
  - readme: https://github.com/timwr/CVE-2016-5195 (fetched 2026-08-28T04:03:12.980239+00:00, sha 48c454a4da06)
- Data as of 2026-08-30T08:39:29.467469+00:00.
