{"id":"CVE-2021-40942","aliases":["DEBIAN-CVE-2021-40942","EUVD-2021-28096","GHSA-2x9j-5g97-m4vf","UBUNTU-CVE-2021-40942"],"status":"published","title":"In GPAC MP4Box v1.1.0, there is a heap-buffer-overflow in the function filter_parse_dyn_args...","description":"In GPAC MP4Box v1.1.0, there is a heap-buffer-overflow in the function filter_parse_dyn_args function in filter_core/filter.c:1454, as demonstrated by GPAC. This can cause a denial of service (DOS).","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00664,"percentile":0.52023,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2022-06-27T20:21:56Z","modified":"2026-08-27T23:04:10Z","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"]}],"products":[{"vendor":"gpac","product":"gpac"}],"references":[{"url":"https://github.com/gpac/gpac/issues/1908","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40942"},{"url":"https://github.com/advisories/GHSA-2x9j-5g97-m4vf"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-40942","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-40942","tags":["report"]},{"url":"https://github.com/gpac/gpac/commit/da37ec8582266983d0ec4b7550ec907401ec441e","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40942","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-40942","description":"In GPAC MP4Box v1.1.0, there is a heap-buffer-overflow in the function filter_parse_dyn_args function in filter_core/filter.c:1454, as demonstrated by GPAC. This can cause a denial of service (DOS).","status":"published","published":"2022-06-27T20:21:56Z","modified":"2024-08-04T02:59:30.998Z","updated_at":"2026-11-02T14:33:01.495293Z"}],"euvd":[{"id":"EUVD-2021-28096","description":"In GPAC MP4Box v1.1.0, there is a heap-buffer-overflow in the function filter_parse_dyn_args function in filter_core/filter.c:1454, as demonstrated by GPAC. This can cause a denial of service (DOS).","status":"published","published":"2022-06-27T20:21:56Z","modified":"2024-08-04T02:59:30Z","updated_at":"2026-11-03T03:24:19.242491Z"}],"ghsa":[{"id":"GHSA-2x9j-5g97-m4vf","title":"In GPAC MP4Box v1.1.0, there is a heap-buffer-overflow in the function filter_parse_dyn_args...","description":"In GPAC MP4Box v1.1.0, there is a heap-buffer-overflow in the function filter_parse_dyn_args function in filter_core/filter.c:1454, as demonstrated by GPAC. This can cause a denial of service (DOS).","status":"published","published":"2022-06-28T00:00:42Z","modified":"2023-01-27T05:05:02Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:42:36.711116Z"}],"nvd":[{"id":"CVE-2021-40942","description":"In GPAC MP4Box v1.1.0, there is a heap-buffer-overflow in the function filter_parse_dyn_args function in filter_core/filter.c:1454, as demonstrated by GPAC. This can cause a denial of service (DOS).","status":"published","published":"2022-06-27T21:15:07.9Z","modified":"2026-06-17T04:07:39.717Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:07:06.501652Z"}],"osv":[{"id":"CVE-2021-40942","description":"In GPAC MP4Box v1.1.0, there is a heap-buffer-overflow in the function filter_parse_dyn_args function in filter_core/filter.c:1454, as demonstrated by GPAC. This can cause a denial of service (DOS).","status":"published","published":"2022-06-27T21:15:07.9Z","modified":"2026-03-14T11:10:58.783573Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:21.249056Z"},{"id":"DEBIAN-CVE-2021-40942","description":"In GPAC MP4Box v1.1.0, there is a heap-buffer-overflow in the function filter_parse_dyn_args function in filter_core/filter.c:1454, as demonstrated by GPAC. This can cause a denial of service (DOS).","status":"published","published":"2022-06-27T21:15:07.9Z","modified":"2026-08-27T23:04:10.265924165Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:35.521549Z"},{"id":"UBUNTU-CVE-2021-40942","description":"In GPAC MP4Box v1.1.0, there is a heap-buffer-overflow in the function filter_parse_dyn_args function in filter_core/filter.c:1454, as demonstrated by GPAC. This can cause a denial of service (DOS).","status":"published","published":"2022-06-27T21:15:00Z","modified":"2026-04-22T13:00:49.720201Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:29.220315Z"}]}}
