{"id":"CVE-2026-102566","published":"2026-09-29T15:17:18.003","lastModified":"2026-09-30T17:23:08.953","description":"CTranslate2 before 4.8.1 contains a heap-based buffer overflow in the binary model loader that fails to validate payload length against allocated buffer size. Attackers can craft malicious model files with oversized payload lengths to write past heap allocation boundaries, causing crashes or arbitrary code execution.","cvssScore":7.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-787"],"vendors":[],"products":[],"references":[{"url":"https://github.com/OpenNMT/CTranslate2","tags":[]},{"url":"https://github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc#L656-L657","tags":[]},{"url":"https://github.com/OpenNMT/CTranslate2/commit/d9b991e0700933a0c05373df8b52ed89cdcab96d","tags":[]},{"url":"https://github.com/OpenNMT/CTranslate2/pull/2068","tags":[]},{"url":"https://github.com/OpenNMT/CTranslate2/releases/tag/v4.8.1","tags":[]},{"url":"https://www.vulncheck.com/advisories/ctranslate2-before-4.8.1-heap-buffer-overflow-via-model-bin","tags":[]}],"exploitRefs":[{"url":"https://github.com/OpenNMT/CTranslate2","tags":[]},{"url":"https://github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc#L656-L657","tags":[]},{"url":"https://github.com/OpenNMT/CTranslate2/commit/d9b991e0700933a0c05373df8b52ed89cdcab96d","tags":[]},{"url":"https://github.com/OpenNMT/CTranslate2/pull/2068","tags":[]},{"url":"https://github.com/OpenNMT/CTranslate2/releases/tag/v4.8.1","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw in CTranslate2 before 4.8.1 allows attackers to cause heap-based buffer overflows by crafting malicious model files, potentially leading to crashes or arbitrary code execution.","exploitability":"Exploitation requires attackers to craft and deliver malicious model files, which may be challenging without access to the affected system.","blast_radius":"If exploited, this flaw could result in significant damage, including system crashes and arbitrary code execution on affected systems.","remediation":"Upgrade to CTranslate2 4.8.1 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","heap-overflow","model-files"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-06T08:45:47.494Z"}}