Skip to main content

GPAC MP4Box EUVDEUVD-2026-127281

| CVE-2026-130792 MEDIUM
Integer Underflow (CWE-191)
2026-11-17 VulnCheck GHSA-4wqq-rhp9-67cf
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious XML/XMT file
  2. Delivery
    Deliver to victim for media processing
  3. Exploit
    Victim runs MP4Box on the file
  4. Execution
    Integer underflow in xml_sax_append_string size math
  5. Persist
    Heap buffer overflow corrupts memory
  6. Impact
    Process crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
Exploitation Conditions

Exploitation requires that a victim process an attacker-crafted XML or XMT file with GPAC's MP4Box, where the parser buffers a partial entity and then completes it, driving the size arithmetic in xml_sax_append_string() to underflow. There is no remote network vector: the CVSS 4.0 vector is AV:L and UI:P, so the attacker cannot trigger this directly over a network and depends on a user performing the processing action. Key limiting factors are (1) required user interaction - someone must feed the malicious file to MP4Box; (2) local scope - the file must reach and be processed on the target host; and (3) affected versions only (all GPAC before 26.07.0; fixed in 26.07.0). No special non-default configuration is called out - the XML/XMT entity-parsing path is core parser behavior - and no authentication is required (PR:N).

Impact

This is a moderate-severity, locally-triggered memory-corruption flaw (CVSS 4.0 base 6.9) that should be prioritized for routine patching rather than treated as an emergency. The signals are internally consistent and all point away from mass exploitation: the CVSS 4.0 vector is AV:L (local - the attacker does not reach the target over a network but must get a crafted file processed on the victim's machine), AC:L, PR:N (no privileges), and UI:P (passive user interaction - the victim must open/process the file). SSVC reinforces this: Exploitation=none (no observed exploitation), Automatable=no (each case needs a user to run MP4Box on a malicious file), Technical Impact=partial. The vulnerability is NOT in CISA KEV, so it is not confirmed actively exploited. No EPSS score was supplied, so widespread-exploitation probability cannot be quantified from this input. On exploit availability, the input states the PoC is 'reference only, not verified as working exploit code,' and the references include two sigdevel/pocs crash inputs - so a public PoC reference exists but is not verified as working exploit code; this is a distinct, weaker signal than active exploitation. The vuln.today Decision label is 'this_month,' aligning with a plan-and-patch cadence. Net: a real but bounded issue - primarily a denial-of-service/crash against users who process attacker-supplied media/scene files with MP4Box, not a remotely wormable priority.

Exploit ScenarioDerived

An attacker crafts a malicious XML or XMT file whose entity data triggers the integer underflow in the GPAC XML SAX parser, then convinces a victim to process it with MP4Box (for example, as part of a media-conversion or packaging workflow). When MP4Box completes the partially buffered entity, xml_sax_append_string() size arithmetic underflows and corrupts the heap, crashing the process. A public PoC reference exists but is not verified as working exploit code, so demonstrated impact is reliably a crash (denial of service); escape beyond a crash is not established by the sources.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 18, 2026

Heap-based buffer overflow in GPAC's XML SAX parser (src/utils/xml_parser.c) affects every release before 26.07.0 and is reachable through MP4Box, the toolkit's command-line muxer, when it processes a crafted XML or XMT file. The flaw is an integer underflow (CWE-191) in the size arithmetic of xml_sax_append_string() that is driven when the parser completes a partially buffered entity, producing an undersized heap allocation and subsequent out-of-bounds write; successful abuse corrupts heap memory and crashes the process, with low confidentiality and integrity impact and high availability impact (CVSS 4.0 base 6.9, AV:L/UI:P/PR:N per the assessed vector, meaning the attacker cannot trigger it remotely and depends on a user feeding the file to MP4Box). This is a moderate-severity, locally-triggered memory-corruption flaw that should be prioritized for routine patching rather than treated as an emergency: no active exploitation is recorded (SSVC Exploitation: none, no CISA KEV), although a public PoC reference exists and is not verified as working exploit code, and version 26.07.0 is the fixed release.

RemediationAI

Vendor-released patch: GPAC 26.07.0 - upgrade to that release or later (https://github.com/gpac/gpac/releases/tag/v26.07.0). Operators building from source can apply the two upstream commits referenced by the advisory: e87dff25aa91f9a52d8857b4d8558c93960c9522 (adds the saturation guard if (size >= GF_UINT_MAX - nl_size - 1) return GF_BAD_PARAM; in xml_sax_append_string() along with the loader_xmt.c node-lifetime fixes) and 6f54ff86b2fdc045d6a683b93f9ced8928d8b35c. Because the trigger is XML/XMT entity parsing inside MP4Box, the practical interim control is to keep MP4Box from consuming untrusted XML/XMT scene files until the upgrade is deployed - sandbox or containerize batch conversion jobs and restrict who can supply input files, accepting that this limits functionality for legitimate scene-description workflows. Review the VulnCheck advisory (https://www.vulncheck.com/advisories/gpac-before-26.07.0-heap-buffer-overflow-via-xml-sax-parser-entity-handling) and the NVD entry (https://nvd.nist.gov/vuln/detail/CVE-2026-130792) for any vendor follow-up.

Affected VersionsENISA

GPAC 0 <26.07.0

Affected Packages

euvd gpac fix: 26.07.0

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 ships a lightweight SAX-style XML parser in src/utils/xml_parser.c that is reused by the XMT scene loader (src/scene_manager/loader_xmt.c) to build scene graphs from XML/XMT documents. The vulnerable path is the entity-completion logic inside gf_xml_sax_parse_intern(), which accumulates character data through xml_sax_append_string(); the size computation there can wrap below zero (CWE-191, integer underflow) when a partial entity is buffered and then completed, so the buffer growth check passes with a small or zero length while the copy/append still writes the full data, overflowing the heap chunk. The upstream fix in xml_parser.c adds an explicit saturation guard, if (size >= GF_UINT_MAX - nl_size - 1) return GF_BAD_PARAM;, before the arithmetic is used for allocation. The companion commit in loader_xmt.c is node-lifetime hardening in the same change set - guards for a missing scene access unit, comparisons against undef_node/def_node and node!=NULL checks, and de-duplication of node register/unregister cleanup in load_xmt_done() using a temporary list - which removes adjacent null-dereference and double-cleanup crash paths in the XMT parser rather than the overflow itself. References in the advisory point to the affected code ranges in the v26.02.0 tree (xml_parser.c around lines 977-998 and 1040-1069).

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 (VulnCheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.6 MEDIUM

Local file must be opened by a user (AV:L, UI:R) with no privileges (PR:N); heap corruption reliably crashes the process (A:H) with limited C/I impact and no scope change.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

GPAC before 26.07.0 contains an integer underflow in gf_xml_sax_parse_intern() in src/utils/xml_parser.c that causes a heap-based buffer overflow when completing partially buffered entities. Attackers can convince a user to process a crafted XML or XMT file with MP4Box, overflowing xml_sax_append_string() size arithmetic to corrupt heap memory and crash the process.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
GPAC/MP4Box is a common multimedia framework in video packaging pipelines, not ubiquitous
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.2%
Patch available Yes
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
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

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