Read the docs
TI-2004-01648 Aliases CVE-2004-1772GHSA-c6qx-vg4x-8xrp

Stack-based buffer overflow in shar in GNU sharutils 4.2.1 allows local users to execute…

Priority LOW 22Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.

Summary

Stack-based buffer overflow in shar in GNU sharutils 4.2.1 allows local users to execute arbitrary code via a long -o command line argument.

Why it matters now

EPSS 0.00649 51st percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:gnu:sharutils:4.2:*:*:*:*:*:*:*4.2VulnerableGNU
cpe:2.3:a:gnu:sharutils:4.2.1:*:*:*:*:*:*:*4.2.1VulnerableGNU
  • cpe:2.3:a:gnu:sharutils:4.2:*:*:*:*:*:*:* Versions 4.2 Vulnerable ·GNU
  • cpe:2.3:a:gnu:sharutils:4.2.1:*:*:*:*:*:*:* Versions 4.2.1 Vulnerable ·GNU

Remediation

Red Hat 1 advisory

  • RHSA-2005:377 Released 2005-04-26 · Red Hat rating Low
    sharutils security update
    • Red Hat Desktop version 3 sharutils-4.2.1-16.2, sharutils-4.2.1-16.2.i386
    • Red Hat Enterprise Linux AS version 3 sharutils-4.2.1-16.2, sharutils-4.2.1-16.2.i386, sharutils-4.2.1-16.2.ia64 +1
    • Red Hat Enterprise Linux AS version 4 sharutils-4.2.1-22.2, sharutils-4.2.1-22.2.i386, sharutils-4.2.1-22.2.ia64 +1
    • Red Hat Enterprise Linux Desktop version 4 sharutils-4.2.1-22.2, sharutils-4.2.1-22.2.i386
    • Red Hat Enterprise Linux ES version 3 sharutils-4.2.1-16.2, sharutils-4.2.1-16.2.i386, sharutils-4.2.1-16.2.ia64
    • Red Hat Enterprise Linux ES version 4 sharutils-4.2.1-22.2, sharutils-4.2.1-22.2.i386, sharutils-4.2.1-22.2.ia64
    • Red Hat Enterprise Linux WS version 3 sharutils-4.2.1-16.2, sharutils-4.2.1-16.2.i386, sharutils-4.2.1-16.2.ia64
    • Red Hat Enterprise Linux WS version 4 sharutils-4.2.1-22.2, sharutils-4.2.1-22.2.i386, sharutils-4.2.1-22.2.ia64

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Desktop version 3Fixed RHSA-2005:377
Red Hat Enterprise Linux AS version 3Fixed RHSA-2005:377
Red Hat Enterprise Linux AS version 4Fixed RHSA-2005:377
Red Hat Enterprise Linux Desktop version 4Fixed RHSA-2005:377
Red Hat Enterprise Linux ES version 3Fixed RHSA-2005:377
Red Hat Enterprise Linux ES version 4Fixed RHSA-2005:377
Red Hat Enterprise Linux WS version 3Fixed RHSA-2005:377
Red Hat Enterprise Linux WS version 4Fixed RHSA-2005:377

Timeline

  1. 2026-10-02 Threatist record created from CVE-2004-1772
  2. 2026-10-03 Alias added: GHSA-c6qx-vg4x-8xrp
  3. 2026-10-16 EPSS moved to the 50th–90th percentile

References

  • TI-2018-15752 Sharutils sharutils (unshar command) version 4.15.2 contains a Buffer Overflow… CVSS 3.0HIGH 7.8
  • TI-2004-01649 Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute… CVSS 2.0HIGH 7.5
  • TI-2002-00172 uudecode, as available in the sharutils package before 4.2.1, does not check whether the… CVSS 2.0HIGH 7.2
  • TI-2005-00930 unshar (unshar.c) in sharutils 4.2.1 allows local users to overwrite arbitrary files via… CVSS 2.0LOW 2.1

Sources