CVE-2026-102566
CTranslate2 before 4.8.1 contains a heap-based buffer overflow in …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/OpenNMT/CTranslate2
- github.com/OpenNMT/CTranslate2/blob/v4.8.0/src/models/model.cc#L656-L657
- github.com/OpenNMT/CTranslate2/commit/d9b991e0700933a0c05373df8b52ed89cdcab96d
- github.com/OpenNMT/CTranslate2/pull/2068
- github.com/OpenNMT/CTranslate2/releases/tag/v4.8.1
- www.vulncheck.com/advisories/ctranslate2-before-4.8.1-heap-buffer-overflow-via-model-bin
- nvd.nist.gov/vuln/detail/CVE-2026-102566
- cve.org/CVERecord?id=CVE-2026-102566
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.