Ubuntu CVE Tracker
UBUNTU-CVE-2025-15536
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:16.04:LTS | opencc | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | opencc | All versions before 1.0.4-5ubuntu0.1~esm1 (fixed in 1.0.4-5ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | opencc | All versions before 1.0.5+git20190530-1ubuntu0.1~esm1 (fixed in 1.0.5+git20190530-1ubuntu0.1~esm1) |
| Ubuntu:22.04:LTS | opencc | All versions before 1.1.3+ds1-3ubuntu3.1 (fixed in 1.1.3+ds1-3ubuntu3.1) |
| Ubuntu:24.04:LTS | opencc | All versions before 1.1.7+ds1-1ubuntu0.1 (fixed in 1.1.7+ds1-1ubuntu0.1) |
| Ubuntu:25.10 | opencc | All versions before 1.1.9+ds1-2ubuntu0.1 (fixed in 1.1.9+ds1-2ubuntu0.1) |
References
- https://ubuntu.com/security/CVE-2025-15536
- https://www.cve.org/CVERecord?id=CVE-2025-15536
- https://github.com/BYVoid/OpenCC/pull/1005
- https://github.com/oneafter/1222/blob/main/repro
- https://vuldb.com/?ctiid.341708
- https://vuldb.com/?id.341708
- https://vuldb.com/?submit.733347
- https://ubuntu.com/security/notices/USN-7972-1
- https://ubuntu.com/security/notices/USN-7972-2