CVE-2018-25154 GNU Barcode 0.99 Buffer Overflow in Code 93 Encoding Mechanism
Attackers can execute arbitrary code via a buffer overflow in GNU Barcode's Code 93 encoding when processing malicious input files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2018-25154?
CVE-2018-25154 is a high-severity memory corruption vulnerability in The GNU Project | Free Software Foundation, Inc. GNU Barcode, published on 24 Dec 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2018-25154?
How do I fix CVE-2018-25154?
No fix has been published for CVE-2018-25154 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-25154 being exploited?
There is no known exploitation of CVE-2018-25154 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2018-25154, GHSA-fv28-hc36-43g9, UBUNTU-CVE-2018-25154.