JLSEC-2026-2201: FFmpeg before 9.1 contains a stack-based buffer overflow vulnerability in ff_rtmp_packet_write()...

Published Dec 2, 2026
·
Updated

FFmpeg before 9.1 contains a stack-based buffer overflow vulnerability in ffrtmppacketwrite() in libavformat/rtmppkt.c that allows malicious RTMP servers to overflow a 16-byte header buffer. Attackers can send a Set Chunk Size packet on a high channel id with an extended timestamp, which handlechunksize() echoes back, corrupting the publishing client's stack.

Affected Software

2 affected componentsFixes available
julia/ffmpeg_jll<9.1.0+0
9.1.0+0
julia/ffmpeg_nogpl_jll<9.1.0+0
9.1.0+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/FFMPEG_jll to a version that resolves this vulnerability.

    Fixed in 9.1.0+0
  2. Upgrade

    Upgrade julia/FFMPEG_nogpl_jll to a version that resolves this vulnerability.

    Fixed in 9.1.0+0

Event History

Dec 2, 2026
Advisory Published
via OSV·09:05 PM
Data Sourced
via OSV·09:05 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Publishing clients that connect to an attacker-controlled or malicious RTMP server are exposed. The affected software entries are julia/ffmpeg_jll and julia/ffmpeg_nogpl_jll when they include FFmpeg versions before 9.1.

2

What must an attacker do to trigger the overflow?

The attacker needs to operate or control an RTMP server that the client connects to for publishing. The server sends a Set Chunk Size packet using a high channel ID and an extended timestamp, causing the client to echo the packet and overflow its stack-based header buffer.

3

What is the immediate remediation?

Upgrade to FFmpeg 9.1 or later. For the listed Julia packages, use a package release that incorporates FFmpeg 9.1 or later.

4

What can be done if an upgrade is not immediately available?

Avoid publishing to untrusted RTMP servers and restrict publishing connections to known, trusted RTMP endpoints. This reduces the opportunity for an attacker-controlled server to supply the malicious packet.

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