USN-5631-1

Type: Security
Severity: Medium
Published: 2022-09-22
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that libjpeg-turbo incorrectly handled certain EOF characters. An attacker could possibly use this issue to cause libjpeg-turbo to consume resource, leading to a denial of service. This issue only affected Ubuntu 18.04 LTS. (CVE-2018-11813) It was discovered that libjpeg-turbo incorrectly handled certain malformed jpeg files. An attacker could possibly use this issue to cause libjpeg-turbo to crash, resulting in a denial of service. (CVE-2020-17541, CVE-2020-35538) It was discovered that libjpeg-turbo incorrectly handled certain malformed PPM files. An attacker could use this issue to cause libjpeg-turbo to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-46822) Update Instructions: Run `sudo pro fix USN-5631-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libturbojpeg0-dev - 2.0.3-0ubuntu1.20.04.3 libjpeg-turbo8-dev - 2.0.3-0ubuntu1.20.04.3 libjpeg-turbo-progs - 2.0.3-0ubuntu1.20.04.3 libturbojpeg - 2.0.3-0ubuntu1.20.04.3 libjpeg-turbo8 - 2.0.3-0ubuntu1.20.04.3 libjpeg-turbo-test - 2.0.3-0ubuntu1.20.04.3 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T05:50:43.533Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T05:50:43.533Z UTC. Last updated 2025-11-26T08:03:55.088Z UTC.

Upstream Advisory

Affected Packages

  • libturbojpeg0-dev 2.0.3-0ubuntu1.20.04.3-2.0.3-0ubuntu1.20.04.3

  • libjpeg-turbo8-dev 2.0.3-0ubuntu1.20.04.3-2.0.3-0ubuntu1.20.04.3

  • libjpeg-turbo-progs 2.0.3-0ubuntu1.20.04.3-2.0.3-0ubuntu1.20.04.3

  • libturbojpeg 2.0.3-0ubuntu1.20.04.3-2.0.3-0ubuntu1.20.04.3

  • libjpeg-turbo8 2.0.3-0ubuntu1.20.04.3-2.0.3-0ubuntu1.20.04.3

  • libjpeg-turbo-test 2.0.3-0ubuntu1.20.04.3-2.0.3-0ubuntu1.20.04.3

Interested in being alerted when there are new versions of libturbojpeg0-dev and the other packages? Set up an alert.
USN-5631-1: libjpeg-turbo vulnerabilities | Package Alert