CVE-2023-46139

Summary

CVECVE-2023-46139
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-10-31 00:15:00 UTC
Updated2023-11-14 19:59:00 UTC
DescriptionKernelSU is a Kernel based root solution for Android. Starting in version 0.6.1 and prior to version 0.7.0, if a KernelSU installed device is infected with a malware whose app signing block specially constructed, it can take over root privileges on the device. The vulnerable verification logic actually obtains the signature of the last block with an id of `0x7109871a`, while the verification logic during Android installation is to obtain the first one. In addition to the actual signature upgrade that has been fixed (KSU thought it was V2 but was actually V3), there is also the problem of actual signature downgrading (KSU thought it was V2 but was actually V1). Find a condition in the signature verification logic that will cause the signature not to be found error, and KernelSU does not implement the same conditions, so KSU thinks there is a V2 signature, but the APK signature verification actually uses the V1 signature. This issue is fixed in version 0.7.0. As workarounds, keep the KernelSU manager installed and avoid installing unknown apps.

Risk And Classification

Problem Types: CWE-863

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Kernelsu Kernelsu All All All All

References

ReferenceSourceLinkTags
ApkSigningBlockUtils.java - OpenGrok cross reference for /frameworks/base/core/java/android/util/apk/ApkSigningBlockUtils.java MISC aospxref.com
KernelSU signature validation mismatch · Advisory · tiann/KernelSU · GitHub MISC github.com
Update your browser to use Google Drive, Docs, Sheets, Sites, Slides, and Forms - Google Drive Help MISC drive.google.com
github.com/tiann/KernelSU/blob/344c08bb79ba12b692016750cda363f9f3500182/... MISC github.com
github.com/tiann/KernelSU/blob/344c08bb79ba12b692016750cda363f9f3500182/... MISC github.com
Merge pull request from GHSA-86cp-3prf-pwqq · tiann/KernelSU@d24813b · GitHub MISC github.com
ApkSigningBlockUtils.java - OpenGrok cross reference for /frameworks/base/core/java/android/util/apk/ApkSigningBlockUtils.java MISC aospxref.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report