High
Security advisory
In Bento4 1.6.0-638, there is an allocator is out of memory in the function AP4_Array::EnsureCapacity in Ap4Array.h:172, as demonstrated by GPAC. This can cause a denial of service (DOS).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-40941
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:20 UTC · Revision 1
Source evidence
In Bento4 1.6.0-638, there is an allocator is out of memory in the function AP4_Array::EnsureCapacity in Ap4Array.h:172, as demonstrated by GPAC. This can cause a denial of service (DOS).
osv:CVE-2021-40941
Complete source record
{
"id": "ad9bbd42cd36a42f910e397c54202b0dac2c9fda7cbaf83d83d742833febd731",
"url": "https://osv.dev/vulnerability/CVE-2021-40941",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-40941",
"summary": "In Bento4 1.6.0-638, there is an allocator is out of memory in the function AP4_Array::EnsureCapacity in Ap4Array.h:172, as demonstrated by GPAC. This can cause a denial of service (DOS).",
"evidence": "osv:CVE-2021-40941",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-40941",
"aliases": [
"CVE-2021-40941"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/axiomatic-systems/bento4",
"type": "GIT",
"events": [
{
"introduced": "4f813a9b791e312761b762fcab4b09e921bee584"
},
{
"last_affected": "4f813a9b791e312761b762fcab4b09e921bee584"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:axiosys:bento4:1.6.0-638:*:*:*:*:*:*:*",
"range": [
{
"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"
}
}
],
"modified": "2026-10-20T10:53:55.847103100Z",
"provider": "osv",
"references": [
"https://github.com/axiomatic-systems/Bento4/issues/644"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-40941",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384762,
"published_at": "2022-06-27T18:15:08.803+00:00"
}