Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.9
CVE-2026-4185: GPAC MP4Box allows remote code execution via malicious file
CVE-2026-4185 · published 7 months ago
Summary
The MP4Box tool in GPAC (versions up to the 2.5 development build) can be tricked into overflowing its memory when it processes a specially crafted SWF file. An attacker could use this to run code on the affected system from a distance. Apply the provided update patch to fix the problem.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Debian:11 | debian | gpac | All versions |
| Ubuntu:Pro:24.04:LTS | canonical | gpac | All versions |
| Ubuntu:Pro:14.04:LTS | canonical | gpac | All versions |
| Ubuntu:Pro:16.04:LTS | canonical | gpac | All versions |
| Ubuntu:Pro:18.04:LTS | canonical | gpac | All versions |
| Ubuntu:Pro:20.04:LTS | canonical | gpac | All versions |
| Ubuntu:Pro:22.04:LTS | canonical | gpac | All versions |
Original advisory text
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 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.
References
- https://security-tracker.debian.org/tracker/CVE-2026-4185 Vendor Advisory
- https://github.com/gpac/gpac/commit/8961c74f87ae3fe2d3352e622f7730ca96d50cf1 Patch
- https://www.cve.org/CVERecord?id=CVE-2026-4185 Third Party Advisory
- https://ubuntu.com/security/CVE-2026-4185 Third Party Advisory
- https://github.com/gpac/gpac/ URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4185.j... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-4185 Vendor Advisory
- https://vuldb.com/?id.351091 Vendor Advisory
- https://vuldb.com/?submit.769840 Vendor Advisory
- https://github.com/gpac/gpac/issues/3436 Third Party Advisory
- https://vuldb.com/?ctiid.351091 Third Party Advisory
- https://github.com/PeterXukt/test_pocs/blob/main/gpac/test.swf Exploit
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-119Buffer Overflow
CWE-121Stack-based Buffer Overflow
Timeline
Published15 Mar 2026
Updated1 Nov 2026
First seen16 Mar 2026
Sources
DEBIAN-CVE-2026-4185 · OSV
CVE-2026-4185 · NVD
UBUNTU-CVE-2026-4185 · OSV
CVE-2026-4185 · OSV
Track software like this
Free during beta