# CVE-2026-12706: Ffmpeg: ffmpeg: heap use-after-free read in rasc decoder decode_move()

Status: published. Published: 2026-06-19. Updated: 2026-11-25.

A use-after-free vulnerability was found in FFmpeg's RASC video decoder. The decode_move() function initializes a read pointer into a decompressed buffer, but a subsequent reallocation of that same buffer during move-table processing leaves the pointer dangling. An attacker could exploit this by providing a specially crafted AVI file containing a malicious RASC video stream. When a user opens or plays the file, the decoder reads from freed heap memory, which could lead to a denial of service (crash).

## Remediation

- workaround: If the RASC decoder is not needed, it can be disabled at build time with --disable-decoder=rasc. There is no runtime workaround that disables the decoder without rebuilding FFmpeg. (source: CNA: redhat)

## Affected products and versions

- Red Hat / Red Hat AI Inference Server 3.5 (rhaii/vllm-cpu-rhel9): ≥ 1795123582; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat AI Inference Server 3.5 (rhaii/vllm-cuda-rhel9): ≥ 1795543686; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat AI Inference Server 3.5 (rhaii/model-opt-cuda-rhel9): ≥ 1795544069; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat AI Inference Server 3.5 (rhaii/vllm-spyre-rhel9): ≥ 1795543686; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3 (ffmpeg): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3 (nv-codec-headers): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3 (rhelai3/bootc-aws-cuda-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3 (rhelai3/bootc-azure-cuda-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3 (rhelai3/bootc-azure-rocm-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3 (rhelai3/bootc-cuda-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3 (rhelai3/bootc-gcp-cuda-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux AI (RHEL AI) 3 (rhelai3/bootc-rocm-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-openvino-model-server-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-vllm-gaudi-rhel9): Version range not reported. Source: CNA: redhat

## Severity and prioritization

- CVSS 3.1: 6.5 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H; source: CNA: redhat

- CISA KEV: No listing in collected sources

- EPSS: 0.45% as of 2026-11-24; percentile 39.90%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-416

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/errata/RHSA-2026:103315 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:103421 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:103422 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:103423 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2026-12706 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2490710 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://lists.ffmpeg.org/archives/list/ffmpeg-devel@ffmpeg.org/message/TTRIJZA7UL6KJTEDMMBGZPLLJERJ3EFX/ (CNA: redhat)

- https://patchwork.ffmpeg.org/project/ffmpeg/patch/177766314111.63.10674887811034989327@29965ddac10e/ (CNA: redhat)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2026-12706; retrieved 2026-11-25; source updated 2026-11-25

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-12706; retrieved 2026-11-25; source updated Not reported

Revision: b52e5768a1b2ffecb9cbe675e4e9ae820fd4a2ecda4de7f2f206b3ffe883a9ae

Canonical: https://y2.dev/cve/CVE-2026-12706

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.