CVE-2026-30754: FFmpeg FFmpeg vulnerability

Published Sep 8, 2026
·
Updated

A memory corruption vulnerability exists in FFmpeg before 8.1. The RTP encoding process. In the nalsend function in libavformat/rtpench264hevc.c, a negative size parameter (size=-3) is passed to memcpy when transmitting H.264/HEVC streams via RTP using a crafted input file. This was detected using AddressSanitizer.

Affected Software

1 affected component
FFmpeg FFmpeg<8.1

Event History

Sep 8, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·09:17 PM
Description

Frequently Asked Questions

1

Which FFmpeg deployments are exposed?

FFmpeg versions before 8.1 are affected when they transmit H.264 or HEVC streams over RTP. The vulnerable code is in the RTP encoding path, so deployments that do not use RTP output for those codecs are not described as affected by this issue.

2

What must an attacker provide to trigger the flaw?

The issue is triggered through a crafted input file during RTP transmission of H.264 or HEVC streams. The crafted input causes the nal_send function to pass a negative size value, reported as -3, to memcpy.

3

What is the immediate mitigation if upgrading is not possible?

Avoid processing untrusted H.264 or HEVC input files through FFmpeg workflows that encode or transmit those streams via RTP. Upgrade to FFmpeg 8.1 or later when possible.

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