CVE-2004-1772
Stack-based buffer overflow in shar in GNU sharutils 4.2.1 allows local users to execute...
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.
Exploit likelihood
What each source reports
NVD Score used 4.6
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.
- Record
CVE-2004-1772- CVSS 2.0
- 4.6 Medium
AV:L/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE ListNo score
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.
- Record
CVE-2004-1772- Updated
- 2026-11-02
EUVDEUVD-2004-1766No score
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.
- Record
EUVD-2004-1766- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c6qx-vg4x-8xrpNo score
Stack-based buffer overflow in shar in GNU sharutils 4.2.1 allows local users to execute...
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.
- Record
GHSA-c6qx-vg4x-8xrp- Updated
- 2026-11-02
OSVNo score
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.
- Record
CVE-2004-1772- Updated
- 2026-11-02
OSVDEBIAN-CVE-2004-1772No score
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.
- Record
DEBIAN-CVE-2004-1772- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sharutilsDebian:12 | before 1:4.2.1-11 | 1:4.2.1-11 |
sharutilsDebian:13 | before 1:4.2.1-11 | 1:4.2.1-11 |
sharutilsDebian:14 | before 1:4.2.1-11 | 1:4.2.1-11 |
sharutilsRed Hat:enterprise_linux:3::as From an advisory covering 3 CVEs | before 0:4.2.1-16.2 | 0:4.2.1-16.2 |
sharutils-debuginfoRed Hat:enterprise_linux:3::as From an advisory covering 3 CVEs | before 0:4.2.1-16.2 | 0:4.2.1-16.2 |
sharutilsRed Hat:enterprise_linux:3::desktop From an advisory covering 3 CVEs | before 0:4.2.1-16.2 | 0:4.2.1-16.2 |
sharutils-debuginfoRed Hat:enterprise_linux:3::desktop From an advisory covering 3 CVEs | before 0:4.2.1-16.2 | 0:4.2.1-16.2 |
sharutilsRed Hat:enterprise_linux:3::es From an advisory covering 3 CVEs | before 0:4.2.1-16.2 | 0:4.2.1-16.2 |
sharutils-debuginfoRed Hat:enterprise_linux:3::es From an advisory covering 3 CVEs | before 0:4.2.1-16.2 | 0:4.2.1-16.2 |
sharutilsRed Hat:enterprise_linux:3::ws From an advisory covering 3 CVEs | before 0:4.2.1-16.2 | 0:4.2.1-16.2 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
sharutils-debuginfoRed Hat:enterprise_linux:3::ws From an advisory covering 3 CVEs | before 0:4.2.1-16.2 | 0:4.2.1-16.2 |
sharutilsRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs | before 0:4.2.1-22.2 | 0:4.2.1-22.2 |
sharutils-debuginfoRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs | before 0:4.2.1-22.2 | 0:4.2.1-22.2 |
sharutilsRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs | before 0:4.2.1-22.2 | 0:4.2.1-22.2 |
sharutils-debuginfoRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs | before 0:4.2.1-22.2 | 0:4.2.1-22.2 |
sharutilsRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs | before 0:4.2.1-22.2 | 0:4.2.1-22.2 |
sharutils-debuginfoRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs | before 0:4.2.1-22.2 | 0:4.2.1-22.2 |
sharutilsRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs | before 0:4.2.1-22.2 | 0:4.2.1-22.2 |
sharutils-debuginfoRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs | before 0:4.2.1-22.2 | 0:4.2.1-22.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2004-1772 is a medium vulnerability (CVSS 4.6) in Gnu Sharutils, published December 31, 2004. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.65%, the 51st percentile. Fixed in sharutils 1:4.2.1-11.
References
marc.info?l=bugtraq&m=108137386310299&w=2
bugzilla.fedora.us/show_bug.cgi?id=2155
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11722
securityfocus.com/bid/10066
exchange.xforce.ibmcloud.com/vulnerabilities/15759
securityfocus.com/archive/1/359639
Show 21 moreShow less
redhat.com/support/errata/RHSA-2005-377.html
nvd.nist.gov/vuln/detail/CVE-2004-1772
github.com/advisories/GHSA-c6qx-vg4x-8xrp
security-tracker.debian.org/tracker/CVE-2004-1772
access.redhat.com/errata/RHSA-2005:377
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=152571
bugzilla.redhat.com/show_bug.cgi?id=152573
bugzilla.redhat.com/show_bug.cgi?id=154049
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_377.json
access.redhat.com/security/cve/CVE-2004-1772
bugzilla.redhat.com/show_bug.cgi?id=1617417
cve.org/CVERecord?id=CVE-2004-1772
access.redhat.com/security/cve/CVE-2004-1773
bugzilla.redhat.com/show_bug.cgi?id=1617418
cve.org/CVERecord?id=CVE-2004-1773
nvd.nist.gov/vuln/detail/CVE-2004-1773
access.redhat.com/security/cve/CVE-2005-0990
bugzilla.redhat.com/show_bug.cgi?id=1617597
cve.org/CVERecord?id=CVE-2005-0990
nvd.nist.gov/vuln/detail/CVE-2005-0990