CVE-2026-102566 CTranslate2 before 4.8.1 Heap Buffer Overflow via model.bin
Attackers can achieve arbitrary code execution or cause crashes by providing malicious model files to the CTranslate2 library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-102566?
CVE-2026-102566 is a high-severity memory corruption vulnerability in OpenNMT CTranslate2, published on 29 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2026-102566?
How do I fix CVE-2026-102566?
No fix has been published for CVE-2026-102566 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-102566 being exploited?
There is no known exploitation of CVE-2026-102566 in the wild and no public exploit code.
Sources
Also known as GHSA-7xqx-34h9-2w97.