Skip to main content

GPAC MP4Box CVE-2025-60492

| EUVDEUVD-2025-211161 MEDIUM
Stack-based Buffer Overflow (CWE-121)
2026-10-21 mitre GHSA-4mxf-v6rf-pwrv
5.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted MP4 with deep BIFS tree
  2. Exploit
    Victim parses file with MP4Box
  3. Execution
    Unbounded recursion in gf_bifs_dec_node
  4. Impact
    Stack exhaustion crashes process (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the victim to open or process an attacker-crafted MP4 file containing a BIFS (Binary Format for Scenes) stream with node nesting deeper than ~1500 levels using GPAC/MP4Box before version 2.5; the recursive gf_bifs_dec_node decoder has no depth bound in vulnerable builds. Limiting factors: the vector is local (AV:L) and requires user interaction (UI:R) - the file must actually be parsed by MP4Box, so there is no remote network trigger; impact is confined to a crash (A:H only, C:N/I:N) with no code execution or data exposure; and the file must specifically reach the BIFS decode path. No non-default configuration is needed beyond processing a file that contains BIFS content.

Impact

This is a moderate, low-priority availability issue, not an urgent one. The provided CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H vector (base 5.5) describes a local, low-complexity flaw with no confidentiality or integrity impact and only high availability impact (a crash), requiring user interaction to trigger. The AV:L plus UI:R combination is consistent with the description: exploitation requires a victim to run MP4Box against an attacker-supplied crafted file, so this is not a remotely-triggerable service compromise. A public POC exists (publicly available exploit code exists), which raises practical reproducibility, but there is no CISA KEV listing and no EPSS score was provided, so there is no evidence of active or widespread exploitation - the POC signal and the absence of KEV should not be conflated. The upstream commit (8e7b9a3) confirms the root cause as unbounded recursion in gf_bifs_dec_node, fixed by capping BIFS tree depth at 1500, which corroborates a stack-exhaustion DoS rather than code execution. No SSVC decision data, EPSS probability, or CWE was supplied in the input, so automatability and exploitation-status framing cannot be fully evaluated. Net: a real but self-contained DoS in a file-parsing tool, appropriately mid-severity.

Exploit ScenarioDerived

An attacker crafts an MP4 file containing a BIFS scene with excessively deep node nesting and delivers it to a victim or an automated media pipeline. When the victim parses the file with MP4Box/GPAC (before 2.5), gf_bifs_dec_node recurses without a depth limit, exhausting the stack and crashing the process. A public proof-of-concept for this crash is available (publicly available exploit code exists), and because the CVSS vector is AV:L with UI:R, the attack depends on the victim locally processing the malicious file rather than any remote network trigger.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 21, 2026

GPAC MP4Box before 2.5 can be crashed by a crafted MP4 file whose BIFS scene description contains deeply nested nodes, exhausting the stack in gf_bifs_dec_node and causing a denial of service. The CVSS 3.1 vector is AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, so exploitation is local, requires the victim to open or process the file, and affects only availability; publicly available exploit code exists. No CISA KEV entry is indicated in the provided data.

RemediationAI

Vendor-released patch: GPAC/MP4Box 2.5. Upgrade to version 2.5 or later; the fix adds a MAX_TREE_DEPTH of 1500 in gf_bifs_dec_node and is visible in commit 8e7b9a3a04331286b89d1803c65a2d6edc11b4c4 (issue https://github.com/gpac/gpac/issues/3324). If upgrading is not immediately possible, do not process untrusted MP4 files that may contain BIFS scene streams, and run MP4Box in a sandboxed low-privilege environment with crash isolation; this trades functionality for risk reduction and does not eliminate the stack-exhaustion condition. Because the vector is local with user interaction, also restrict automated ingestion of untrusted media and validate file provenance. Vendor/advisory references include https://github.com/gpac/gpac/issues/3324, https://github.com/gpac/gpac/commit/8e7b9a3a04331286b89d1803c65a2d6edc11b4c4, and https://vuldb.com/vuln/424844.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

BIFS (Binary Format for Scenes) is an MPEG-4 scene description syntax decoded by GPAC/MP4Box. In vulnerable builds, gf_bifs_dec_node in src/bifs/field_decode.c recursively decodes node fields without tracking recursion depth, so a crafted BIFS stream can force stack exhaustion and abort the process. The upstream fix commit 8e7b9a3a04331286b89d1803c65a2d6edc11b4c4 adds a tree_depth counter to struct __tag_bifs_dec and rejects decoding when depth exceeds MAX_TREE_DEPTH (1500), returning GF_NON_COMPLIANT_BITSTREAM. CWE is not provided; the root cause class is uncontrolled recursion/stack overflow. The public PoC at https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/59/README.md demonstrates the crash path.

Know when Gpac gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

MP4Box parses a supplied file locally (AV:L) requiring the victim to run it (UI:R); no auth needed (PR:N); deterministic recursion (AC:L) yields only a crash, so C:N/I:N/A:H.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVE Published
Oct 21, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Oct 21, 2026 - 00:00 cve.org
MEDIUM 5.5

DescriptionCVE.org

A stack overflow in the gf_bifs_dec_node function (/bifs/field_decode.c) of GPAC Project/MP4Box before 2.5 allows attackers to cause a Denial of Service (DoS) via supplying a crafted MP4 file.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Medium
popular open-source multimedia framework/tool, common in media processing but not everywhere
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Gpac

View all
CVE-2023-46932 CRITICAL POC
9.8 Dec 09

Heap Buffer Overflow vulnerability in GPAC version 2.3-DEV-rev617-g671976fcc-master, allows attackers to execute arbitra

CVE-2023-2840 CRITICAL POC
9.8 May 22

NULL Pointer Dereference in GitHub repository gpac/gpac prior to 2.2.2. Rated critical severity (CVSS 9.8), this vulnera

CVE-2022-36190 CRITICAL POC
9.8 Aug 17

GPAC mp4box 2.1-DEV-revUNKNOWN-master has a use-after-free vulnerability in function gf_isom_dovi_config_get. Rated crit

CVE-2022-1795 CRITICAL POC
9.8 May 18

Use After Free in GitHub repository gpac/gpac prior to v2.1.0-DEV. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2021-28300 CRITICAL POC
9.8 Apr 14

NULL Pointer Dereference in the "isomedia/track.c" module's "MergeTrack()" function of GPAC v0.5.2 allows attackers to e

CVE-2020-11558 CRITICAL POC
9.8 Apr 05

An issue was discovered in libgpac.a in GPAC 0.8.0, as demonstrated by MP4Box. Rated critical severity (CVSS 9.8), this

CVE-2018-13005 CRITICAL POC
9.8 Jun 29

An issue was discovered in MP4Box in GPAC 0.7.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2023-2838 CRITICAL POC
9.1 May 22

Out-of-bounds Read in GitHub repository gpac/gpac prior to 2.2.2. Rated critical severity (CVSS 9.1), this vulnerability

CVE-2023-0841 HIGH POC
8.8 Feb 15

A vulnerability, which was classified as critical, has been found in GPAC 2.3-DEV-rev40-g3602a5ded.c. Rated high severit

CVE-2022-4202 HIGH POC
8.8 Nov 29

A vulnerability, which was classified as problematic, was found in GPAC 2.1-DEV-rev490-g68064e101-master. Rated high sev

CVE-2021-21850 HIGH POC
8.8 Aug 25

An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Adv

CVE-2021-21849 HIGH POC
8.8 Aug 25

An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Adv

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy