Advisory

GHSA-5pr6-crvp-2j9f

Also known as: CVE-2025-15536

Summary

Open Chinese Convert has Out-of-bounds Write

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-01-18 09:30 UTC
Modified
2026-02-22 23:26 UTC

Affected packages and fixes

opencc

npm · All systems

Affected

  • introduced 0, fixed 1.2.0 (semver)

Fixed versions

1.2.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences