GitHub Advisoryadvisory · npm

GHSA-5pr6-crvp-2j9f Open Chinese Convert has Out-of-bounds Write

LOW Published 2026-01-18 Modified 2026-02-06 Official page ↗
Aliases
CVE-2025-15536
Ecosystem
npm
Packages
opencc
Severity
Low
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-119, CWE-787
Reviewed
2026-02-06

Affected packages

• npm opencc: < 1.2.0 → fixed in 1.2.0

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.

Related

Alias · CVE (1)

  • CVE-2025-15536 A weakness has been identified in BYVoid OpenCC up to 1.1.9. vulnerability

Weakness · CWE (2)

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

References