Every CVE Search/ Get API key

CVE-2025-15536

BYVoid OpenCC MaxMatchSegmentation.cpp MaxMatchSegmentation heap-based overflow

4.8 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

0.25%Up 0.2 points since Jan 18, 2026
90%50%10%1%

What each source reports

CVE List Score used 4.8

BYVoid OpenCC MaxMatchSegmentation.cpp MaxMatchSegmentation heap-based overflow

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.

Record
CVE-2025-15536
CVSS 4.0
4.8 MediumCVSS: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 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
CVSS 3.0
5.3 MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
CVSS 2.0
4.3 AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C
Weakness
CWE-122, CWE-119
Updated
2026-11-02
EUVDEUVD-2026-3183 4.8

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.

Record
EUVD-2026-3183
CVSS 4.0
4.8 MediumCVSS: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
Updated
2026-11-02
GitHub AdvisoriesGHSA-5pr6-crvp-2j9f 1.9

Open Chinese Convert has Out-of-bounds Write

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.

Record
GHSA-5pr6-crvp-2j9f
CVSS 4.0
1.9 LowCVSS: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 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-119, CWE-787
Updated
2026-11-02
NVD 1.9

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.

Record
CVE-2025-15536
CVSS 4.0
1.9 LowCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:L/AC:L/Au:S/C:P/I:P/A:P
Weakness
CWE-119, CWE-122, CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2025-15536 5.5

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.

Record
ALPINE-CVE-2025-15536
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSV 1.9

BYVoid OpenCC MaxMatchSegmentation.cpp MaxMatchSegmentation heap-based overflow

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.

Record
CVE-2025-15536
CVSS 4.0
1.9 LowCVSS: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
Weakness
CWE-119, CWE-122
Updated
2026-11-02
Show 15 moreShow less
OSVDEBIAN-CVE-2025-15536 5.5

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.

Record
DEBIAN-CVE-2025-15536
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-5pr6-crvp-2j9f 1.9

Open Chinese Convert has Out-of-bounds Write

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.

Record
GHSA-5pr6-crvp-2j9f
CVSS 4.0
1.9 LowCVSS: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 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-119, CWE-787
Updated
2026-11-02
OSVOESA-2026-1209 5.3

opencc security update

Opencc is for between Traditional Chinese and Simplified Chinese characters and phrases conversion library.

Security Fix(es):

A vulnerability was found in BYVoid OpenCC up to 1.1.9 and classified as critical. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability. The exploit is available at github.com. It is declared as proof-of-concept. Applying the patch 345c9a50ab07018f1b4439776bad78a0d40778ec is able to eliminate this problem. The bugfix is ready for download at github.com.(CVE-2025-15536)

Record
OESA-2026-1209
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVOESA-2026-1210 5.3

opencc security update

Opencc is for between Traditional Chinese and Simplified Chinese characters and phrases conversion library.

Security Fix(es):

A vulnerability was found in BYVoid OpenCC up to 1.1.9 and classified as critical. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability. The exploit is available at github.com. It is declared as proof-of-concept. Applying the patch 345c9a50ab07018f1b4439776bad78a0d40778ec is able to eliminate this problem. The bugfix is ready for download at github.com.(CVE-2025-15536)

Record
OESA-2026-1210
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVOESA-2026-1211 5.3

opencc security update

Opencc is for between Traditional Chinese and Simplified Chinese characters and phrases conversion library.

Security Fix(es):

A vulnerability was found in BYVoid OpenCC up to 1.1.9 and classified as critical. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability. The exploit is available at github.com. It is declared as proof-of-concept. Applying the patch 345c9a50ab07018f1b4439776bad78a0d40778ec is able to eliminate this problem. The bugfix is ready for download at github.com.(CVE-2025-15536)

Record
OESA-2026-1211
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVOESA-2026-1212 5.3

opencc security update

Opencc is for between Traditional Chinese and Simplified Chinese characters and phrases conversion library.

Security Fix(es):

A vulnerability was found in BYVoid OpenCC up to 1.1.9 and classified as critical. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability. The exploit is available at github.com. It is declared as proof-of-concept. Applying the patch 345c9a50ab07018f1b4439776bad78a0d40778ec is able to eliminate this problem. The bugfix is ready for download at github.com.(CVE-2025-15536)

Record
OESA-2026-1212
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVOESA-2026-1213 5.3

opencc security update

Opencc is for between Traditional Chinese and Simplified Chinese characters and phrases conversion library.

Security Fix(es):

A vulnerability was found in BYVoid OpenCC up to 1.1.9 and classified as critical. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability. The exploit is available at github.com. It is declared as proof-of-concept. Applying the patch 345c9a50ab07018f1b4439776bad78a0d40778ec is able to eliminate this problem. The bugfix is ready for download at github.com.(CVE-2025-15536)

Record
OESA-2026-1213
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2025-15536 1.9

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.

Record
UBUNTU-CVE-2025-15536
CVSS 4.0
1.9 LowCVSS: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 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1
5.3 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVAZL-74768 No score

CVE-2025-15536 affecting package opencc 1.1.1-3

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.

Record
AZL-74768
Updated
2026-11-05
OSVAZL-74790 No score

CVE-2025-15536 affecting package opencc 1.1.1-3

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.

Record
AZL-74790
Updated
2026-11-02
OSVopenSUSE-SU-2026:10102-1 No score

libopencc1_2-1.2.0-1.1 on GA media

These are all security issues fixed in the libopencc1_2-1.2.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:10102-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:20683-1 No score

Security update for opencc

This update for opencc fixes the following issues:

Update to version 1.2.0.

Security issues fixed:

  • CVE-2025-15536: specifically crafted string can lead to out-of-bounds read (bsc#1256930).

Other updates and bugfixes:

  • Version 1.2.0:
    • Fix the crash issue when reading configuration files.
    • Add type definitions (Typing).
    • Fix two out-of-bounds reading issues when handling truncated UTF-8 input.
Record
openSUSE-SU-2026:20683-1
Updated
2026-11-02
OSVSUSE-SU-2026:21553-1 No score

Security update for opencc

This update for opencc fixes the following issues:

Update to version 1.2.0.

Security issues fixed:

  • CVE-2025-15536: specifically crafted string can lead to out-of-bounds read (bsc#1256930).

Other updates and bugfixes:

  • Version 1.2.0:
    • Fix the crash issue when reading configuration files.
    • Add type definitions (Typing).
    • Fix two out-of-bounds reading issues when handling truncated UTF-8 input.
Record
SUSE-SU-2026:21553-1
Updated
2026-11-02
OSVUSN-7972-1 No score

opencc vulnerability

It was discovered that OpenCC incorrectly handled truncated UTF-8 input. An attacker could possibly use this issue to cause OpenCC to crash, resulting in a denial of service.

Record
USN-7972-1
Updated
2026-11-02
OSVUSN-7972-2 No score

opencc vulnerability

USN-7972-1 fixed a vulnerability in OpenCC. This update provides the corresponding update for Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.

Original advisory details:

It was discovered that OpenCC incorrectly handled truncated UTF-8 input. An attacker could possibly use this issue to cause OpenCC to crash, resulting in a denial of service.

Record
USN-7972-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
opencc
npm
through 1.1.9
1.2.0
opencc
Alpine:v3.24
before 1.2.0-r0
1.2.0-r0
opencc
Azure Linux:3
through 1.1.1-3 None known
opencc
Azure Linux:2
through 1.1.1-3 None known
opencc
Debian:12
All versions, plus listed versions
1.1.6+ds1-11.1.6+ds1-21.1.7+ds1-11.1.8+ds1-11.1.8+ds1-1~exp1
Show 29 moreShow less
1.1.8+ds1-21.1.8+ds1-31.1.9+ds1-11.1.9+ds1-1~exp11.1.9+ds1-21.1.9+ds1-31.1.9+ds1-3~exp11.1.9+ds1-41.2.0+ds1-11.2.0+ds1-1~exp11.2.0+ds1-1~exp21.3.0+ds1-11.3.0+ds1-1~exp11.3.0+ds1-21.3.1+ds1-11.3.1+ds1-21.3.1+ds1-31.4.1+ds1-11.4.1+ds1-1~exp11.4.1+ds1-1~exp21.4.1+ds1-1~exp31.4.1+ds1-21.4.1+ds1-31.4.1+ds1-41.4.1+ds1-51.4.1+ds1-61.4.1+ds1-71.4.1+ds1-81.4.2+ds1-1
None known
opencc
Debian:13
before 1.1.9+ds1-1+deb13u1, plus listed versions
1.1.9+ds1-1
1.1.9+ds1-1+deb13u1
opencc
Debian:14
before 1.1.9+ds1-4, plus listed versions
1.1.9+ds1-11.1.9+ds1-21.1.9+ds1-31.1.9+ds1-3~exp1
1.1.9+ds1-4
opencc
npm
before 1.2.0
1.2.0
opencc
openEuler:24.03-LTS-SP2
before 1.1.7-3.oe2403sp2
1.1.7-3.oe2403sp2
opencc
openEuler:24.03-LTS-SP3
before 1.1.7-3.oe2403sp3
1.1.7-3.oe2403sp3
Show 10 moreShow less
Affected packages
PackageAffectedFixed
opencc
openEuler:22.03-LTS-SP4
before 1.1.3-3.oe2203sp4
1.1.3-3.oe2203sp4
opencc
openEuler:24.03-LTS
before 1.1.7-3.oe2403
1.1.7-3.oe2403
opencc
openEuler:24.03-LTS-SP1
before 1.1.7-3.oe2403sp1
1.1.7-3.oe2403sp1
opencc
Ubuntu:16.04:LTS
All versions, plus listed versions
0.4.3-2build1
None known
opencc
Ubuntu:Pro:18.04:LTS
before 1.0.4-5ubuntu0.1~esm1, plus listed versions
1.0.4-5
1.0.4-5ubuntu0.1~esm1
opencc
Ubuntu:Pro:20.04:LTS
before 1.0.5+git20190530-1ubuntu0.1~esm1, plus listed versions
1.0.5-21.0.5+git20190530-11.0.5+git20190530-1build1
1.0.5+git20190530-1ubuntu0.1~esm1
opencc
Ubuntu:22.04:LTS
before 1.1.3+ds1-3ubuntu3.1, plus listed versions
1.1.1+git20200624+ds2-10ubuntu31.1.3+ds1-3ubuntu21.1.3+ds1-3ubuntu3
1.1.3+ds1-3ubuntu3.1
opencc
Ubuntu:24.04:LTS
before 1.1.7+ds1-1ubuntu0.1, plus listed versions
1.1.6+ds1-11.1.7+ds1-11.1.7+ds1-1build1
1.1.7+ds1-1ubuntu0.1
opencc
Ubuntu:25.10
before 1.1.9+ds1-2ubuntu0.1, plus listed versions
1.1.9+ds1-1build11.1.9+ds1-2
1.1.9+ds1-2ubuntu0.1
opencc
openSUSE:Tumbleweed
before 1.2.0-1.1
1.2.0-1.1

History

History
RecordedChangedSources
factsOSV
affected, aliases, referencesOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-15536 is a medium vulnerability (CVSS 4.8) in Byvoid Opencc, published January 18, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.25%, the 16th percentile. Fixed in opencc 1.2.0.

References

Show 19 moreShow less
MoveEnter Open