CVE-2023-46931
Medium · 5.5CVSS
5.5
EPSS
0.2%
Published
Nov 1, 2023
CISA due date
—
Cloudanix analysis
A bug in media handling software can make it crash when it tries to read certain video or audio files.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
Heap-buffer-overflow in ffdmx_parse_side_data during side data parsing allows memory corruption when processing crafted media files.
Why it matters to the business
Application crashes during media file handling can interrupt content creation, editing, and playback workflows that rely on the affected software.
How an attack unfolds
An attacker crafts a malicious media file containing malformed side data that triggers the overflow in the parsing routine when the file is opened locally with user interaction; low exploit maturity and stable low EPSS indicate limited observed in-the-wild use despite the 1080-day publication window.
How to fix it
Update to the latest GPAC release that resolves the buffer handling issue in ff_dmx.c; until a fix is available, process untrusted media files only in isolated environments.
How to confirm the fix worked
Test with known triggering media samples in a controlled setting and monitor process stability; review source changes around ffdmx_parse_side_data for bounds checking.
Typical attack path
- Attacker generates a specially crafted media file targeting the side-data parser
- Victim opens the file using an affected GPAC tool such as MP4Box
- Overflow occurs in ffdmx_parse_side_data, corrupting heap memory and causing denial of service
How to detect it
Review application crash logs and core dumps for signs of heap corruption during media parsing; correlate file access timestamps with process terminations in environments using GPAC tools.
What your security team should do
- Prioritize sandboxing or replacement of GPAC usage for untrusted inputs given the three-year disclosure window
- Track upstream commits addressing the heap overflow in the demux filter
- Limit local execution of MP4Box and related tools to trusted file sources
The record
GPAC 2.3-DEV-rev605-gfc9e29089-master contains a heap-buffer-overflow in ffdmx_parse_side_data /afltest/gpac/src/filters/ff_dmx.c:202:14 in gpac/MP4Box.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | gpac | 0 | No fix |
| Ubuntu:20.04:LTS | gpac | 0 | No fix |
| Ubuntu:22.04:LTS | gpac | 0 | No fix |
| Ubuntu:24.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | gpac | 0 | No fix |
| Ubuntu:Pro:24.04:LTS | gpac | 0 | No fix |
Related vulnerabilities
- CVE-2023-4679 A use after free vulnerability exists in GPAC version 2.3-DEV-revrelease, specifically in… Also affects gpac
- CVE-2021-46311 A NULL pointer dereference vulnerability exists in GPAC v1.1.0 via the function… Also affects gpac
- CVE-2021-46313 The binary MP4Box in GPAC v1.0.1 was discovered to contain a segmentation fault via the… Also affects gpac
- CVE-2021-46234 A NULL pointer dereference vulnerability exists in GPAC v1.1.0 via the function… Also affects gpac
- CVE-2021-46238 GPAC v1.1.0 was discovered to contain a stack overflow via the function gf_node_get_name… Also affects gpac
- CVE-2021-46240 A NULL pointer dereference vulnerability exists in GPAC v1.1.0 via the function… Also affects gpac
- CVE-2021-46239 The binary MP4Box in GPAC v1.1.0 was discovered to contain an invalid free vulnerability… Also affects gpac
- CVE-2021-46237 An untrusted pointer dereference vulnerability exists in GPAC v1.1.0 via the function… Also affects gpac