Quick answers
- Is CVE-2025-15536 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2025-15536 being exploited in the wild.
- How severe is CVE-2025-15536?
- Low severity, with a CVSS score of 3.1, published 18 January 2026.
- Which products and versions are affected?
- opencc (npm) SEMVER:introduced=0,fixed=1.2.0.
- Is there a fix for CVE-2025-15536?
- Yes. opencc (npm): upgrade to 1.2.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2025-15536 attacked?
- It is attacked with local access.
- Am I affected by CVE-2025-15536?
- Check whether you run opencc (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- opencc (npm): upgrade to 1.2.0 or later
npm install opencc@1.2.0
Technical details
The vulnerability is a heap-based out-of-bounds write (CWE-787) in the MaxMatchSegmentation::Segment function (src/MaxMatchSegmentation.cpp, line 34). The root cause is improper boundary checking when processing truncated UTF-8 sequences. The NextCharLength() function could return a value larger than the remaining input size, causing integer underflow when subtracted from a size_t length counter, leading to out-of-bounds reads/writes. The vulnerability affects OpenCC up to version 1.1.9 and requires local code execution to trigger. A patch (commit 345c9a50ab07018f1b4439776bad78a0d40778ec) released in version 1.2.0 fixes the issue by explicitly tracking buffer boundaries and clamping matched lengths to remaining buffer size. Proof-of-concept code is publicly available.
Affected products
- BYVoid OpenCC up to 1.1.9
Identifiers
- CVE-2025-15536
- GHSA-5pr6-crvp-2j9f
Timeline
- 2025-12-23: disclosed: Vulnerability reported in GitHub issue #997
- 2026-01-13: patched: Fix merged in pull request #1005
- 2026-01-18: advisory: Public advisory published as CVE-2025-15536 / GHSA-5pr6-crvp-2j9f