Security Advisory

CVE-2020-0041: Android Binder Out-of-Bounds Write

Last updated:
  • CVE-2020-0041

CVE-2020-0041 is an out-of-bounds write in the Binder driver of the Android kernel: a wrong bounds calculation in binder_transaction() lets a local app corrupt kernel memory and gain kernel privileges without user interaction. NVD scores it 7.8 and CISA lists it as exploited. Android security patch level 2020-03-05 or later fixes it.

Vulnerability summary

CVSS base score

7.8

High severity

EPSS score (FIRST)

3.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2020-0041 · Source: NVD

Affected components

ComponentCPEVersion range
Android kernel (Binder driver)cpe:2.3:o:google:android:-:*:*:*:*:*:*:*Android kernel; fixed at security patch level 2020-03-05 or later (Android Security Bulletin March 2020, A-145988638)
Linux kernel (Debian linux package)pkg:deb/debian/linuxjessie, stretch and buster not affected (vulnerability introduced later); unstable fixed in 5.4.6-1 (Debian security tracker, as of 2026-11-25)

What does this mean for affected devices?

NVD describes the flaw: "In binder_transaction of binder.c, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation." Google's Android team is the CNA (Android ID A-145988638). NVD's Primary score is CVSS v3.1 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), NVD CVSS v2 is 7.2, and CISA ADP also gives 7.8. NVD and CISA ADP classify it as CWE-20, improper input validation (NVD, CVE record).

What does the upstream fix change?

The Android Security Bulletin for March 2020, published 2020-03-02, lists CVE-2020-0041 in the Kernel components table of the 2020-03-05 security patch level as a High-severity elevation of privilege in Binder, and links the upstream kernel patch by Todd Kjos. That patch is mainline commit 16981742717b, "binder: fix incorrect calculation for num_valid": for BINDER_TYPE_PTR and BINDER_TYPE_FDA transactions a local count was calculated incorrectly, so the range check in binder_validate_ptr() missed out-of-bounds offsets. The commit carries a Fixes tag for bde4a19fc04f ("binder: use userspace pointer as base of buffer space"), so only kernels that contain that earlier change are affected. Debian's security tracker accordingly marks jessie, stretch and buster as not affected because the vulnerability came later, and lists the fix in 5.4.6-1 in unstable.

Which devices are affected and how do you fix it?

NVD's only CPE is google:android, and no device maker is named in the CVE record. Android phones, tablets and Android-based handhelds whose kernel includes the vulnerable Binder code are fixed by security patch level 2020-03-05 or later; check the level each device reports and retire devices the maker no longer updates. For your own Android or embedded Linux kernel builds that enable Binder, confirm commit 16981742717b or the vendor backport is present. Linux kernel CVEs on embedded devices explains how to match a firmware kernel against fixes like this, and how to fix memory corruption in embedded firmware covers bounds-check bugs of this class.

Is CVE-2020-0041 exploited?

Yes. CISA added it to the KEV catalog on 2021-11-03 with the required action "Apply updates per vendor instructions." and a due date of 2022-05-03; known ransomware campaign use is listed as Unknown. CISA's entry says it "was observed chained with CVE-2019-2215 and CVE-2020-0069 under exploit chain "AbstractEmu."" (CVE-2019-2215 is the earlier Binder use-after-free). It is still listed as of 2026-11-25 in catalog version 2026.11.24 (CISA KEV). FIRST EPSS gives 0.03171, the 88.26th percentile, in the 2026-11-24 dataset (FIRST EPSS); the KEV listing outweighs the modest EPSS score, as KEV and EPSS prioritization explains.

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD (read 2026-11-25): status Analyzed, published 2020-03-10; binder_transaction OOB write from incorrect bounds check, local EoP, no user interaction; Android ID A-145988638; NVD Primary CVSS v3.1 7.8 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, NVD v2 7.2; CISA ADP 7.8; CWE-20 (NVD Primary, CISA ADP); CPE google:android only. — NVD
  • CVE record: PUBLISHED, CNA google_android, published 2020-03-10; product Android, version Android kernel. — CVE.org
  • Android Security Bulletin March 2020 (published 2020-03-02, updated 2020-03-09): CVE-2020-0041, A-145988638 with Upstream kernel link to lore.kernel.org tkjos patch, EoP, High, Binder, Kernel components under 2020-03-05 patch level; patch levels 2020-03-05 or later address all issues. — Android Security Bulletin
  • Commit 16981742717b 'binder: fix incorrect calculation for num_valid' (Todd Kjos, 2019-12-13): num_valid calculated incorrectly for BINDER_TYPE_PTR and BINDER_TYPE_FDA so binder_validate_ptr() range check missed out-of-bounds offsets; Fixes bde4a19fc04f; Cc stable. — kernel.org
  • Debian tracker: jessie, stretch, buster not affected (vulnerability introduced later); unstable fixed 5.4.6-1; fix 16981742717b. — Debian security tracker
  • KEV catalog 2026.11.24: dateAdded 2021-11-03, due 2022-05-03, required action 'Apply updates per vendor instructions.', knownRansomwareCampaignUse Unknown, CWE-20; observed chained with CVE-2019-2215 and CVE-2020-0069 under AbstractEmu. — CISA KEV
  • EPSS 0.03171, percentile 0.88259, dataset 2026-11-24. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Android Security Bulletin, March 2020
  3. Linux commit 16981742717b: binder: fix incorrect calculation for num_valid
  4. Upstream kernel patch on lore.kernel.org (linked by the Android bulletin)
  5. Debian security tracker CVE-2020-0041
  6. CVE.org record CVE-2020-0041 (CNA: Google Android)
  7. CISA KEV
  8. FIRST EPSS

Frequently asked questions

Which Android patch level fixes CVE-2020-0041?

Security patch level 2020-03-05 or later. Google's March 2020 Android Security Bulletin lists the Binder out-of-bounds write under that patch level as a High-severity elevation of privilege and links the upstream kernel fix (per the Android Security Bulletin).

Are older Linux kernels affected by CVE-2020-0041?

Only kernels that contain commit bde4a19fc04f, which the fix commit 16981742717b names in its Fixes tag. Debian marks jessie, stretch and buster as not affected because the vulnerability was introduced later, and fixed unstable in 5.4.6-1 (per kernel.org and the Debian security tracker).

Is CVE-2020-0041 exploited in the wild?

Yes. CISA added it to KEV on 2021-11-03 and notes it was chained with CVE-2019-2215 and CVE-2020-0069 in the AbstractEmu exploit chain; it is listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.03171, the 88.26th percentile, in the 2026-11-24 dataset (per CISA KEV and FIRST EPSS).