| Titel | BBC bmx 1.6.0 (commit 278a902, 2025-09-29) Uncontrolled Recursion |
|---|
| Beschreibung | ```text
A vulnerability was found in bmx 1.6.0 (commit 278a902, 2025-09-29) and classified as medium 6.5. Affected is the mxf2raw component, function MXFFileReader::GetReferencedPackage in src/mxf_reader/MXFFileReader.cpp. The manipulation of the package/track reference graph in a crafted MXF file leads to uncontrolled recursion (CWE-674) with stack exhaustion: the recursive call at line 1898 has no depth limit, and the malformed-file guard at line 1893 only detects a track directly referencing itself with an unchanged offset, so a reference cycle of two or more hops recurses until the process crashes with stack-overflow (denial of service). It is possible to launch the attack remotely by delivering the crafted MXF file to a user or automated ingest workflow; user interaction is required because the file must be processed with mxf2raw. CWE choice rationale: the skill decision table maps stack exhaustion to CWE-770, but the most specific root-cause class is CWE-674 because the captured 247-frame trace shows a concrete self-recursive call site (238 identical frames at MXFFileReader.cpp:1898) with an incomplete termination guard.
Technical Details
- Affected file/function: src/mxf_reader/MXFFileReader.cpp / MXFFileReader::GetReferencedPackage() (recursive call line 1898, incomplete infinite-recursion guard line 1893)
- Vulnerable parameter: cyclic package/track references (SourceClip source package ID / source track ID) in the crafted MXF header metadata
- Attack vector: Network (crafted file delivered through a file-processing workflow)
- Privileges required: None
- Trigger condition: run mxf2raw on the crafted file; the reference cycle defeats the direct self-reference check and the recursion exhausts the call stack, the overflow surfacing in the warning-log format path (printf_common under AddressSanitizer)
Impact
- Confidentiality: None (crash-only)
- Integrity: None (crash-only)
- Availability: High (the parsing process reliably crashes; exploitability is low - no memory corruption, no code execution)
CVSS v3.1
Score: 6.5 (Medium)
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Timeline
- Discovered: [unknown] (crash input collected by automated AFL++ fuzzing against the 2026-10-26 build of mxf2raw)
- Vendor notified: [pending]
- Patch released: [pending]
- Public disclosure: [pending]
Countermeasure
Make GetReferencedPackage cycle-safe: track visited package/track pairs across the call chain and return false on repetition, and/or impose a maximum recursion depth before the recursive call at line 1898; the existing direct self-reference check alone cannot catch cycles of length >= 2.
```
|
|---|
| Quelle | ⚠️ https://github.com/ebu/bmx/issues/50 |
|---|
| Benutzer | muteki (UID 102683) |
|---|
| Einreichung | 03.11.2026 02:06 (vor 25 Tagen) |
|---|
| Moderieren | 28.11.2026 08:28 (25 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 445078 [BBC bmx bis 1.7 mxf2raw MXFFileReader.cpp GetReferencedPackage Denial of Service] |
|---|
| Punkte | 20 |
|---|