What’s Vulnerable › Vulnerabilities

CVE-2026-102566: CTranslate2 before 4.8.1 Heap Buffer Overflow via model.bin

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

How to fix

Upgrade to a fixed version: OpenNMT CTranslate2 4.8.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-102566 or the next vulnerability affects your stack