Vulnerability · Published Mar 15, 2026 · Assigned by VulDB
CVE-2026-4185GPAC MP4Box swf_parse.c swf_def_bits_jpeg stack-based overflow
Medium 6.3
In plain English
A medium-severity stack buffer overflow in GPAC. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
Weakness: CWE-121, CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-351091 | GPAC MP4Box swf_parse.c swf_def_bits_jpeg stack-based overflow vdb-entry, technical-description
- 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
- https://github.com/gpac/gpac/issues/3436 issue-tracking
- https://github.com/PeterXukt/test_pocs/blob/main/gpac/test.swf exploit
- https://github.com/gpac/gpac/commit/8961c74f87ae3fe2d3352e622f7730ca96d50cf1 patch
- https://github.com/gpac/gpac/ product