{"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-08-07T17:02:45.624430Z","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":"4f813a9b791e312761b762fcab4b09e921bee584"},{"last_affected":"4f813a9b791e312761b762fcab4b09e921bee584"}],"database_specific":{"cpe":"cpe:2.3:a:axiosys:bento4:1.6.0-638:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.6.0-638"},{"last_affected":"1.6.0-638"}],"source":"CPE_STRING"}}],"versions":["1.6.0-638","v1.6.0-638"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40941.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}