CVE-2025-15536 BYVoid OpenCC MaxMatchSegmentation.cpp MaxMatchSegmentation heap-based overflow
A heap-based buffer overflow in OpenCC allows local attackers to execute arbitrary code or cause denial of service via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-15536?
CVE-2025-15536 is a medium-severity memory corruption vulnerability in BYVoid OpenCC, published on 18 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-15536?
2 open source packages ship an affected version, including opencc. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
opencc npm | All versions | 1.2.0 |
opencc npm | All versions | 1.2.0 |
Linux distribution packages (1)
opencc openSUSE:Tumbleweed | All versions | 1.2.0-1.1 |
Products include Byvoid Open Chinese Convert.
How do I fix CVE-2025-15536?
Upgrade opencc to 1.2.0 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-15536 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-15536 exists.
Other vulnerabilities in BYVoid OpenCC
Sources
Also known as AZL-74768, AZL-74790, DEBIAN-CVE-2025-15536, GHSA-5pr6-crvp-2j9f, OESA-2026-1209, OESA-2026-1210 and 9 more.