USN-7972-2: OpenCC vulnerability

Publication date

26 May 2026

Overview

OpenCC could be made to crash if it received specially crafted input.


Packages

  • opencc - simplified-traditional Chinese conversion library

Details

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.

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.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
20.04 LTS focal libopencc2 –  1.0.5+git20190530-1ubuntu0.1~esm1  
opencc –  1.0.5+git20190530-1ubuntu0.1~esm1  
18.04 LTS bionic libopencc2 –  1.0.4-5ubuntu0.1~esm1  
opencc –  1.0.4-5ubuntu0.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›