GHSA-5pr6-crvp-2j9f

Suggest an improvement
Source
https://github.com/advisories/GHSA-5pr6-crvp-2j9f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-5pr6-crvp-2j9f/GHSA-5pr6-crvp-2j9f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5pr6-crvp-2j9f
Aliases
Published
2026-01-18T09:30:27Z
Modified
2026-02-22T23:21:23.603330Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 1.9 (Low) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "github_reviewed_at": "2026-02-06T22:32:12Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-119",
        "CWE-787"
    ],
    "nvd_published_at": "2026-01-18T09:15:46Z",
    "severity": "LOW"
}
References

Affected packages

npm / opencc

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-5pr6-crvp-2j9f/GHSA-5pr6-crvp-2j9f.json"
last_known_affected_version_range
"<= 1.1.9"