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

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-09-29T14:22:36.087Z
- Modified: 2026-09-30T17:23:08.953Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- OpenNMT CTranslate2: before 4.8.1 (not affected: 4.8.1)

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/OpenNMT/CTranslate2/pull/2068> (issue-tracking, patch)
- <https://github.com/OpenNMT/CTranslate2/commit/d9b991e0700933a0c05373df8b52ed89cdcab96d> (patch)
- <https://github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc#L656-L657> (technical-description)
- <https://github.com/OpenNMT/CTranslate2/releases/tag/v4.8.1> (release-notes)
- <https://github.com/OpenNMT/CTranslate2> (product)
- <https://www.vulncheck.com/advisories/ctranslate2-before-4.8.1-heap-buffer-overflow-via-model-bin> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-102566](https://www.cve.org/CVERecord?id=CVE-2026-102566), CVE Terms of Use, modified 2026-09-29
- NVD: [CVE-2026-102566](https://nvd.nist.gov/vuln/detail/CVE-2026-102566), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-102566 · Whole record: https://cve.day/CVE-2026-102566.json · Rebuilt by cve.day 2026-11-25T22:59:41.469Z
