Out-of-bounds read in opencc - #VU128159
Published: April 27, 2026
opencc
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information and cause a denial of service.
The vulnerability exists due to out-of-bounds read in UTF-8 processing in MaxMatchSegmentation::Segment and Conversion::Convert(const char*) when processing malformed or truncated UTF-8 input. A remote attacker can send specially crafted UTF-8 input to disclose sensitive information and cause a denial of service.
In some cases, adjacent heap bytes may be propagated into the conversion result.