CVE-2021-39667: Heap-buffer-overflow in libavc:avc_dec_fuzzer

platform/external/libavc Updated 02 Oct 2025

Summary

01/03/2022
Yes i
High
Not published

CVE-2021-39667: In ih264d_parse_decode_slice of ih264d_parse_slice.c, there is a possible out of bounds write due to a heap buffer overflow. Affects platform/external/libavc across 4 version ranges.

>= 10:0, < 10:2022-03-01 >= 11:0, < 11:2022-03-01 >= 12:0, < 12:2022-03-01 >= 12L:0, < 12L:2022-03-01

Fixed in 10:2022-03-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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package under scrutiny is libavc, an external library used in the Android ecosystem. It is responsible for handling AVC (Advanced Video Coding) decoding functionality. This vulnerability affects versions 10, 11, 12, and 12L of the Android platform. The library is susceptible to a heap buffer overflow in the ih264d_parse_decode_slice function of ih264d_parse_slice.c.

Vulnerability Detail

The vulnerability arises due to a possible out-of-bounds write, leading to a heap buffer overflow. Exploitation of this vulnerability could result in remote information disclosure without requiring additional execution privileges. However, user interaction is necessary for successful exploitation.

How To Fix

Minimum fixed version

10:2022-03-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

No specific workaround has been provided for this vulnerability.

Conclusion

In conclusion, the libavc library in the Android ecosystem is vulnerable to a heap buffer overflow. This vulnerability could lead to remote information disclosure, but it requires user interaction for exploitation. Developers should update their libavc library to the fixed version to mitigate this issue. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/external/libavc →

Share this vulnerability

FAQ

The vulnerability could lead to remote information disclosure, potentially exposing sensitive data.

Versions 10, 11, 12, and 12L of the Android platform are affected.

Yes, user interaction is necessary for successful exploitation of this vulnerability.

The recommended mitigation is to update the libavc library to the fixed version.

You can find more information about this vulnerability in the Android Open Source Project Security Bulletin: ASB-A-205702093.

Related vulnerabilities

Recent vulnerabilities recorded for platform/external/libavc.

How To Fix

Minimum fixed version

10:2022-03-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