CVE-2025-7700: Ffmpeg: null pointer dereference in ffmpeg als decoder (libavcodec/alsdec.c)

Published Jul 16, 2025
·
Updated

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.

Other sources

NULL Pointer Dereference vulnerability in the ALS audio decoder of the FFmpeg multimedia framework. The flaw lies in the decodeinit() function, where memory allocation results (e.g., larray, nbits, rawmantissa[c]) are not validated before use. If a crafted ALS file causes allocation functions like avmallocarray() or avcalloc() to fail, the code may dereference NULL pointers, leading to application crashes. This issue can be triggered remotely without any authentication, resulting in a denial-of-service scenario for any application using FFmpeg for ALS decoding.

— Red Hat

Affected Software

2 affected componentsFixes available
FFmpeg FFmpeg
debian/ffmpeg
7:5.1.9-0+deb12u17:7.1.5-0+deb13u17:9.0.2-4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/ffmpeg to a version that resolves this vulnerability.

    Fixed in 7:5.1.9-0+deb12u1Fixed in 7:7.1.5-0+deb13u1Fixed in 7:9.0.2-4

Event History

Jul 16, 2025
Data Sourced
via Red Hat·05:13 AM
DescriptionSeverityAffected Software
Nov 7, 2025
CVE Published
via MITRE·06:59 PM
Data Sourced
via MITRE·06:59 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-7700?

CVE-2025-7700 is classified as a low severity vulnerability due to its potential to crash the application without leading to data theft or system control.

2

How do I fix CVE-2025-7700?

To fix CVE-2025-7700, ensure you are using the latest version of FFmpeg, which includes patches for this memory allocation issue.

3

What is the impact of CVE-2025-7700?

The impact of CVE-2025-7700 is that it can cause applications using FFmpeg to crash when processing certain malformed audio files.

4

Who is affected by CVE-2025-7700?

CVE-2025-7700 affects all users of FFmpeg who may be processing audio files, especially those with malformed content.

5

Are there any known exploits for CVE-2025-7700?

As of now, there are no known public exploits for CVE-2025-7700, but the potential for disruption exists when handling malformed audio files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203