Description
FFmpeg before commit b4c199c contains an incorrect integer narrowing conversion in the AV1 RTP packetizer (libavformat/rtpenc_av1.c). The OBU size is cast to long before comparison against the remaining frame size. On targets where long is 32 bits, including 64-bit Windows, sufficiently large OBU size values are sign-flipped by the narrowing cast, producing a negative value that passes the payload size check. This allows an oversized OBU to bypass the safety bound on affected platforms, leading to out-of-bounds memory access when the oversized value is subsequently used as a copy length.
Published: 2026-08-19
Score: 5.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The AV1 RTP packetizer in FFmpeg performs an improper integer narrowing conversion when comparing the size of an AV1 OBU against the remaining frame size. On platforms where the C type long is 32 bits, the conversion sign‑extends large OBU sizes to a negative value that passes the payload size check. This flaw allows an attacker to send an oversized OBU within a crafted RTP packet; the unchecked copy length then results in out‑of‑bounds memory access, which could corrupt memory, crash the process or be leveraged to gain arbitrary code execution. The weakness is identified by CWE‑681: Incorrect conversion between data types.

Affected Systems

FFmpeg software distributed as the libavformat/rtpenc_av1 component is affected. Any FFmpeg build that contains a code path prior to the commit b4c199c5906ff53368926c2a5839881f41957e7f is vulnerable. The vulnerability is present on systems where the long type is 32 bits, including 64‑bit Windows, but is not reported on platforms where long is 64 bits. Therefore, FFmpeg installations on Windows, Linux, macOS, and other operating systems that compile the library with a 32‑bit long should be considered vulnerable until the fix is applied.

Risk and Exploitability

The CVSS score of 5.8 indicates a moderate impact if exploited. Because the EPSS score is not available, the exact likelihood of real‑world exploitation cannot be quantified, but the flaw offers a predictable memory corruption path that an attacker might leverage in a controlled environment that receives AV1 RTP streams. The flaw is not currently listed in CISA’s KEV catalog, suggesting no known widespread exploitation. Nonetheless, the vulnerability could be triggered remotely over the network by delivering a malicious RTP packet, so the potential for a remote exploit exists on affected builds.

Generated by OpenCVE AI on August 20, 2026 at 00:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to a version that includes the commit b4c199c5906ff53368926c2a5839881f41957e7f or later releases; the patch restores correct type comparison and prevents the OBU size sign‑extension issue.
  • If an immediate upgrade is not feasible, disable AV1 RTP packetization in the application or drop any AV1 RTP streams at the network boundary to stop the fault path.
  • For clients that must process AV1 RTP traffic, enforce strict input validation or use the latest stable release of FFmpeg that has been tested for this fix.

Generated by OpenCVE AI on August 20, 2026 at 00:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Vendors & Products Ffmpeg
Ffmpeg ffmpeg

Wed, 19 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Description FFmpeg before commit b4c199c contains an incorrect integer narrowing conversion in the AV1 RTP packetizer (libavformat/rtpenc_av1.c). The OBU size is cast to long before comparison against the remaining frame size. On targets where long is 32 bits, including 64-bit Windows, sufficiently large OBU size values are sign-flipped by the narrowing cast, producing a negative value that passes the payload size check. This allows an oversized OBU to bypass the safety bound on affected platforms, leading to out-of-bounds memory access when the oversized value is subsequently used as a copy length.
Title FFmpeg Integer Narrowing Conversion OOB Memory Access in AV1 RTP Packetizer
Weaknesses CWE-681
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H'}

cvssV4_0

{'score': 5.8, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-19T16:27:33.120Z

Reserved: 2026-08-17T18:39:57.662Z

Link: CVE-2026-75145

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-19T17:21:12.863

Modified: 2026-08-19T17:21:12.863

Link: CVE-2026-75145

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T00:30:04Z

Weaknesses
  • CWE-681

    Incorrect Conversion between Numeric Types