Red Hat VEX
RHVEX-CVE-2025-15536
opencc: OpenCC: Heap-based buffer overflow in MaxMatchSegmentation function allows local attackers to impact system integrity.
Details
A flaw was found in BYVoid OpenCC. This vulnerability involves a heap-based buffer overflow, a type of memory corruption, within the MaxMatchSegmentation function. A local attacker can exploit this by providing specially crafted input, which may lead to information disclosure, denial of service, or potentially arbitrary code execution. An exploit for this issue is publicly available.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | opencc | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:7 | opencc-devel | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:7 | opencc-doc | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:7 | opencc-tools | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2025-15536
- https://bugzilla.redhat.com/show_bug.cgi?id=2430670
- https://www.cve.org/CVERecord?id=CVE-2025-15536
- https://nvd.nist.gov/vuln/detail/CVE-2025-15536
- https://github.com/BYVoid/OpenCC/commit/345c9a50ab07018f1b4439776bad78a0d40778ec
- https://github.com/BYVoid/OpenCC/issues/997
- 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