CVE-2022-20127
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn ce_t4t_data_cback of ce_t4t.cc, there is a possible out of bounds write due to a double free. This could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-10 Android-11 Android-12 Android-12LAndroid ID: A-221862119
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is a memory corruption vulnerability in the Android NFC stack (ce_t4t.cc - Card Emulation Type 4 Tag). A double free in the ce_t4t_data_cback function causes an out-of-bounds write, leading to arbitrary code execution. The vulnerability is exploitable remotely without any user interaction and requires no elevated privileges.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 10.0= 11.0= 12.0= 12.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check the Android versionGo to Settings > About Phone > Android version, or run `getprop ro.build.version.release` via ADB shellAffected if The version equals 10.0, 11.0, 12.0, or 12.1
-
Verify NFC is enabledGo to Settings > Connected devices > NFC, or check `nfc get-state` via ADB shell if availableAffected if NFC is turned ON - the vulnerability exists in the NFC stack and cannot be triggered when NFC is disabled
-
Check if NFC Card Emulation is activeInspect NFC settings for any registered secure elements or card emulation services, or monitor NFC activity logs for ce_t4t (Card Emulation Type 4 Tag) usageAffected if Card Emulation Type 4 Tag functionality is in use or has been recently invoked, as the flaw exists in ce_t4t.cc specifically
-
Confirm the NFC HAL service versionCheck the vendor or system partition for the NFC HAL (hardware abstraction layer) service; on affected builds, the libnfc hal library would contain the vulnerable ce_t4t code pathAffected if Running a build with the unpatched NFC stack that includes the vulnerable ce_t4t_data_cback function in the Card Emulation Type 4 Tag module
You are affected if your device runs Android 10.0, 11.0, 12.0, or 12.1 AND has NFC enabled AND the Card Emulation Type 4 Tag feature is accessible or has been used, as the double-free vulnerability in ce_t4t.cc requires the NFC Card Emulation stack to be active.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply the Android security patch for the appropriate version (Android-10 through Android-12L). For systems where patches are unavailable, consider disabling NFC as a compensating control until the update can be deployed.
Android-12L (13.0) with July 2022 security patch level or later; for affected Android 10-12.1 devices, apply the July 2022 security update (2022-07-01)
- Check the current Android security patch level on the device by navigating to Settings > About Phone > Android version > Security patch level
- Verify the device is not running at least the July 2022 security patch level (or later)
- If the device security patch level is before July 2022, check for system updates by going to Settings > System > System Update
- Download and install any available system/security updates
- After updating, confirm the security patch level shows July 2022 or later
- For enterprise or managed devices, ensure the mobile device management (MDM) policy pushes the latest security patch update
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,616.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-20127 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2022-20127 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data