
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-4015 is a stack-based buffer overflow vulnerability in GPAC version 26.03-DEV, affecting the txtin_process_texml() function in src/filters/load_text.c within the TeXML File Parser component. The vulnerability was reported on February 22, 2026, by researcher BreakingBad6 via a GitHub issue, and was publicly disclosed on March 12, 2026. It affects GPAC 26.03-DEV (master HEAD) and has a CVSS v3.1 base score of 5.3 (Medium) and a CVSS v4.0 base score of 4.8 (Medium) (VulDB via Feedly, GitHub Issue, Red Hat CVE).
The root cause is an improper restriction of operations within the bounds of a memory buffer (CWE-119, CWE-121). In txtin_process_texml(), two fixed-size stack arrays are declared — GF_StyleRecord styles[50] and Marker marks[50] — with no bounds checking on the counters nb_styles and nb_marks. At line 3844, each parsed TeXML block writes to styles[nb_styles] via memset() without verifying that nb_styles < 50, and nb_styles++ is incremented unconditionally at line 3877; the same pattern exists for marks[nb_marks] near line 3970. An attacker can trigger the overflow by supplying a crafted TeXML file containing more than 50 style or marker blocks, processed locally via MP4Box (GitHub Issue, GitHub Commit). The attack vector is local and requires low privileges with no user interaction beyond processing the malicious file.
Successful exploitation can result in limited confidentiality, integrity, and availability impacts on the local system, as reflected in the CVSS scoring. The stack-based buffer overflow may cause application crashes (denial of service) or, under favorable conditions, enable arbitrary code execution in the context of the user running GPAC tools such as MP4Box. Because the attack is local and scoped to the affected process, lateral movement potential is low, but the vulnerability could be chained with other weaknesses in environments where GPAC processes untrusted media files automatically (GitHub Issue, Feedly).
A public proof-of-concept exploit is available: a Python script (poc_texml_overflow.py) and a crafted XML file (poc_texml_overflow.xml) were published alongside the GitHub issue report, generating a TeXML file with more than 60 style blocks to trigger the overflow (GitHub PoC, GitHub Issue). The CVSS v4.0 exploit maturity is rated as PROOF_OF_CONCEPT. The EPSS score is approximately 0.013% (0.000130), indicating a low probability of widespread exploitation. No in-the-wild exploitation, threat actor attribution, or CISA KEV catalog listing has been reported as of the latest available data (Feedly).
poc_texml_overflow.py) to generate a TeXML XML file containing more than 50 <style> blocks (e.g., 60 blocks), which exceeds the fixed stack array size of styles[50] in txtin_process_texml().poc_texml_overflow.xml on the local system where GPAC is installed, or in a directory processed automatically by a GPAC-based pipeline.MP4Box -add poc_texml_overflow.xml:ext=texml -new /tmp/test.mp4 to invoke the vulnerable TeXML parser.txtin_process_texml() iterates over the style blocks, it writes beyond the styles[50] array boundary via memset() without bounds checking, corrupting adjacent stack memory.MP4Box or gpac processes when processing TeXML files; ASAN/sanitizer output referencing txtin_process_texml in src/filters/load_text.c around line 3844.<style> or <marker> blocks in directories processed by GPAC; presence of poc_texml_overflow.xml or similarly named files.MP4Box or gpac; application logs showing [TXTLoad] Too many style blocks or [TXTLoad] Too many marker blocks warnings (only after patching); stack trace logs referencing load_text.c:3844 or load_text.c:3970.The GPAC project has released a patch in commit d29f6f1ada5cc284cdfa783b6f532c7d8bd049a5, which adds bounds checks before writing to styles[nb_styles] and marks[nb_marks], logging a warning and skipping excess blocks when the array limit is reached (GitHub Commit). Users should update to a build of GPAC that includes this commit (post-26.03-DEV master). As a workaround, avoid processing untrusted or externally sourced TeXML files with unpatched GPAC installations, and consider building GPAC with stack protection flags (-fstack-protector-strong) and ASLR enabled to reduce exploitation impact.
The vulnerability was reported through the GPAC GitHub issue tracker by researcher BreakingBad6 on February 22, 2026, and was promptly addressed by GPAC maintainer aureliendavid with a patch commit (GitHub Issue, GitHub Commit). The issue was also tracked by VulDB, ENISA's EUVD (EUVD-2026-11549), and Red Hat's CVE database. No significant broader media coverage or notable security researcher commentary beyond the initial disclosure has been identified.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."