CVEfocus › CVE database › CVE-2025-15536

CVE-2025-15536BYVoid OpenCC MaxMatchSegmentation.cpp MaxMatchSegmentation heap-based overflow

CVSS 5.3 MediumEPSS 0.2% (higher than 10% of CVEs)Published 2026-01-18Updated 2026-02-23Assigner: VulDB

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.

CWE-119CWE-122

What to do

Fixed builds are available from Alpine, Debian, Ubuntu, npm: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
8Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04openccNot affected
vulnerable_code_not_present
Ubuntu 25.10openccFixed1.1.9+ds1-2ubuntu0.1UBUNTU-CVE-2025-15536
Ubuntu 24.04openccFixed1.1.7+ds1-1ubuntu0.1UBUNTU-CVE-2025-15536
Ubuntu 22.04openccFixed1.1.3+ds1-3ubuntu3.1UBUNTU-CVE-2025-15536
Ubuntu 20.04openccFix pending1.0.5+git20190530-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-15536
Ubuntu 18.04openccFix pending1.0.4-5ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-15536
Ubuntu 16.04openccFix pendingUBUNTU-CVE-2025-15536
Debian 14openccFixed1.1.9+ds1-4DEBIAN-CVE-2025-15536
Debian 13openccFixed1.1.9+ds1-1+deb13u1DEBIAN-CVE-2025-15536
Debian 12openccFix pendingDEBIAN-CVE-2025-15536
Red Hat Enterprise Linux 7openccFix pending
Fix deferred
Red Hat Enterprise Linux 7opencc-develFix pending
Fix deferred
Red Hat Enterprise Linux 7opencc-docFix pending
Fix deferred
Red Hat Enterprise Linux 7opencc-toolsFix pending
Fix deferred
Alpine Linux 3.24openccFixed1.2.0-r0ALPINE-CVE-2025-15536
npm libraryopenccFixed1.2.0GHSA-5pr6-crvp-2j9f

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.