CVE-2026-135705: FFmpeg before 9.1 Stack Out-of-Bounds Read via ff_h264_parse_framesize()

Published Nov 24, 2026
·
Updated

FFmpeg before 9.1 contains a stack out-of-bounds read vulnerability in ffh264parseframesize() in libavformat/rtpdech264.c when parsing an SDP a=framesize attribute lacking a height. Attackers controlling an RTSP server DESCRIBE response or a crafted .sdp file can make atoi() read past the line buffer, crashing clients or parsing stale stack bytes.

Affected Software

1 affected component
FFmpeg FFmpeg<9.1

Event History

Nov 24, 2026
CVE Published
via MITRE·03:14 AM
Data Sourced
via MITRE·03:14 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required for exploitation?

A user must cause an affected FFmpeg client to parse SDP containing an H.264 a=framesize attribute with no height value. The malicious SDP can be delivered by an attacker-controlled RTSP server in its DESCRIBE response or through a crafted .sdp file.

2

Which deployments are most exposed?

Clients that connect to untrusted RTSP servers or open SDP files from untrusted sources are exposed. The provided data does not identify any affected default configuration beyond parsing such attacker-controlled SDP input.

3

What is the likely impact if the issue is triggered?

The out-of-bounds read can crash the client, causing denial of service. It may also cause parsing of stale bytes from the stack.

4

How can exposure be reduced before upgrading?

Avoid opening untrusted .sdp files and restrict RTSP connections to trusted servers or otherwise validate SDP content before it reaches FFmpeg. In particular, reject H.264 a=framesize attributes that lack a height.

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