CVE-2004-1772

CVE-2004-1772 is a medium-severity vulnerability in Gnu Sharutils with a CVSS 2.0 base score of 4.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

Description

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.

Frequently asked questions

What is CVE-2004-1772?
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.
How severe is CVE-2004-1772?
CVE-2004-1772 has a CVSS 2.0 base score of 4.6, rated medium severity.
Is CVE-2004-1772 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (47th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2004-1772?
CVE-2004-1772 primarily affects Gnu Sharutils. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2004-1772?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2004-1772 published?
CVE-2004-1772 was published on 2004-12-31 and last updated on 2026-06-16.

References

Affected products (2)

More vulnerabilities in Gnu Sharutils

All CVEs affecting Gnu Sharutils →