CVE-2026-4185GPAC 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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | gpac | Fix pending | UBUNTU-CVE-2026-4185 | |
| Ubuntu 22.04 | gpac | Fix pending | UBUNTU-CVE-2026-4185 | |
| Ubuntu 20.04 | gpac | Fix pending | UBUNTU-CVE-2026-4185 | |
| Ubuntu 18.04 | gpac | Fix pending | UBUNTU-CVE-2026-4185 | |
| Ubuntu 16.04 | gpac | Fix pending | UBUNTU-CVE-2026-4185 | |
| Ubuntu 14.04 | gpac | Fix pending | UBUNTU-CVE-2026-4185 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GPAC: affected: 2.5-DEV-rev2167-gcc9d617c0-master
Vendor advisories:
References
- https://vuldb.com/?id.351091
- https://vuldb.com/?ctiid.351091
- https://vuldb.com/?submit.769840
- https://github.com/gpac/gpac/issues/3436
- https://github.com/PeterXukt/test_pocs/blob/main/gpac/test.swf
- https://github.com/gpac/gpac/commit/8961c74f87ae3fe2d3352e622f7730ca96d50cf1
- https://github.com/gpac/gpac/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.