# CVE-2025-15536: BYVoid OpenCC MaxMatchSegmentation.cpp MaxMatchSegmentation heap-based overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- 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.25%, higher than 10% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2026-01-18T09:02:12.026Z
- Modified: 2026-06-17T08:37:58.633Z
- Also known as: GHSA-5pr6-crvp-2j9f
- Weaknesses: CWE-119, CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

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

(As written by CVE List.)

## Affected

- BYVoid OpenCC: 1.1.0; 1.1.1; 1.1.2; 1.1.3; 1.1.4; 1.1.5; 1.1.6; 1.1.7; 1.1.8; 1.1.9
- opencc (npm): before 1.2.0
- byvoid open_chinese_convert: up to 1.1.9

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`
- GitHub: CVSS:3.1 5.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `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`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://vuldb.com/?submit.733347> (exploit, third-party-advisory, vdb-entry, web)
- <https://github.com/BYVoid/OpenCC/issues/997> (exploit, issue-tracking, patch, web)
- <https://github.com/oneafter/1222/blob/main/repro> (exploit, product, web)
- <https://vuldb.com/?id.341708> (technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.341708> (permissions-required, signature, vdb-entry, web)
- <https://github.com/BYVoid/OpenCC/pull/1005> (issue-tracking, patch, web)
- <https://github.com/BYVoid/OpenCC/commit/345c9a50ab07018f1b4439776bad78a0d40778ec> (patch, web)
- <https://github.com/BYVoid/OpenCC/> (product)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-15536> (advisory)
- <https://github.com/BYVoid/OpenCC> (package)

## Sources

- CVE List: [CVE-2025-15536](https://www.cve.org/CVERecord?id=CVE-2025-15536), CVE Terms of Use, modified 2026-02-23
- GitHub Advisory Database: [GHSA-5pr6-crvp-2j9f](https://github.com/advisories/GHSA-5pr6-crvp-2j9f), CC-BY-4.0, modified 2026-02-22
- NVD: [CVE-2025-15536](https://nvd.nist.gov/vuln/detail/CVE-2025-15536), Public domain, modified 2026-06-17

---

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