Skip to main content

Bento4 CVE-2026-36908

| EUVDEUVD-2026-39935 MEDIUM
Stack-based Buffer Overflow (CWE-121)
2026-06-26 mitre GHSA-h2mr-gm7g-c3gr
5.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Craft malformed MP4 with oversized trun atom
  2. Delivery
    Deliver file to target via social engineering or shared storage
  3. Exploit
    Target opens file in Bento4-based application
  4. Execution
    EnsureCapacity stack overflow triggered during trun parsing
  5. Impact
    Application process crashes causing denial of service

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

Exploitation requires the victim to actively open a specially crafted MP4 file using an application that links against a vulnerable Bento4 build (before v1.8.9). The CVSS UI:R metric confirms user interaction is mandatory - there is no network-reachable parsing surface; the attacker cannot trigger the overflow remotely without social engineering or a malicious file delivery mechanism. No authentication is required (PR:N) to open a file. Exploitation is limited to a denial-of-service crash; there is no evidence of code execution impact. The vulnerable code path is only reached when the MP4 file contains a trun atom that causes EnsureCapacity to be invoked with a size value that overflows the stack buffer. Non-default conditions: the victim's environment must have a Bento4-based application installed and must open the file; server-side or automated pipelines that parse MP4 files without user interaction could be affected without UI requirement if the file is fed programmatically.

Impact

The CVSS 3.1 base score of 5.5 (Medium) with vector AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H accurately reflects a constrained threat model: exploitation is local in the sense that the victim must open the file, no network service is exposed, and impact is limited to availability (crash). EPSS of 0.17% at the 7th percentile is consistent with this assessment - the vulnerability is not being actively leveraged in automated campaigns. KEV status is absent, reinforcing low-priority treatment for most organizations. A POC (poc4.zip) is publicly available on GitHub, which modestly raises practical risk for targeted social engineering scenarios. SSVC signals suggest: exploitation is possible but not active, automation is low (requires user file-open action), and technical impact is partial (DoS only, no code execution or data exfiltration). Overall this is a real-but-low-urgency issue: patch when convenient, prioritize if Bento4-based tooling processes untrusted media files in automated or user-facing workflows.

Exploit ScenarioDerived

An attacker crafts a malformed MP4 file with a trun atom engineered to trigger unbounded array growth in EnsureCapacity, then delivers it to a target user via email, download link, or shared network drive. When the victim opens the file using a Bento4-based application (such as MPC-BE or mp42aac), the stack overflows and the application crashes. A public POC (poc4.zip) hosted on GitHub demonstrates this crash, lowering the bar for replication by unsophisticated actors in targeted scenarios.

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

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

Alert me

AnalysisAIv1 – Jun 29, 2026

Stack overflow in Bento4's MP4 parsing component allows an attacker to crash any application built on the library by supplying a crafted MP4 file. The flaw resides in AP4_Array<AP4_TrunAtom::Entry>::EnsureCapacity, a dynamic array growth function invoked while processing Track Run (trun) atoms, and affects all Bento4 releases before v1.8.9. A public proof-of-concept exists (poc4.zip), though EPSS sits at 0.17% and CISA KEV has not listed this CVE, indicating no confirmed widespread exploitation at time of analysis.

RemediationAI

Upgrade Bento4 to v1.8.9 or later, as stated in the CVE description. Downstream projects embedding Bento4 (e.g., MPC-BE) should rebuild against the patched library version once it is integrated. The upstream fix reference is https://github.com/axiomatic-systems/Bento4/issues/842; a specific commit or patch file is not independently confirmed beyond the issue tracker. As a compensating control where upgrading is not immediately possible, restrict the application's access to untrusted MP4 files - for example, validate or sandbox file ingestion pipelines so that user-supplied media is not parsed by Bento4 directly. Disabling processing of trun-heavy files (e.g., fragmented MP4) via application-layer filters is an option but carries compatibility trade-offs with legitimate streaming formats. No patch is confirmed beyond the stated version threshold; absence of a formal advisory URL from axiomatic-systems means patch verification relies on GitHub issue tracking only.

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

Bento4 is an open-source C++ MP4/ISOBMFF processing toolkit by axiomatic-systems, used in media transcoding pipelines, players (notably MPC-BE per the referenced issue), and command-line utilities such as mp42aac. The vulnerable code path is in the templated AP4_Array class method EnsureCapacity, which reallocates internal storage to hold AP4_TrunAtom::Entry objects - entries within an MPEG-4 Track Run box (trun). CWE-121 (Stack-based Buffer Overflow) indicates that a crafted trun atom can cause the array growth logic to overflow a stack-allocated buffer, corrupting the call stack. Because the overflow occurs during file parsing rather than playback, any tool that opens the file is affected, not just streaming contexts. NVD CPE data is listed as n/a, so affected-version information is drawn from the CVE description (before v1.8.9) and the upstream GitHub issue tracker.

Know when N A 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

File must be opened by the user (AV:L, UI:R); no privileges needed to open a file (PR:N); impact is crash only with no confidentiality or integrity consequence (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:A/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
CVSS changed
Jun 29, 2026 - 14:22 NVD
5.5 (MEDIUM)
CVE Published
Jun 26, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

A stack overflow in the AP4_Array<AP4_TrunAtom::Entry>::EnsureCapacity component of axiomatic-systems Bento4 before v1.8.9allows attackers to cause a Denial of Service (DoS) via a crafted MP4 file.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche open-source MP4 library, limited enterprise deployment footprint
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 No
EPSS 0.2%
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

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
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 N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

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