CVE catalog

CVE-2004-1772

sharutils: CVE-2004-1772

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.65% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiansharutilssid1:4.15.2-13fixed
Debiansharutilsforky1:4.15.2-13fixed
Debiansharutilstrixie1:4.15.2-12fixed
Debiansharutilsbookworm1:4.15.2-9fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansharutilssourcesid1:4.2.1-11not yet assignedNot reportedNot reported
Debiansharutilssourceforky1:4.2.1-11not yet assignedNot reportedNot reported
Debiansharutilssourcetrixie1:4.2.1-11not yet assignedNot reportedNot reported
Debiansharutilssourcebookworm1:4.2.1-11not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [sharutils]Fixed
    Details (2)
    • 1:4.15.2-9 · amd64 · bookworm

      Fixed · Fixed: 1:4.2.1-11

      dsa · sharutils · debian · bookworm; dsa · sharutils · debian · 12

    • 1:4.15.2-9 · arm64 · bookworm

      Fixed · Fixed: 1:4.2.1-11

      dsa · sharutils · debian · bookworm; dsa · sharutils · debian · 12

  • Source package: [sharutils]

    Details (2)
    • 1:4.15.2-9 · all · bookworm

      Fixed · Fixed: 1:4.2.1-11

      dsa · sharutils · debian · bookworm; dsa · sharutils · debian · 12

    • 1:4.15.2-9 · all · bookworm

      Fixed · Fixed: 1:4.2.1-11

      dsa · sharutils · debian · bookworm; dsa · sharutils · debian · 12

[Debian 13 (Trixie)]

  • [sharutils]Fixed
    Details (2)
    • 1:4.15.2-12 · amd64 · trixie

      Fixed · Fixed: 1:4.2.1-11

      dsa · sharutils · debian · 13

    • 1:4.15.2-12 · arm64 · trixie

      Fixed · Fixed: 1:4.2.1-11

      dsa · sharutils · debian · 13

  • Source package: [sharutils]

    Details (2)
    • 1:4.15.2-12 · all · trixie

      Fixed · Fixed: 1:4.2.1-11

      dsa · sharutils · debian · 13

    • 1:4.15.2-12 · all · trixie

      Fixed · Fixed: 1:4.2.1-11

      dsa · sharutils · debian · 13

Observed:

References