CVE-2026-102566
CTranslate2 before 4.8.1 Heap Buffer Overflow via model.bin
- State
- Published
- Severity
- 8.5 High
- Published
- Sep 29, 2026
- Updated
- Sep 29, 2026
- Reserved
- Sep 29, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.5 High | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-787 Out-of-bounds Write
Affected Products
| Product | Versions |
|---|---|
CTranslate2OpenNMT |
|
References
- Pull Request #2068issue-trackingpatch
- Patch Commitpatch
- https://github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc#L656-L657technical-description
- CTranslate2 v4.8.1 Release Notesrelease-notes
- https://github.com/OpenNMT/CTranslate2product
- VulnCheck Advisory: CTranslate2 before 4.8.1 Heap Buffer Overflow via model.binthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.