CVE-2026-102566
published high CVSS 4.0 · 8.5CTranslate2 before 4.8.1 Heap Buffer Overflow via model.bin
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenNMT | — | CTranslate20 to < 4.8.1 (affected · semver) · 4.8.1 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenNMT | CTranslate2 | 0 to < 4.8.1 (affected · semver)4.8.1 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-787 Out-of-bounds Write
References
6- https://github.com/OpenNMT/CTranslate2
- https://github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc#L656-L657
- Patch Commit https://github.com/OpenNMT/CTranslate2/commit/d9b991e0700933a0c05373df8b52ed89cdcab96d
- Pull Request #2068 https://github.com/OpenNMT/CTranslate2/pull/2068
- CTranslate2 v4.8.1 Release Notes https://github.com/OpenNMT/CTranslate2/releases/tag/v4.8.1
- VulnCheck Advisory: CTranslate2 before 4.8.1 Heap Buffer Overflow via model.bin https://www.vulncheck.com/advisories/ctranslate2-before-4.8.1-heap-buffer-overflow-via-model-bin
Provider assertions
2VulnCheck · cna
CTranslate2 before 4.8.1 Heap Buffer Overflow via model.bin
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 35d3292319c1b8a33e089927867c9d1cd330459a673310731f9b262095c6cb1a
- Ingested
- 30 Sep 2026, 15:18:33 UTC
- Source record
- Official CVE record