Security Vulnerability Report
中文
CVE-2026-30997 CVSS 7.5 HIGH

CVE-2026-30997

Published: 2026-04-13 15:17:33
Last Modified: 2026-04-23 20:12:35

Description

An out-of-bounds read in the read_global_param() function (libavcodec/av1dec.c) of FFmpeg v8.0.1 allows attackers to cause a Denial of Service (DoS) via a crafted input.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* - VULNERABLE
FFmpeg v8.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import subprocess import os # PoC for CVE-2026-30997 # This script demonstrates the execution flow to trigger the vulnerability. # Requires a crafted AV1 file that exploits the OOB read in read_global_param. crafted_file = "cve_2026_30997_poc.av1" print(f"[*] Attempting to process crafted file: {crafted_file}") # Command to run FFmpeg on the crafted file cmd = ["ffmpeg", "-i", crafted_file, "-f", "null", "-"] try: subprocess.run(cmd, check=True, stderr=subprocess.STDOUT) print("[+] File processed without crash (Patch applied or PoC ineffective)") except subprocess.CalledProcessError as e: print(f"[-] FFmpeg crashed (Exit code {e.returncode}) - Vulnerability likely triggered") except FileNotFoundError: print("[!] FFmpeg not found in PATH")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-30997", "sourceIdentifier": "[email protected]", "published": "2026-04-13T15:17:32.570", "lastModified": "2026-04-23T20:12:35.007", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An out-of-bounds read in the read_global_param() function (libavcodec/av1dec.c) of FFmpeg v8.0.1 allows attackers to cause a Denial of Service (DoS) via a crafted input."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-125"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*", "versionEndIncluding": "8.0.1", "matchCriteriaId": "CC0744C3-5732-466C-B936-078E938A66B6"}]}]}], "references": [{"url": "https://excellent-oatmeal-319.notion.site/CVE-2026-30997-Out-of-Bounds-Access-a7929817b9794568b2f7774397c7d65f", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Third Party Advisory"]}, {"url": "https://github.com/FFmpeg/FFmpeg", "source": "[email protected]", "tags": ["Product"]}]}}