{"id":"CVE-2004-1772","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"Stack-based buffer overflow in shar in GNU sharutils 4.2.1 allows local users to execute arbitrary code via a long -o c…","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.","ai_summary":null,"severity":"medium","cvss":{"score":4.6,"version":"2.0","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","source":"NVD"},"scores":[{"score":4.6,"version":"2.0","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":[],"remote":false,"remote_unauth":false,"epss":{"score":0.00649,"percentile":0.52406,"date":"2026-12-01"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://marc.info/?l=bugtraq&m=108137386310299&w=2","kind":"vendor"},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=2155","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2005-377.html","kind":"vendor"},{"url":"http://www.securityfocus.com/bid/10066","kind":"patch"},{"url":"http://www.securityfocus.com/archive/1/359639","kind":"exploit"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11722","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15759","kind":"other"}],"workarounds":null,"vendors":["gnu"],"products":["sharutils"],"cpes":["cpe:2.3:a:gnu:sharutils:4.2.1:*:*:*:*:*:*:*","cpe:2.3:a:gnu:sharutils:4.2:*:*:*:*:*:*:*"],"published_at":"2004-12-31T05:00:00.000Z","modified_at":"2026-06-16T22:08:22.257Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1772"}],"links":{"html":"https://flawdb.com/CVE-2004-1772","markdown":"https://flawdb.com/CVE-2004-1772.md","json":"https://flawdb.com/api/v1/entries/CVE-2004-1772"}}