CVE-2026-12706

Ffmpeg: ffmpeg: heap use-after-free read in rasc decoder decode_move()

State
Published
Severity
6.5 Medium
Published
Jun 19, 2026
Updated
Jun 22, 2026
Reserved
Jun 19, 2026

Read the record on cve.org

Description

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).

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:Hredhat

Weaknesses

Affected Products

ProductVersions
Red Hat Enterprise Linux AI (RHEL AI) 3Red Hat
    Red Hat Enterprise Linux AI (RHEL AI) 3Red Hat
      Red Hat Enterprise Linux AI (RHEL AI) 3Red Hat
        Red Hat Enterprise Linux AI (RHEL AI) 3Red Hat
          Red Hat Enterprise Linux AI (RHEL AI) 3Red Hat
            Red Hat Enterprise Linux AI (RHEL AI) 3Red Hat
              Red Hat Enterprise Linux AI (RHEL AI) 3Red Hat
                Red Hat Enterprise Linux AI (RHEL AI) 3Red Hat
                  Red Hat OpenShift AI (RHOAI)Red Hat
                    Red Hat OpenShift AI (RHOAI)Red Hat

                      References

                      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.