zsh before 5.0.7 allows evaluation of the initial values of integer variables imported…
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Will not fix Red Hat: no fix planned
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-264.
Summary
zsh before 5.0.7 allows evaluation of the initial values of integer variables imported from the environment (instead of treating them as literal numbers). That could allow local privilege escalation, under some specific and atypical conditions where zsh is being invoked in privilege-elevation contexts when the environment has not been properly sanitized, such as when zsh is invoked by sudo on systems where "env_reset" has been disabled.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:zsh_project:zsh:*:*:*:*:*:*:*:* | up to 5.0.6 | Vulnerable | Zsh Project |
- cpe:2.3:a:zsh_project:zsh:*:*:*:*:*:*:*:* Versions up to 5.0.6 Vulnerable ·Zsh Project
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2014-10070
- 2026-10-03 Alias added: GHSA-4x2g-x3r2-29r6
References
More Zsh Project Zsh vulnerabilities
- TI-2014-08228 In utils.c in zsh before 5.0.6, there is a buffer overflow when scanning very long directory paths for symbolic links. CVSS 3.0CRITICAL 9.8
- TI-2017-13390 In builtin.c in zsh before 5.4, when sh compatibility mode is used, there is a NULL… CVSS 3.0HIGH 8.1
Sources
- CVE-2014-10070 · CVE Program
- CVE-2014-10070 · NVD
- FIRST EPSS
- GHSA-4x2g-x3r2-29r6 · GitHub Advisory Database · CC BY 4.0
- CVE-2014-10070 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences