CVE-2026-102566: OpenNMT CTranslate2 · Out-of-bounds Write
Affects OpenNMT CTranslate2Source CVE Database V5
Not known to be exploited · CVSS 8.5 High : upgrade to 4.8.1 soon.
Data as of 12 Nov 2026, 23:24 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.8.1
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade CTranslate2 and opennmt/CTranslate2 to 4.8.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| OpenNMTCTranslate2 | Affected
| Fixed in
|
GitHubopennmt/CTranslate2pkg:github/opennmt/CTranslate2Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to CTranslate2 version 4.8.1 or later, where this heap-based buffer overflow vulnerability has been fixed. Patch status is confirmed by the version range affected and the fixed version 4.8.1. No other mitigations are indicated.
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.
References
- github.com/OpenNMT/CTranslate2/pull/2068 (opens in a new tab)
- github.com/OpenNMT/CTranslate2/commit/d9b991e0700933a0c05373df8b52ed89cdcab96d (opens in a new tab)
- github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc (opens in a new tab)
- github.com/OpenNMT/CTranslate2/releases/tag/v4.8.1 (opens in a new tab)
- github.com/OpenNMT/CTranslate2 (opens in a new tab)
- vulncheck.com/advisories/ctranslate2-before-4.8.1-heap-buffer-overflow-via-model-bin (opens in a new tab)