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: < 1% Very Low
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 and CWE‑787: incorrect conversion between data types and potential buffer over‑read issues.

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. With an EPSS score of 0.00117, the likelihood of real‑world exploitation is very low, although the flaw provides a predictable memory corruption path that an attacker might use in a controlled environment receiving AV1 RTP streams. The flaw is not listed in CISA’s KEV catalog, suggesting no known widespread exploitation. Based on the description, it is inferred that the vulnerability could be triggered remotely by a malicious RTP packet, so the potential for a remote exploit exists on affected builds.

Generated by OpenCVE AI on August 28, 2026 at 20:22 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 28, 2026 at 20:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 21 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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-21T19:52:12.755Z

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

Link: CVE-2026-75145

cve-icon Vulnrichment

Updated: 2026-08-21T19:52:07.912Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-08-31T20:37:35.877

Link: CVE-2026-75145

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-19T16:27:33Z

Links: CVE-2026-75145 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T20:30:08Z

Weaknesses
  • CWE-681

    Incorrect Conversion between Numeric Types

  • CWE-787

    Out-of-bounds Write