---
title: 'USN-5143-1: Leptonica vulnerability | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-5143-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-5143-1

---

# USN-5143-1: Leptonica vulnerability

Publication date

8 February 2022

Overview

Leptonica could be made to run programs as your login if it opened
a specially crafted file.

Releases

[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)

---

Open side navigation

## Packages

* [leptonlib](https://ubuntu.com/security/cves?package=leptonlib) - Leptonica image processing library

## Details

It was discovered that Leptonica incorrectly handled certain image files. An
attacker could possibly use this issue to execute arbitrary code or other
unspecified impact.

## Update instructions

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

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

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

| Ubuntu Release | Package Version |
| --- | --- |
| 18.04 LTS bionic | [leptonica-progs](https://launchpad.net/ubuntu/+source/leptonlib) –  1.75.3-3ubuntu0.1~esm1   Ubuntu Pro | | |
| [liblept5](https://launchpad.net/ubuntu/+source/leptonlib) –  1.75.3-3ubuntu0.1~esm1   Ubuntu Pro | | |

---

### 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.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2018-7247](https://ubuntu.com/security/CVE-2018-7247)
