CVE-2026-102566
7.8 HIGHpublic exploit availablePublished 2026-09-29 · Updated 2026-09-30
AI risk analysis
- Summary
- The flaw in CTranslate2 before 4.8.1 allows attackers to cause heap-based buffer overflows by crafting malicious model files, potentially leading to crashes or arbitrary code execution.
- Exploitability
- Exploitation requires attackers to craft and deliver malicious model files, which may be challenging without access to the affected system.
- Blast radius
- If exploited, this flaw could result in significant damage, including system crashes and arbitrary code execution on affected systems.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to CTranslate2 4.8.1 or later.
rceheap-overflowmodel-files
Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-787
Public exploit & PoC references
- https://github.com/OpenNMT/CTranslate2
- https://github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc#L656-L657
- https://github.com/OpenNMT/CTranslate2/commit/d9b991e0700933a0c05373df8b52ed89cdcab96d
- https://github.com/OpenNMT/CTranslate2/pull/2068
- https://github.com/OpenNMT/CTranslate2/releases/tag/v4.8.1
References
- https://github.com/OpenNMT/CTranslate2
- https://github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc#L656-L657
- https://github.com/OpenNMT/CTranslate2/commit/d9b991e0700933a0c05373df8b52ed89cdcab96d
- https://github.com/OpenNMT/CTranslate2/pull/2068
- https://github.com/OpenNMT/CTranslate2/releases/tag/v4.8.1
- https://www.vulncheck.com/advisories/ctranslate2-before-4.8.1-heap-buffer-overflow-via-model-bin
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.