{"id":"CVE-2021-31254","aliases":["EUVD-2021-18166","GHSA-jmf2-q3j2-999x","UBUNTU-CVE-2021-31254"],"status":"published","title":"Buffer overflow in the tenc_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a...","description":"Buffer overflow in the tenc_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file, related invalid IV sizes.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01465,"percentile":0.74041,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2021-04-19T18:29:10Z","modified":"2026-10-20T14:22:38Z","affected":[{"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"]}],"products":[{"vendor":"gpac","product":"gpac"}],"references":[{"url":"https://github.com/gpac/gpac/issues/1703","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://github.com/gpac/gpac/commit/8986422c21fbd9a7bf6561cae65aae42077447e8","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31254"},{"url":"https://github.com/advisories/GHSA-jmf2-q3j2-999x"},{"url":"https://ubuntu.com/security/CVE-2021-31254","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-31254","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-31254","description":"Buffer overflow in the tenc_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file, related invalid IV sizes.","status":"published","published":"2021-04-19T18:29:10Z","modified":"2024-08-03T22:55:53.606Z","updated_at":"2026-11-02T14:33:05.989686Z"}],"euvd":[{"id":"EUVD-2021-18166","description":"Buffer overflow in the tenc_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file, related invalid IV sizes.","status":"published","published":"2021-04-19T18:29:10Z","modified":"2024-08-03T22:55:53Z","updated_at":"2026-11-03T03:24:39.559154Z"}],"ghsa":[{"id":"GHSA-jmf2-q3j2-999x","title":"Buffer overflow in the tenc_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a...","description":"Buffer overflow in the tenc_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file, related invalid IV sizes.","status":"published","published":"2022-05-24T17:47:50Z","modified":"2023-01-29T05:07:18Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:46:09.625645Z"}],"nvd":[{"id":"CVE-2021-31254","description":"Buffer overflow in the tenc_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file, related invalid IV sizes.","status":"published","published":"2021-04-19T19:15:18.077Z","modified":"2026-06-17T03:51:30.66Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:52.03307Z"}],"osv":[{"id":"CVE-2021-31254","description":"Buffer overflow in the tenc_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file, related invalid IV sizes.","status":"published","published":"2021-04-19T19:15:18.077Z","modified":"2026-10-20T14:22:38.499974086Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:19.483607Z"},{"id":"UBUNTU-CVE-2021-31254","description":"Buffer overflow in the tenc_box_read function in MP4Box in GPAC 1.0.1 allows attackers to cause a denial of service or execute arbitrary code via a crafted file, related invalid IV sizes.","status":"published","published":"2021-04-19T19:15:00Z","modified":"2026-04-22T12:53:09.635997Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:27.332852Z"}]}}
