CVE-2023-20935: Out of Bounds Read in libneuralnetworks_common_defaults

platform/hardware/interfaces Updated 02 Oct 2025

Summary

01/04/2023
Yes i
High
Not published

CVE-2023-20935: In deserialize of multiple files, there is a possible out of bounds read due to a missing bounds check. Affects platform/hardware/interfaces across 4 version ranges.

>= 12:0, < 12:2023-04-01 >= 12L:0, < 12L:2023-04-01 >= 13:0, < 13:2023-04-01 >= 13-next:0, < 13-next:2023-04-01

Fixed in 13-next:2023-04-01. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The package 'platform/hardware/interfaces' is a part of the Android ecosystem and is responsible for providing hardware interfaces to the platform. It is used by various components to interact with hardware devices. The package 'platform/packages/modules/NeuralNetworks' is another component of the Android ecosystem that provides support for neural networks. It utilizes the 'platform/hardware/interfaces' package for its functionality.

Vulnerability Detail

The vulnerability (CVE-2023-20935) exists in the 'deserialize' function of multiple files in the 'platform/hardware/interfaces' and 'platform/packages/modules/NeuralNetworks' packages. It is caused by a missing bounds check, which can result in an out of bounds read. This vulnerability can be exploited to disclose local information without requiring additional execution privileges. User interaction is not necessary for exploitation.

How To Fix

Minimum fixed version

13-next:2023-04-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The 'platform/hardware/interfaces' and 'platform/packages/modules/NeuralNetworks' packages in the Android ecosystem are affected by a vulnerability that allows for out of bounds read. This can lead to local information disclosure, but does not grant additional execution privileges. It is recommended to update the affected packages to their fixed versions released on or after April 1, 2023. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/hardware/interfaces →

Share this vulnerability

FAQ

This vulnerability can lead to local information disclosure, potentially exposing sensitive data. However, it does not grant additional execution privileges.

No, user interaction is not needed for exploitation of this vulnerability.

Versions 11, 12, 12L, and 13 of the Android ecosystem are affected by this vulnerability.

There are no known instances of this vulnerability being exploited at the time of this report.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. It requires no signup and uses the gradle.lockfile to monitor and alert in real-time for open-source vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for platform/hardware/interfaces.

How To Fix

Minimum fixed version

13-next:2023-04-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback