Heap-use-after-free Vulnerability in libavc: Critical Memory Management Flaw

libavc Updated 02 Oct 2025

Summary

08/07/2025
HIGH
Yes i
High
Not published

OSV-2025-534: Heap-use-after-free in ih264_inter_pred_luma_horz_ssse3. Affects libavc versions >= 375b9b7e44b067d7b87bcae7291154ae59c72267, < 6f5a49da5db207a149a3f0cc43fd850502017012. Fixed in 6f5a49da5db207a149a3f0cc43fd850502017012. 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

libavc is an open-source library developed by Ittiam Systems, primarily used for video encoding and decoding. It provides efficient algorithms for handling various video formats, making it a crucial component in multimedia applications. However, like many complex software systems, it is susceptible to vulnerabilities that can compromise its stability and security.

Vulnerability Detail

The vulnerability identified as OSV-2025-534 is a heap-use-after-free issue that occurs in the function ih264_inter_pred_luma_horz_ssse3. This flaw can lead to a crash during the decoding process, specifically when the library attempts to access memory that has already been freed. The ramifications of this vulnerability include potential application crashes and exploitation by malicious actors to execute arbitrary code, leading to severe security risks.

How To Fix

Minimum fixed version

6f5a49da5db207a149a3f0cc43fd850502017012

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

As a temporary workaround, users can avoid using the specific functions that trigger the vulnerability until the package is updated. However, this may limit functionality and is not a permanent solution.

Conclusion

The heap-use-after-free vulnerability in libavc poses significant risks to applications utilizing this library. It is crucial for developers and users to update to the patched version to safeguard against potential exploitation and ensure the stability of their applications.

See every vulnerability recorded for libavc →

Share this vulnerability

FAQ

A heap-use-after-free vulnerability occurs when a program continues to use memory after it has been freed, leading to undefined behavior, crashes, or potential exploitation.

You can use Vulert, which monitors open-source vulnerabilities in your software. By simply uploading your manifest file like package-lock.json, you can receive real-time alerts about vulnerabilities.

The consequences include application crashes and the possibility of arbitrary code execution, which can lead to data breaches or system compromise.

Yes, you can temporarily avoid using the affected functions until you can apply the update. However, this is not a long-term solution.

Related vulnerabilities

Recent vulnerabilities recorded for libavc.

How To Fix

Minimum fixed version

6f5a49da5db207a149a3f0cc43fd850502017012

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