CVE-2025-7700

Description

A flaw was found in FFmpeg’s ALS audio decoder, where it does not properly check for memory allocation failures. This can cause the application to crash when processing certain malformed audio files. While it does not lead to data theft or system control, it can be used to disrupt services and cause a denial of service.

Statement

The Red Hat Product Security team has assessed this vulnerability as Medium severity. It can be exploited remotely without authentication but requires user interaction, such as opening a crafted ALS file. While it does not allow code execution or compromise system confidentiality or integrity, it does cause an application crash, posing a Moderate availability risk. The root cause is insufficient validation of memory allocation return values in the ALS decoder initialization function.

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Users are strongly encouraged to apply vendor-supplied updates or patches as they become available to address this vulnerability.

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart

NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation.

Integrity,Confidentiality

Technical Impact: Execute Unauthorized Code or Commands; Read Memory; Modify Memory

In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.

Acknowledgements

Red Hat would like to thank Jiasheng Jiang for reporting this issue.

Frequently Asked Questions

Want to get errata notifications? Sign up here.