All vulnerabilities
CVE-2026-102566

CTranslate2 before 4.8.1 Heap Buffer Overflow via model.bin

OpenNMT CTranslate2
CVSS
8.5High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.15%Chance of exploitation activity in the next 30 days, higher than 3% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in4.8.1Fixed versionCVE List
Published29 Sep 2026Updated 29 Sep 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 2

  • CTranslate2affected: all versions before 4.8.1CVE List
  • CTranslate2unaffected: 4.8.1CVE List

References 6