{"id":"CVE-2004-0771","aliases":["EDB-24120"],"kind":"cve","tier":"cold","status":"published","title":"Buffer overflow in the extract_one function from lhext.c in LHA may allow attackers to execute arbitrary code via a lon…","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.","ai_summary":null,"severity":"critical","cvss":{"score":10,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"NVD"},"scores":[{"score":10,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"nvd"}],"cwe":[],"remote":true,"remote_unauth":true,"epss":{"score":0.18827,"percentile":0.97859,"date":"2026-11-29"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[24120]},"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://www.redhat.com/support/errata/RHSA-2004-323.html","kind":"vendor"},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=1833","kind":"vendor"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200409-13.xml","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2004-440.html","kind":"vendor"},{"url":"http://www.securityfocus.com/bid/10354","kind":"patch"},{"url":"https://www.exploit-db.com/exploits/24120","kind":"exploit"},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=51285","kind":"other"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9595","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16196","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/363418","kind":"other"},{"url":"http://marc.info/?l=bugtraq&m=108668791510153","kind":"other"}],"workarounds":null,"vendors":["tsugio_okamoto"],"products":["lha"],"cpes":["cpe:2.3:a:tsugio_okamoto:lha:1.14:*:*:*:*:*:*:*","cpe:2.3:a:tsugio_okamoto:lha:1.15:*:*:*:*:*:*:*","cpe:2.3:a:tsugio_okamoto:lha:1.17:*:*:*:*:*:*:*"],"published_at":"2004-05-19T00:00:00.000Z","modified_at":"2026-06-16T22:06:20.563Z","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-0771"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/24120"}],"links":{"html":"https://flawdb.com/CVE-2004-0771","markdown":"https://flawdb.com/CVE-2004-0771.md","json":"https://flawdb.com/api/v1/entries/CVE-2004-0771"}}