{"schemaVersion":3,"id":"CVE-2004-0771","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Buffer overflow in the extract_one function from lhext.c in LHA may allow attackers to execute arbitrary code via a long w (working directory) command line option, a different issue than CVE-2004-0769. NOTE: this issue may be REJECTED if there are not any cases in which LHA is setuid or is otherwise used across security boundaries.","dates":{"published":"2004-08-05T04:00:00.000Z","modified":"2024-08-08T00:31:47.537Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":10,"severity":"high","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.18827,"percentile":0.9726,"severity":"medium","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.18827},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.18827,"percentile":0.9726}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.18827,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.18827,"percentile":0.9726}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"24120","name":"LHA 1.x - 'extract_one' Multiple Buffer Overflow Vulnerabilities","source":"exploit-database","url":"https://www.exploit-db.com/exploits/24120","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"linux","file":"exploits/linux/remote/24120.pl","codes":["CVE-2004-0771","OSVDB-9520"]},"metasploit":null}],"exploitCount":1,"weaknesses":[],"affected":[{"vendor":"tsugio_okamoto","product":"lha","name":"lha","label":"lha","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.14","noFixRecorded":false,"fixedIn":null},{"text":"1.15","noFixRecorded":false,"fixedIn":null},{"text":"1.17","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.14 | 1.15 | 1.17","eol":null,"hubHref":"/vendor/tsugio_okamoto/lha"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2004-323.html","label":"www.redhat.com/support/errata/RHSA-2004-323.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.securityfocus.com/bid/10354","label":"www.securityfocus.com/bid/10354","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Patch","Vendor Advisory"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=51285","label":"bugs.gentoo.org/show_bug.cgi?id=51285","hostname":"bugs.gentoo.org","tags":["X Refsource MISC"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9595","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9595","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16196","label":"exchange.xforce.ibmcloud.com/vulnerabilities/16196","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF"]},{"url":"http://www.securityfocus.com/archive/1/363418","label":"www.securityfocus.com/archive/1/363418","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=1833","label":"bugzilla.fedora.us/show_bug.cgi?id=1833","hostname":"bugzilla.fedora.us","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200409-13.xml","label":"www.gentoo.org/security/en/glsa/glsa-200409-13.xml","hostname":"www.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-440.html","label":"www.redhat.com/support/errata/RHSA-2004-440.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://marc.info/?l=bugtraq&m=108668791510153","label":"marc.info?l=bugtraq&m=108668791510153","hostname":"marc.info","tags":["Mailing List","X Refsource BUGTRAQ"]}],"lineage":{"upstream":[],"downstream":["RHSA-2004:323"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2004-08-05T04:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-08T00:31:47.537Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":90,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T00:53:30.011Z","stale":false,"partial":false}}