Skip to content
Fencer Vulns
high 7.8

CVE-2018-1000097 json

Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow vulnerability in Affected component on the file unshar.c at…

published 2018-03-13 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-1835

cvss
7.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

Summary

Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow vulnerability in Affected component on the file unshar.c at line 75, function looks_like_c_code. Failure to perform checking of the buffer containing input line. that can result in Could lead to code execution. This attack appear to be exploitable via Victim have to run unshar command on a specially crafted file..

Patch / fix

  • sharutils Debian 14, Debian 13, Debian 12 1:4.15.2-3

debian advisories DEBIAN-CVE-2018-1000097

  • sharutils Ubuntu 14.04 LTS 1:4.14-1ubuntu1.1
  • sharutils Ubuntu 16.04 LTS 1:4.15.2-1ubuntu0.1

ubuntu advisories UBUNTU-CVE-2018-1000097

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • sharutils openSUSE Tumbleweed 4.15.2-6.9

opensuse advisories openSUSE-SU-2024:11380-1

  • sharutils Azure Linux 3.0 4.15.2-21
  • sharutils CBL-Mariner 2.0 4.15.2-20

azure linux advisories AZL-35251AZL-6876

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-1000097 updated cvss 3.3

sharutils: heap-buffer-overflow in find_archive in unshar.c

  • Red Hat Enterprise Linux 5 sharutils Red Hat Enterprise Linux 6 sharutils Red Hat Enterprise Linux 7 sharutils Red Hat Enterprise Linux 8 sharutils
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.96% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.