Skip to content
Heist/ feed
Back to feed
HighFix available

zsh — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2014-10070

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.

Products
zsh
Affected versions
Not specified
Fixed versions
5.0.7-3
CVEs
CVE-2014-10070
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 21:50 UTC · Revision 1

Source evidence

DEBIAN-CVE-2014-10070

core-osv · Original source

Published 27 Feb 2018, 22:29 UTC

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.

osv:DEBIAN-CVE-2014-10070

zsh

Fixed versions: 5.0.7-3

zsh

Fixed versions: 5.0.7-3

zsh

Fixed versions: 5.0.7-3

Complete source record
{
  "id": "aded12a4a78e08efb5e0407784c302f2b93bb92231ffa16dc088a9851176c5b4",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2014-10070",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2014-10070",
    "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.",
    "evidence": "osv:DEBIAN-CVE-2014-10070",
    "products": [
      {
        "name": {
          "value": "zsh",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.0.7-3",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "zsh",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.0.7-3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "zsh",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.0.7-3",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2014-10070",
      "aliases": [
        "DEBIAN-CVE-2014-10070"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.0.7-3"
                }
              ]
            }
          ],
          "package": {
            "name": "zsh",
            "purl": "pkg:deb/debian/zsh?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2014-10070.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.0.7-3"
                }
              ]
            }
          ],
          "package": {
            "name": "zsh",
            "purl": "pkg:deb/debian/zsh?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2014-10070.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.0.7-3"
                }
              ]
            }
          ],
          "package": {
            "name": "zsh",
            "purl": "pkg:deb/debian/zsh?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2014-10070.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T16:00:19.569078281Z",
      "provider": "osv",
      "upstream": [
        "CVE-2014-10070"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2014-10070"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2014-10070",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 414648,
  "published_at": "2018-02-27T22:29:00.247+00:00"
}