UBUNTU-CVE-2026-125265: Use After Free

Published Nov 10, 2026
·
Updated

FFmpeg through 9.0.2 contains a use-after-free vulnerability in libavcodec/nvdec.c because ffnvdecstartframe() fails to reset ctx->bitstream after slice errors. Attackers can supply crafted video that abandons a picture before endframe, causing cuvidDecodePicture() to read freed heap memory, crashing applications or exposing stale heap contents.

Affected Software

7 affected components
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*

Event History

Nov 10, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed?

Applications using Ubuntu's FFmpeg package to decode untrusted video through the libavcodec NVDEC path are exposed if they use an affected FFmpeg version through 9.0.2.

2

What does exploitation require?

An attacker must provide specially crafted video that triggers slice errors and abandons a picture before end_frame. The CVSS vector indicates local attack access, high attack complexity, no privileges required, and user interaction is required.

3

How can I determine whether a system may be affected?

Check whether the system uses the Ubuntu FFmpeg package and whether its FFmpeg version is through 9.0.2. Also identify applications that process externally supplied video using NVDEC decoding.

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