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 VendorProductAffected 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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
7.9 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-119Buffer Overflow
CWE-121Stack-based Buffer Overflow
Timeline
Published15 Mar 2026
Updated1 Nov 2026
First seen16 Mar 2026
Sources
CVE-2026-4185 · NVD
CVE-2026-4185 · OSV
Track software like this
Free during beta