CVE-2004-0771 in Tsugio Okamoto Lha
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 secu...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Tsugio Okamoto | Lha | 1.14 1.15 1.17 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-0771 |
|---|---|
| BreachSpider ID | BS-2004-GLOBAL-159011-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2004-11-23 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A buffer overflow vulnerability in the extract_one function from lhext.c in LHA could allow attackers to execute arbitrary code through a long w (working directory) command line option.
The vulnerability is triggered by providing an excessively long argument to the w (working directory) command line option, which can lead to a buffer overflow and potential code execution.
Questions
What is CVE-2004-0771?
A buffer overflow vulnerability in the extract_one function from lhext.c in LHA could allow attackers to execute arbitrary code through a long w (working directory) command line option.
What is the CVSS score for CVE-2004-0771?
CVE-2004-0771 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 18.8%.
Is CVE-2004-0771 actively exploited?
Public exploit available for CVE-2004-0771. Exploitation risk elevated.
How do I remediate CVE-2004-0771?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2004-0771?
CVE-2004-0771 affects Tsugio Okamoto Lha.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Tsugio Okamoto","product":"Lha","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.