Every CVESearch/Get API key

CVE-2005-3346

Buffer overflow in the environment variable substitution code in main.c in OSH 1.7-14 allows...

7.2 HighPublic exploit

CVE-2005-3346 is a high vulnerability (CVSS 7.2) in Osh, published November 20, 2005. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.85%, the 58th percentile. No source names a fixed version.

What does this mean?
Severity
7.2 HighCVSS 2.0, NVD
Exploit chance
0.85%EPSS, 58th percentile
Exploitation
None known1 public exploit
Fixed in
No fix listedNo source names one

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.

Exploit likelihood

0.85%Down 2.4 points since Feb 4, 2022
90%50%10%1%

Affected products

Affected packages

Affected packages
PackageAffectedFixed
osh
Debian:3.0
From an advisory covering 2 CVEs
before 1.7-11woody2, plus listed versions
1.7-11woody1
1.7-11woody2
osh
Debian:3.1
From an advisory covering 2 CVEs
before 1.7-13sarge1, plus listed versions
1.7-13
1.7-13sarge1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBOperator Shell (OSH) 1.7-14 - Local Privilege Escalation2005-11-09

What each source reports

NVD Score used7.2

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.

Record
CVE-2005-3346
CVSS 2.0
7.2 HighAV:L/AC:L/Au:N/C:C/I:C/A:C
Updated
2026-11-02
CVE ListNo score

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.

Record
CVE-2005-3346
Updated
2026-11-02
EUVDEUVD-2005-3345No score

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.

Record
EUVD-2005-3345
Updated
2026-11-03
GitHub AdvisoriesGHSA-rv45-fc47-3rhrNo score

Buffer overflow in the environment variable substitution code in main.c in OSH 1.7-14 allows...

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.

Record
GHSA-rv45-fc47-3rhr
Updated
2026-11-02

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 5 moreShow less
MoveEnter Open