---
title: "CVE-2018-25154\n    | Ubuntu"
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/CVE-2018-25154?format=md
keywords: index, follow
---

# CVE-2018-25154

Publication date 24 December 2025

Last updated 10 July 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2018-25154?format=md#impact-score)

Toggle side navigation

## Description

GNU Barcode 0.99 contains a buffer overflow vulnerability in its code 93
encoding process that allows attackers to trigger memory corruption.
Attackers can exploit boundary errors during input file processing to
potentially execute arbitrary code on the affected system.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| barcode | 26.04 LTS resolute | Needs evaluation |
| 25.10 questing | Ignored end of life, was needs-triage |
| 25.04 plucky | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Needs evaluation |
| 22.04 LTS jammy | Needs evaluation |
| 20.04 LTS focal | Needs evaluation |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Needs evaluation |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:

CVSS v4.0

[CVSS v4.0](https://ubuntu.com/security/CVE-2018-25154?format=md)
[CVSS v3.0](https://ubuntu.com/security/CVE-2018-25154?format=md)

**Base score**

8.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Attack requirements | None |
  | Privileges required | None |
  | User interaction | Passive |
  | Vulnerable system - Confidentiality impact | High |
  | Vulnerable system - Integrity impact | High |
  | Vulnerable system - Availability impact | High |
  | Subsequent system - Confidentiality impact | None |
  | Subsequent system - Integrity impact | None |
  | Subsequent system - Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.5 · High |
  | Base + Threat score | - |
  | Base + Environmental score | - |
  | Base + Threat + Environmental score | - |

**Vector:** CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-25154)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-25154)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-25154)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-25154)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2018-25154>
* <https://lists.gnu.org/archive/html/bug-barcode/2018-05/msg00002.html>
* <https://www.exploit-db.com/exploits/44797>
* <https://directory.fsf.org/wiki/Barcode>
* <https://www.gnu.org/software/barcode/>
