{"id":"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.","modified":"2026-05-26T22:59:14.306467709Z","published":"2026-01-18T09:15:00Z","related":["USN-7972-1","USN-7972-2"],"upstream":["CVE-2025-15536"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-15536"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-15536"},{"type":"REPORT","url":"https://github.com/BYVoid/OpenCC/pull/1005"},{"type":"REPORT","url":"https://github.com/oneafter/1222/blob/main/repro"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.341708"},{"type":"REPORT","url":"https://vuldb.com/?id.341708"},{"type":"REPORT","url":"https://vuldb.com/?submit.733347"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7972-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7972-2"}],"affected":[{"package":{"name":"opencc","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/opencc?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.3-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libopencc1","binary_version":"0.4.3-2build1"},{"binary_version":"0.4.3-2build1","binary_name":"opencc"},{"binary_version":"0.4.3-2build1","binary_name":"python-opencc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15536.json"}},{"package":{"name":"opencc","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/opencc?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.4-5ubuntu0.1~esm1"}]}],"versions":["1.0.4-5"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.4-5ubuntu0.1~esm1","binary_name":"libopencc2"},{"binary_name":"libopencc2-data","binary_version":"1.0.4-5ubuntu0.1~esm1"},{"binary_version":"1.0.4-5ubuntu0.1~esm1","binary_name":"opencc"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15536.json"}},{"package":{"name":"opencc","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/opencc?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5+git20190530-1ubuntu0.1~esm1"}]}],"versions":["1.0.5-2","1.0.5+git20190530-1","1.0.5+git20190530-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libopencc2","binary_version":"1.0.5+git20190530-1ubuntu0.1~esm1"},{"binary_name":"libopencc2-data","binary_version":"1.0.5+git20190530-1ubuntu0.1~esm1"},{"binary_name":"opencc","binary_version":"1.0.5+git20190530-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15536.json"}},{"package":{"name":"opencc","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/opencc?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3+ds1-3ubuntu3.1"}]}],"versions":["1.1.1+git20200624+ds2-10ubuntu3","1.1.3+ds1-3ubuntu2","1.1.3+ds1-3ubuntu3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.1.3+ds1-3ubuntu3.1","binary_name":"libopencc-data"},{"binary_name":"libopencc1.1","binary_version":"1.1.3+ds1-3ubuntu3.1"},{"binary_name":"opencc","binary_version":"1.1.3+ds1-3ubuntu3.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15536.json"}},{"package":{"name":"opencc","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/opencc?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.7+ds1-1ubuntu0.1"}]}],"versions":["1.1.6+ds1-1","1.1.7+ds1-1","1.1.7+ds1-1build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.1.7+ds1-1ubuntu0.1","binary_name":"libopencc-data"},{"binary_name":"libopencc1.1","binary_version":"1.1.7+ds1-1ubuntu0.1"},{"binary_name":"opencc","binary_version":"1.1.7+ds1-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15536.json"}},{"package":{"name":"opencc","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/opencc?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.9+ds1-2ubuntu0.1"}]}],"versions":["1.1.9+ds1-1build1","1.1.9+ds1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libopencc-data","binary_version":"1.1.9+ds1-2ubuntu0.1"},{"binary_name":"libopencc1.1","binary_version":"1.1.9+ds1-2ubuntu0.1"},{"binary_version":"1.1.9+ds1-2ubuntu0.1","binary_name":"opencc"},{"binary_name":"python3-opencc","binary_version":"1.1.9+ds1-2ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-15536.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS: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"},{"type":"Ubuntu","score":"medium"}]}