What’s Vulnerable › Vulnerabilities
CVE-2005-3346
- Severity: high (CVSS 7.2 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2005-11-20 · updated 2026-06-16
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.
Affected products
- Osh: 1.7.14
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338312
- http://pulltheplug.org/users/core/files/x_osh3.sh
- http://secunia.com/advisories/17527
- http://secunia.com/advisories/17967
- http://www.debian.org/security/2005/dsa-918
- 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
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338312
- http://pulltheplug.org/users/core/files/x_osh3.sh
- http://secunia.com/advisories/17527
Get alerted when CVE-2005-3346 or the next vulnerability affects your stack