{"id":"CVE-2004-0771","aliases":["EUVD-2004-0769","GHSA-vpgp-fv4q-4fgr","RHSA-2004:323"],"status":"published","title":"Buffer overflow in the extract_one function from lhext.c in LHA may allow attackers to execute...","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.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.18827,"percentile":0.97302,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2004-08-05T04:00:00Z","modified":"2026-06-26T10:01:20Z","exploits":[{"source":"exploitdb","id":"EDB-24120","title":"LHA 1.x - 'extract_one' Multiple Buffer Overflow Vulnerabilities","type":"remote","platform":"linux","date":"2004-05-19","verified":true,"url":"https://www.exploit-db.com/exploits/24120"}],"affected":[{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"lha","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14i-10.4"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"lha-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14i-10.4"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"lha","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14i-10.4"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"lha-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14i-10.4"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"lha","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14i-10.4"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"lha-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14i-10.4"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"lha","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14i-10.4"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"lha-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.14i-10.4"}]}],"bundled":4}],"products":[{"vendor":"tsugio_okamoto","product":"lha"}],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2004-323.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.securityfocus.com/bid/10354","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Vendor Advisory"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=51285","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9595","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16196","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/363418","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=1833","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200409-13.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-440.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=108668791510153","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0771","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-vpgp-fv4q-4fgr"},{"url":"https://access.redhat.com/errata/RHSA-2004:323","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"http://marc.theaimsgroup.com/?l=bugtraq\u0026m=108668791510153","tags":["article"]},{"url":"http://lw.ftw.zamosc.pl/lha-exploit.txt","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=126740","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_323.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0694","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617255","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0694","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0694","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0745","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617259","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0745","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0745","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0769","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617279","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0769","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0769","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0771","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617280","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0771","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0771","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.","status":"published","published":"2004-08-05T04:00:00Z","modified":"2024-08-08T00:31:47.537Z","updated_at":"2026-11-02T14:34:54.758165Z"}],"euvd":[{"id":"EUVD-2004-0769","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.","status":"published","published":"2004-08-05T04:00:00Z","modified":"2024-08-08T00:31:47Z","updated_at":"2026-11-03T01:15:17.778038Z"}],"ghsa":[{"id":"GHSA-vpgp-fv4q-4fgr","title":"Buffer overflow in the extract_one function from lhext.c in LHA may allow attackers to execute...","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.","status":"published","published":"2022-04-29T02:58:20Z","modified":"2023-01-30T05:03:02Z","updated_at":"2026-11-02T14:46:45.547616Z"}],"nvd":[{"id":"CVE-2004-0771","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.","status":"published","published":"2004-11-23T05:00:00Z","modified":"2026-06-16T22:06:20.563Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:51.985436Z"}],"osv":[{"id":"RHSA-2004:323","title":"Red Hat Security Advisory: lha security update","status":"published","published":"2024-09-15T14:42:54Z","modified":"2026-06-26T10:01:20Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
