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.
Problem types
Timeline
| 2026-03-14: | Advisory disclosed |
| 2026-03-14: | VulDB entry created |
| 2026-03-14: | VulDB entry last update |
Credits
peterx (VulDB User)
References
vuldb.com/?id.351091 (VDB-351091 | GPAC MP4Box swf_parse.c swf_def_bits_jpeg stack-based overflow)
vuldb.com/?ctiid.351091 (VDB-351091 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/?submit.769840 (Submit #769840 | gpac MP4Box MP4Box - GPAC version 2.5-DEV-rev2167-gcc9d617c0-master and earlier Stack-based Buffer Overflow)
github.com/gpac/gpac/issues/3436
github.com/PeterXukt/test_pocs/blob/main/gpac/test.swf
github.com/...ommit/8961c74f87ae3fe2d3352e622f7730ca96d50cf1
github.com/gpac/gpac/