CVE-2026-102566
CTranslate2 before 4.8.1 Heap Buffer Overflow via model.bin
OpenNMT CTranslate2
CVSS
8.5HighExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.15%Chance of exploitation activity in the next 30 days, higher than 3% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 4.8.1CTranslate2CVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 2
- CTranslate2affected: all versions before 4.8.1CVE List
- CTranslate2unaffected: 4.8.1CVE List
References 6
- github.com/OpenNMT/CTranslate2/pull/2068Fixvia CVE List
- github.com/OpenNMT/CTranslate2/commit/d9b991e0700933a0c05373df8b52ed89cdcab96dFixvia CVE List
- github.com/OpenNMT/CTranslate2/releases/tag/v4.8.1Fixvia CVE List
- vulncheck.com/advisories/ctranslate2-before-4.8.1-heap-buffer-overflow-via-model-binAdvisoryvia CVE List
- github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc#L656-L657Referencevia CVE List
- github.com/OpenNMT/CTranslate2Referencevia CVE List