Out-of-bounds Read in Opennmt Ctranslate2
CVE-2026-102567
CTranslate2 before 4.8.1 contains an out-of-bounds heap read vulnerability in the binary model loader when deserializing string fields without null terminators. Attackers can craft malicious model files to trigger heap memory reads past buffer boundaries, causing crashes or disclosing adjacent heap memory contents.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H.
EPSS exploit prediction
EPSS 0.001, 1.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- Pull Request #2068 (issue-tracking, patch)
- Patch Commit (patch)
- github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc (technical-description)
- CTranslate2 v4.8.1 Release Notes (release-notes)
- github.com/OpenNMT/CTranslate2 (product)
- VulnCheck Advisory: CTranslate2 before 4.8.1 Out-of-Bounds Read via Model Deserialization (third-party-advisory)