Buffer overflow in Gpac
CVE-2026-4185
- CVSS v3
- 6.3 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 22.1th percentile
- Published
- 2026-03-16
A vulnerability was found in GPAC up to 2.5-DEV-rev2167-gcc9d617c0-master. This vulnerability affects the function swf_def_bits_jpeg of the file src/scene_manager/swf_parse.c of the component MP4Box. The manipulation of the argument szName results in stack-based buffer overflow. It is possible to launch the attack remotely. The exploit has been made public and could be used. The patch is identified as 8961c74f87ae3fe2d3352e622f7730ca96d50cf1. A patch should be applied to remediate this issue.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 22.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gpac — versions 2.5-DEV-rev2167-gcc9d617c0-master
Weakness classification (CWE)
References
- VDB-351091 | GPAC MP4Box swf_parse.c swf_def_bits_jpeg stack-based overflow (technical-description, vdb-entry)
- VDB-351091 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- Submit #769840 | gpac MP4Box MP4Box - GPAC version 2.5-DEV-rev2167-gcc9d617c0-master and earlier Stack-based Buffer Overflow (third-party-advisory)
- github.com/gpac/gpac/issues/3436 (issue-tracking)
- github.com/PeterXukt/test_pocs/blob/main/gpac/test.swf (exploit)
- github.com/gpac/gpac/commit/8961c74f87ae3fe2d3352e622f7730ca96d50cf1 (patch)
- github.com/gpac/gpac/ (product)