byvoid/opencc · Security
Open Chinese Convert has Out-of-bounds Write
- GHSA ID
- GHSA-5pr6-crvp-2j9f
- CVE ID
- CVE-2025-15536
- Severity
- low
- Published
- Updated
- CVSS
- 5.3 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CVSS v3
- 5.3 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CVSS v4
- 1.9 · CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Description
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.
CWEs
- CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-787 · Out-of-bounds Write
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/oneafter/1222/blob/main/repro ↗
- https://vuldb.com/?ctiid.341708 ↗
- https://vuldb.com/?id.341708 ↗
- https://vuldb.com/?submit.733347 ↗
- https://github.com/advisories/GHSA-5pr6-crvp-2j9f ↗