Open Chinese Convert has Out-of-bounds Write
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | opencc | < 1.2.0 | 1.2.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-15536
- https://github.com/BYVoid/OpenCC/issues/997
- https://github.com/BYVoid/OpenCC/pull/1005
- https://github.com/BYVoid/OpenCC/commit/345c9a50ab07018f1b4439776bad78a0d40778ec
- https://github.com/BYVoid/OpenCC
- https://github.com/oneafter/1222/blob/main/repro
- https://vuldb.com/?ctiid.341708
- https://vuldb.com/?id.341708
- https://vuldb.com/?submit.733347
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-119, CWE-787- Platform
- npm
- Package
opencc- Disclosed
- 18.01.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-5pr6-crvp-2j9f - CC BY 4.0
Vulnerability history: opencc
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 05.2022 03.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 2
- Low 1
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 2
-
Open Chinese Convert has Out-of-bounds Write this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.