Buffer overflow in Byvoid Opencc
CVE-2025-15536
A weakness has been identified in BYVoid OpenCC up to 1.1.9. This vulnerability affects the function opencc::MaxMatchSegmentation of the file src/MaxMatchSegmentation.cpp. This manipulation causes heap-based buffer overflow. The attack is restricted to local execution. The exploit has been made available to the public and could be used for attacks. Patch name: 345c9a50ab07018f1b4439776bad78a0d40778ec. To fix this issue, it is recommended to deploy a patch.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 16.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Byvoid Opencc — versions 1.1.0, 1.1.1, 1.1.2
- Byvoid Open Chinese Convert
Weakness classification (CWE)
References
- VDB-341708 | BYVoid OpenCC MaxMatchSegmentation.cpp MaxMatchSegmentation heap-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-341708 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #733347 | BYVoid OpenCC ver.1.1.9 and master-branch Heap-based Buffer Overflow (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/BYVoid/OpenCC/issues/997 (issue-tracking, Exploit, Patch, Issue Tracking)
- github.com/BYVoid/OpenCC/pull/1005 (issue-tracking, Patch, Issue Tracking)
- github.com/oneafter/1222/blob/main/repro (Product, exploit)
- github.com/BYVoid/OpenCC/commit/345c9a50ab07018f1b4439776bad78a0d40778ec (Patch, patch)
- github.com/BYVoid/OpenCC/ (product)