{"id":"CVE-2021-40941","details":"In Bento4 1.6.0-638, there is an allocator is out of memory in the function AP4_Array\u003cAP4_TrunAtom::Entry\u003e::EnsureCapacity in Ap4Array.h:172, as demonstrated by GPAC. This can cause a denial of service (DOS).","modified":"2026-03-14T11:11:00.073545Z","published":"2022-06-27T18:15:08.803Z","references":[{"type":"EVIDENCE","url":"https://github.com/axiomatic-systems/Bento4/issues/644"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/axiomatic-systems/bento4","events":[{"introduced":"0"},{"last_affected":"4f813a9b791e312761b762fcab4b09e921bee584"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.6.0-638"}]}}],"versions":["v1.4.2-584","v1.4.2-586","v1.4.2-587","v1.4.2-588","v1.4.2-589","v1.4.2-590","v1.4.2-591","v1.4.2-592","v1.4.2-593","v1.4.2-594","v1.4.3-595","v1.4.3-596","v1.4.3-597","v1.4.3-598","v1.4.3-599","v1.4.3-600","v1.4.3-601","v1.4.3-602","v1.4.3-603","v1.4.3-604","v1.4.3-605","v1.4.3-606","v1.4.3-607","v1.4.3-608","v1.5.0-609","v1.5.0-610","v1.5.0-611","v1.5.0-612","v1.5.0-613","v1.5.0-614","v1.5.0-615","v1.5.0-616","v1.5.0-617","v1.5.0-618","v1.5.0-619","v1.5.1-620","v1.5.1-621","v1.5.1-622","v1.5.1-623","v1.5.1-624","v1.5.1-626","v1.5.1-627","v1.5.1-628","v1.5.1-629","v1.5.1-630","v1.6.0-635","v1.6.0-636","v1.6.0-637","v1.6.0-638"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40941.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}