CVE-2005-3346
Description
Buffer overflow in the environment variable substitution code in main.c in OSH 1.7-14 allows local users to inject arbitrary environment variables, such as LD_PRELOAD, via pathname arguments of the form "$VAR/EVAR=arg", which cause the EVAR portion to be appended to a buffer returned by a getenv function call.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
0.847%
chance of exploitation in the next 30 days
higher than 58.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Timeline
- 2005-11-09First Exploit-DB entry (EDB-ID 1300)11 days before publication
- 2005-11-20Published by the CNA21:00 UTC
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 1300 | local | linux | 2005-11-09 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| osh osh | 1.7.14no fix listed | not listed |
References
- http://secunia.com/advisories/17527
- http://www.debian.org/security/2005/dsa-918
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338312
- http://pulltheplug.org/users/core/files/x_osh3.sh
- http://secunia.com/advisories/17967
- http://www.osvdb.org/20720
- http://www.securityfocus.com/bid/15370
- http://www.vupen.com/english/advisories/2005/2378
- https://exchange.xforce.ibmcloud.com/vulnerabilities/23091
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2005-3346'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2005-3346'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2005-3346'curl 'https://api.contrastcyber.com/cve_products/CVE-2005-3346'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).