Out-of-bounds Write Affecting opencc package, versions <1.2.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.23% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE324-OPENCC-18916338
  • published19 Aug 2026
  • disclosed18 Jan 2026

Introduced: 18 Jan 2026

CVE-2025-15536  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 opencc to version 1.2.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream opencc package and not the opencc package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1