[ CVE-2026-102566 · Published 29 Sep 2026 ]
Vulnerability in OpenNMT CTranslate2
CVSS 7.8
EPSS <1%No fix listed yet
[ Description ]Official 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.
[ Fixes ]Fixes and patches
No fix or interim patch is linked from our sources yet. Check the vendor references below and limit exposure of affected systems until a fix is available.
[ References ]References
- github.com/OpenNMT/CTranslate2
- github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc
- github.com/OpenNMT/CTranslate2/commit/d9b991e0700933a0c05373df8b52ed89cdcab96d
- github.com/OpenNMT/CTranslate2/pull/2068
- github.com/OpenNMT/CTranslate2/releases/tag/v4.8.1
- www.vulncheck.com/advisories/ctranslate2-before-4.8.1-heap-buffer-overflow-via-model-bin