---
title: 'USN-7118-1: ZBar vulnerabilities | 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-7118-1
---

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

---

# USN-7118-1: ZBar vulnerabilities

Publication date

21 November 2024

Overview

ZBar could expose sensitive data if it opened a specially crafted file

Releases

[22.04 LTS](https://ubuntu.com/security/notices?release=jammy)
[20.04 LTS](https://ubuntu.com/security/notices?release=focal)
[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)
[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)

---

Open side navigation

## Packages

* [zbar](https://ubuntu.com/security/cves?package=zbar) - bar code scanner and decoder (Perl bindings)

## Details

It was discovered that ZBar did not properly handle certain QR codes. If a
user or automated system using ZBar were tricked into opening a specially
crafted file, an attacker could possibly use this to obtain sensitive
information. ([CVE-2023-40889](https://ubuntu.com/security/CVE-2023-40889))

It was discovered that ZBar did not properly handle certain QR codes. If a
user or automated system using ZBar were tricked into opening a specially
crafted file, an attacker could possibly use this to obtain sensitive
information. This issue only affected Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. ([CVE-2023-40890](https://ubuntu.com/security/CVE-2023-40890))

## 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 |
| --- | --- |
| 22.04 LTS jammy | [libzbar0](https://launchpad.net/ubuntu/+source/zbar) –  0.23.92-4ubuntu0.1~esm1   Ubuntu Pro | | |
| 20.04 LTS focal | [libzbar0](https://launchpad.net/ubuntu/+source/zbar) –  0.23-1.3ubuntu0.1~esm1   Ubuntu Pro | | |
| 18.04 LTS bionic | [libzbar0](https://launchpad.net/ubuntu/+source/zbar) –  0.10+doc-10.1ubuntu0.1~esm1   Ubuntu Pro | | |
| 16.04 LTS xenial | [libzbar0](https://launchpad.net/ubuntu/+source/zbar) –  0.10+doc-10ubuntu1+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-2023-40890](https://ubuntu.com/security/CVE-2023-40890)
* [CVE-2023-40889](https://ubuntu.com/security/CVE-2023-40889)
