CVE-2026-135743: FFmpeg 4.3 before 9.1 Heap Out-of-Bounds Read/Write via dynaudnorm Filter
FFmpeg 4.3 before 9.1 contains a heap out-of-bounds read and write vulnerability in the dynaudnorm filter because cqueueresize() miscalculates gain history queue element counts when gausssize changes at runtime. Attackers can send gausssize commands via asendcmd scripts or an unauthenticated azmq filter to corrupt heap memory, crashing the process or potentially executing code.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to unauthenticated attack?
Deployments using the dynaudnorm filter are exposed when they include an unauthenticated azmq filter that accepts attacker-supplied gausssize commands. Attackers can also trigger the issue through asendcmd scripts if they can control those scripts or their contents.
What must an attacker do to trigger the memory corruption?
The attacker must cause gausssize to change at runtime through a command path such as asendcmd or azmq. The flaw occurs when cqueue_resize() calculates the gain-history queue element count incorrectly during that change.
What can be done while patching is not immediately possible?
Avoid allowing untrusted parties to supply asendcmd scripts or gausssize commands. Disable or restrict unauthenticated azmq access, and prevent runtime changes to gausssize in filter graphs using dynaudnorm.
How can I determine whether an affected workflow is at risk?
Check whether the FFmpeg version is from 4.3 before 9.1 and whether its filter graphs use dynaudnorm. Then identify whether gausssize can be modified at runtime through asendcmd scripts or an unauthenticated azmq filter.