Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. opencc
  4. ›
  5. CVE-2025-15536

CVE-2025-15536: Open Chinese Convert has Out-of-bounds Write

January 18, 2026 (updated February 6, 2026)

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.

References

  • github.com/BYVoid/OpenCC
  • github.com/BYVoid/OpenCC/commit/345c9a50ab07018f1b4439776bad78a0d40778ec
  • github.com/BYVoid/OpenCC/issues/997
  • github.com/BYVoid/OpenCC/pull/1005
  • github.com/advisories/GHSA-5pr6-crvp-2j9f
  • github.com/oneafter/1222/blob/main/repro
  • nvd.nist.gov/vuln/detail/CVE-2025-15536
  • vuldb.com/?ctiid.341708
  • vuldb.com/?id.341708
  • vuldb.com/?submit.733347

Code Behaviors & Features

Detect and mitigate CVE-2025-15536 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.0

Fixed versions

  • 1.2.0

Solution

Upgrade to version 1.2.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-787: Out-of-bounds Write

Source file

npm/opencc/CVE-2025-15536.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 07 Feb 2026 00:18:00 +0000.