
CVE catalog
CVE-2004-1772
sharutils: CVE-2004-1772
- 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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | sharutils | sid | 1:4.15.2-13 | fixed |
| Debian | sharutils | forky | 1:4.15.2-13 | fixed |
| Debian | sharutils | trixie | 1:4.15.2-12 | fixed |
| Debian | sharutils | bookworm | 1:4.15.2-9 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | sharutils | source | sid | 1:4.2.1-11 | not yet assigned | Not reported | Not reported |
| Debian | sharutils | source | forky | 1:4.2.1-11 | not yet assigned | Not reported | Not reported |
| Debian | sharutils | source | trixie | 1:4.2.1-11 | not yet assigned | Not reported | Not reported |
| Debian | sharutils | source | bookworm | 1:4.2.1-11 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [sharutils]Fixed
Details (2)
1:4.15.2-9· amd64 · bookwormFixed · Fixed:
1:4.2.1-11dsa · sharutils · debian · bookworm; dsa · sharutils · debian · 12
1:4.15.2-9· arm64 · bookwormFixed · Fixed:
1:4.2.1-11dsa · sharutils · debian · bookworm; dsa · sharutils · debian · 12
- [sharutils-doc]Fixed
Source package: [sharutils]
Details (2)
1:4.15.2-9· all · bookwormFixed · Fixed:
1:4.2.1-11dsa · sharutils · debian · bookworm; dsa · sharutils · debian · 12
1:4.15.2-9· all · bookwormFixed · Fixed:
1:4.2.1-11dsa · sharutils · debian · bookworm; dsa · sharutils · debian · 12
[Debian 13 (Trixie)]
- [sharutils]Fixed
Details (2)
1:4.15.2-12· amd64 · trixieFixed · Fixed:
1:4.2.1-11dsa · sharutils · debian · 13
1:4.15.2-12· arm64 · trixieFixed · Fixed:
1:4.2.1-11dsa · sharutils · debian · 13
- [sharutils-doc]Fixed
Source package: [sharutils]
Details (2)
1:4.15.2-12· all · trixieFixed · Fixed:
1:4.2.1-11dsa · sharutils · debian · 13
1:4.15.2-12· all · trixieFixed · Fixed:
1:4.2.1-11dsa · sharutils · debian · 13
Observed: