CVE-2026-4185: GPAC MP4Box swf_parse.c swf_def_bits_jpeg stack-based overflow
A vulnerability was found in GPAC up to 2.5-DEV-rev2167-gcc9d617c0-master. This vulnerability affects the function swfdefbitsjpeg of the file src/scenemanager/swfparse.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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
GPAC (MP4Box)to a version that resolves this vulnerability.Fixed in 2.5-DEV-rev2167-gcc9d617c0-masterPatch 8961c74f87ae3fe2d3352e622f7730ca96d50cf1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-4185?
CVE-2026-4185 is classified as a high severity vulnerability due to the potential for stack-based overflow.
How do I fix CVE-2026-4185?
To mitigate CVE-2026-4185, upgrade GPAC MP4Box to a version later than 2.5-DEV-rev2167-gcc9d617c0-master.
What are the potential impacts of CVE-2026-4185?
Exploiting CVE-2026-4185 could lead to execution of arbitrary code on vulnerable systems.
Which versions of GPAC MP4Box are affected by CVE-2026-4185?
CVE-2026-4185 affects GPAC MP4Box up to version 2.5-DEV-rev2167-gcc9d617c0-master.
Is CVE-2026-4185 remotely exploitable?
CVE-2026-4185 may potentially be exploited remotely if crafted inputs are used.