Vulnerability · Published Sep 29, 2026 · Assigned by VulnCheck
CVE-2026-102566CTranslate2 before 4.8.1 Heap Buffer Overflow via model.bin
High 7.8
In plain English
A high-severity out-of-bounds write in CTranslate2 from OpenNMT. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities).
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.1%top 95.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| OpenNMT | CTranslate2 | 0 – before 4.8.1 |
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- Pull Request #2068 issue-tracking, patch
- Patch Commit patch
- https://github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc#L656-L657 technical-description
- CTranslate2 v4.8.1 Release Notes release-notes
- https://github.com/OpenNMT/CTranslate2 product
- VulnCheck Advisory: CTranslate2 before 4.8.1 Heap Buffer Overflow via model.bin third-party-advisory