Skip to main content

GPAC MP4Box CVE-2026-9572

| EUVDEUVD-2026-31955 LOW
Memory Leak (CWE-401)
2026-05-26 VulDB GHSA-77xc-cwff-62wp
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege local account
  2. Delivery
    Craft MP4 with zero-sum data_size/padding_bytes
  3. Exploit
    Invoke MP4Box on crafted file
  4. Execution
    Trigger unguarded zero-size allocation in Media_GetSample
  5. Persist
    Leak heap memory on each sample read
  6. Impact
    Degrade process availability

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Local execution environment is required - the CVSS vector specifies AV:L, meaning this vulnerability is not remotely exploitable under any configuration. The attacker must have a low-privilege local account on the target system (PR:L) and the ability to invoke MP4Box or an application using the GPAC isomedia library with attacker-controlled input. The triggering condition is a crafted MP4 file where the combination of data_size and mediaTrack->padding_bytes sums to zero within the Media_GetSample function. Exploitation is bounded by: no network attack path, authenticated local session required, impact limited to low availability degradation (no code execution, no data exfiltration per CVSS), and no user interaction beyond running the tool on the malicious file.

Impact

All available signals converge on very low real-world risk. The CVSS 4.0 base score is 1.9, with attack vector local (AV:L), low attack complexity (AC:L), low privileges required (PR:L), no user interaction (UI:N), and impact limited to low availability (VA:L) with no confidentiality or integrity impact (VC:N/VI:N). The EPSS score of 0.01% at the 2nd percentile indicates this CVE is almost never targeted in observed exploitation activity. The CVE is not listed in the CISA KEV catalog. A public POC (poc.zip) is confirmed, which is a meaningful signal, but it does not override the local-only, low-privilege, low-impact profile. One data conflict to note: the intelligence tags this as 'Information Disclosure,' yet the CVSS vector explicitly shows VC:N (no confidentiality impact) - defenders should not treat memory-leak heap residue as a confirmed data-exfiltration primitive here. This vulnerability should be patched in routine maintenance cycles rather than treated as an emergency.

Exploit ScenarioDerived

A local attacker with standard user-level privileges crafts a malicious MP4 file in which the cat argument manipulation causes data_size + padding_bytes to resolve to zero during sample retrieval by Media_GetSample. When a victim or automated pipeline processes this file with MP4Box, the degenerate allocation path is triggered repeatedly, leaking memory until the process degrades or terminates. A public POC archive (poc.zip, referenced at https://github.com/user-attachments/files/27270415/poc.zip) is available, lowering the technical bar for exploitation.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 08, 2026

Memory leak in GPAC MP4Box up to version 2.4.0 allows a local, low-privileged attacker to exhaust process memory by supplying a crafted MP4 file that triggers the vulnerable Media_GetSample function in src/isomedia/media.c. The root cause is a missing zero-size guard before memory allocation when the cat argument is manipulated to produce a zero-sum of data_size and padding_bytes. A publicly available proof-of-concept exploit (poc.zip) exists, but the CVSS 4.0 score of 1.9, EPSS of 0.01% (2nd percentile), and strictly local attack vector collectively indicate very low real-world risk; no active exploitation has been identified.

RemediationAI

The upstream fix is available as commit e79c5cbe8b3fed27f4854ec229457d30c96206f1 on the GPAC GitHub repository (https://github.com/gpac/gpac/commit/e79c5cbe8b3fed27f4854ec229457d30c96206f1). No tagged release version containing this fix has been independently confirmed at time of analysis - organizations should build from the patched commit or monitor the GPAC release page (https://github.com/gpac/gpac/) for an official release that includes it. As a compensating control where patching is not immediately possible, restrict MP4Box execution to trusted input files only, enforced via file-system ACLs or process sandboxing (e.g., seccomp, AppArmor) that limits which users or services can invoke the tool. The availability impact is low, so risk of delaying the patch until the next scheduled maintenance window is acceptable for most deployments.

Affected VersionsENISA

GPAC 2.4.0
GPAC 2.2
GPAC 2.0
GPAC 2.1
GPAC 2.3

Affected Packages

euvd gpac no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

GPAC is an open-source multimedia framework widely used for MP4/ISOBMFF processing; MP4Box is its primary command-line tool for muxing and inspecting ISO Base Media File Format containers. The vulnerable code path is Media_GetSample (src/isomedia/media.c), which retrieves sample data for a given track. The CWE-401 (Missing Release of Memory after Effective Lifetime) root cause manifests when data_size + mdia->mediaTrack->padding_bytes evaluates to zero: prior to the patch, no guard existed before passing this zero value to the custom sample_alloc_cbk, gf_realloc, or gf_malloc allocation paths. The fix (commit e79c5cbe) precomputes size_to_alloc and returns GF_IO_ERR immediately if it is zero, preventing the degenerate allocation. Affected CPE: cpe:2.3:a:n/a:gpac:*:*:*:*:*:*:*:*, covering GPAC 2.0 through 2.4.0 per EUVD-2026-31955.

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 (VulDB) PRIMARY 1.9 LOW
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 26, 2026 - 19:22 NVD
3.3 (LOW) 1.9 (LOW)

DescriptionCVE.org

A security vulnerability has been detected in GPAC up to 2.4.0. Affected by this issue is the function Media_GetSample of the file src/isomedia/media.c of the component MP4Box. Such manipulation of the argument cat leads to memory leak. The attack can only be performed from a local environment. The exploit has been disclosed publicly and may be used. The name of the patch is e79c5cbe8b3fed27f4854ec229457d30c96206f1. It is best practice to apply a patch to resolve this issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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