CVE-2004-0771
Buffer overflow in the extract_one function from lhext.c in LHA may allow attackers to execute...
CVE-2004-0771 is a high vulnerability (CVSS 10.0) in Tsugio Okamoto Lha, published August 5, 2004. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 18.8%, the 97th percentile. Fixed in lha 0:1.14i-10.4.
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.
Exploit likelihood
What each source reports
NVD Score used
10.0
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.
- Record
CVE-2004-0771- CVSS 2.0
- 10.0 High
AV:N/AC:L/Au:N/C:C/I:C/A:C - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2004-0771- Updated
- 2026-11-02
EUVDEUVD-2004-0769 No score
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.
- Record
EUVD-2004-0769- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vpgp-fv4q-4fgr No score
Buffer overflow in the extract_one function from lhext.c in LHA may allow attackers to execute...
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.
- Record
GHSA-vpgp-fv4q-4fgr- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
lhaRed Hat:enterprise_linux:3::as |
before 0:1.14i-10.4 | 0:1.14i-10.4 |
lha-debuginfoRed Hat:enterprise_linux:3::as |
before 0:1.14i-10.4 | 0:1.14i-10.4 |
lhaRed Hat:enterprise_linux:3::desktop |
before 0:1.14i-10.4 | 0:1.14i-10.4 |
lha-debuginfoRed Hat:enterprise_linux:3::desktop |
before 0:1.14i-10.4 | 0:1.14i-10.4 |
lhaRed Hat:enterprise_linux:3::es |
before 0:1.14i-10.4 | 0:1.14i-10.4 |
lha-debuginfoRed Hat:enterprise_linux:3::es |
before 0:1.14i-10.4 | 0:1.14i-10.4 |
lhaRed Hat:enterprise_linux:3::ws |
before 0:1.14i-10.4 | 0:1.14i-10.4 |
lha-debuginfoRed Hat:enterprise_linux:3::ws |
before 0:1.14i-10.4 | 0:1.14i-10.4 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | LHA 1.x - 'extract_one' Multiple Buffer Overflow Vulnerabilities | 2004-05-19 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
References
redhat.com/support/errata/RHSA-2004-323.html
securityfocus.com/bid/10354
bugs.gentoo.org/show_bug.cgi?id=51285
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9595
exchange.xforce.ibmcloud.com/vulnerabilities/16196
securityfocus.com/archive/1/363418
Show 27 moreShow less
bugzilla.fedora.us/show_bug.cgi?id=1833
gentoo.org/security/en/glsa/glsa-200409-13.xml
redhat.com/support/errata/RHSA-2004-440.html
marc.info?l=bugtraq&m=108668791510153
nvd.nist.gov/vuln/detail/CVE-2004-0771
github.com/advisories/GHSA-vpgp-fv4q-4fgr
access.redhat.com/errata/RHSA-2004:323
access.redhat.com/security/updates/classification
marc.theaimsgroup.com?l=bugtraq&m=108668791510153
lw.ftw.zamosc.pl/lha-exploit.txt
bugzilla.redhat.com/show_bug.cgi?id=126740
security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_323.json
access.redhat.com/security/cve/CVE-2004-0694
bugzilla.redhat.com/show_bug.cgi?id=1617255
cve.org/CVERecord?id=CVE-2004-0694
nvd.nist.gov/vuln/detail/CVE-2004-0694
access.redhat.com/security/cve/CVE-2004-0745
bugzilla.redhat.com/show_bug.cgi?id=1617259
cve.org/CVERecord?id=CVE-2004-0745
nvd.nist.gov/vuln/detail/CVE-2004-0745
access.redhat.com/security/cve/CVE-2004-0769
bugzilla.redhat.com/show_bug.cgi?id=1617279
cve.org/CVERecord?id=CVE-2004-0769
nvd.nist.gov/vuln/detail/CVE-2004-0769
access.redhat.com/security/cve/CVE-2004-0771
bugzilla.redhat.com/show_bug.cgi?id=1617280
cve.org/CVERecord?id=CVE-2004-0771