{"id":"CVE-2026-4185","aliases":["DEBIAN-CVE-2026-4185","EUVD-2026-12241","GHSA-2hwp-9jff-pr6q","UBUNTU-CVE-2026-4185"],"status":"published","title":"GPAC MP4Box swf_parse.c swf_def_bits_jpeg stack-based overflow","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.","severity":{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00293,"percentile":0.22127,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119","CWE-121"],"published":"2026-03-15T18:32:08Z","modified":"2026-10-28T10:55:15Z","affected":[{"source":"osv","ecosystem":"Debian:11","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.1+dfsg1-4","1.0.1+dfsg1-4+deb11u1","1.0.1+dfsg1-4+deb11u2","1.0.1+dfsg1-4+deb11u3","1.0.1+dfsg1-5","2.0.0+dfsg1-1","2.0.0+dfsg1-2","2.0.0+dfsg1-4","2.2.1+dfsg1-1","2.2.1+dfsg1-2","2.2.1+dfsg1-3","2.2.1+dfsg1-3.1","2.2.1+dfsg1-3.1~exp1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0+svn4288~dfsg1-1ubuntu1","0.5.0+svn4288~dfsg1-4","0.5.0+svn4288~dfsg1-4ubuntu1","0.5.0+svn4288~dfsg1-4ubuntu1+esm1","0.5.0+svn4288~dfsg1-4ubuntu1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-426-gc5ad4e4+dfsg5-1build1","0.5.2-426-gc5ad4e4+dfsg5-1ubuntu0.1","0.5.2-426-gc5ad4e4+dfsg5-1ubuntu0.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-426-gc5ad4e4+dfsg5-3","0.5.2-426-gc5ad4e4+dfsg5-3ubuntu0.1","0.5.2-426-gc5ad4e4+dfsg5-3ubuntu0.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-426-gc5ad4e4+dfsg5-4ubuntu1","0.5.2-426-gc5ad4e4+dfsg5-5","0.5.2-426-gc5ad4e4+dfsg5-5ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.1+dfsg1-4","1.0.1+dfsg1-5","2.0.0+dfsg1-2","2.0.0+dfsg1-2ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+dfsg1-3","2.2.1+dfsg1-3.1","2.2.1+dfsg1-3.1build1","2.2.1+dfsg1-3.1build2","2.2.1+dfsg1-3.1ubuntu0.1~esm2"]}],"references":[{"url":"https://vuldb.com/?id.351091","tags":["vdb-entry","technical-description","advisory"]},{"url":"https://vuldb.com/?ctiid.351091","tags":["signature","permissions-required","report"]},{"url":"https://vuldb.com/?submit.769840","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/gpac/gpac/issues/3436","tags":["issue-tracking","report"]},{"url":"https://github.com/PeterXukt/test_pocs/blob/main/gpac/test.swf","tags":["exploit","evidence"]},{"url":"https://github.com/gpac/gpac/commit/8961c74f87ae3fe2d3352e622f7730ca96d50cf1","tags":["patch","fix","report"]},{"url":"https://github.com/gpac/gpac/","tags":["product","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4185","tags":["advisory"]},{"url":"https://github.com/gpac/gpac"},{"url":"https://github.com/advisories/GHSA-2hwp-9jff-pr6q"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4185.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-4185","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-4185","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-4185","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-4185","title":"GPAC MP4Box swf_parse.c swf_def_bits_jpeg stack-based overflow","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.","status":"published","published":"2026-03-15T18:32:08.668Z","modified":"2026-03-17T15:18:42.115Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","level":"medium","assessor":"cna"},{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","level":"medium","assessor":"cna"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C","assessor":"cna"}],"cwes":["CWE-121","CWE-119"],"updated_at":"2026-11-02T14:19:58.944663Z"}],"euvd":[{"id":"EUVD-2026-12241","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.","status":"published","published":"2026-03-15T18:32:08Z","modified":"2026-03-17T15:18:42Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium"}],"updated_at":"2026-11-02T19:25:33.692584Z"}],"ghsa":[{"id":"GHSA-2hwp-9jff-pr6q","title":"A vulnerability was found in GPAC up to 2.5-DEV-rev2167-gcc9d617c0-master. This vulnerability...","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.","status":"published","published":"2026-03-16T15:30:45Z","modified":"2026-03-16T15:30:58Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:06:39.412136Z"}],"nvd":[{"id":"CVE-2026-4185","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.","status":"published","published":"2026-03-16T14:19:59.7Z","modified":"2026-06-17T10:56:08.293Z","cvss":[{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low","assessor":"secondary"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"secondary"}],"cwes":["CWE-119","CWE-121"],"updated_at":"2026-11-02T14:12:09.358914Z"}],"osv":[{"id":"CVE-2026-4185","title":"GPAC MP4Box swf_parse.c swf_def_bits_jpeg stack-based overflow","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.","status":"published","published":"2026-03-15T18:32:08.668Z","modified":"2026-10-28T10:55:15.79576627Z","cvss":[{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"low"}],"cwes":["CWE-119","CWE-121"],"updated_at":"2026-11-02T15:45:03.764807Z"},{"id":"DEBIAN-CVE-2026-4185","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.","status":"published","published":"2026-03-16T14:19:59.7Z","modified":"2026-08-27T23:06:14.16197291Z","cvss":[{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low"}],"updated_at":"2026-11-02T15:45:54.892385Z"},{"id":"UBUNTU-CVE-2026-4185","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.","status":"published","published":"2026-03-16T14:19:00Z","modified":"2026-04-22T16:33:41.207528Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"low"}],"updated_at":"2026-11-02T16:56:18.393417Z"}]}}
