Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary code via (1) long output from wc to shar, or (2) unknown vectors in unshar.
Severity
Not rated by the source.
Dates
Published
2004-12-31 05:00 UTC
Modified
2026-10-21 15:47 UTC
Affected packages and fixes
sharutils
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 1:4.2.1-12 (ecosystem)
Fixed versions
1:4.2.1-12
Fix
Fixed version 1:4.2.1-12
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
sharutils
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 1:4.2.1-12 (ecosystem)
Fixed versions
1:4.2.1-12
Fix
Fixed version 1:4.2.1-12
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
sharutils
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 1:4.2.1-12 (ecosystem)
Fixed versions
1:4.2.1-12
Fix
Fixed version 1:4.2.1-12
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.