Critical
Security advisory
In utils.c in zsh before 5.4, symlink expansion had a buffer overflow.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-18206
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:40 UTC · Revision 1
Source evidence
In utils.c in zsh before 5.4, symlink expansion had a buffer overflow.
osv:CVE-2017-18206
Complete source record
{
"id": "8b92dc9eb0739c823e5e70b9b96348c25ca4beb6719f1cb55af4ed38e76e6879",
"url": "https://osv.dev/vulnerability/CVE-2017-18206",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-18206",
"summary": "In utils.c in zsh before 5.4, symlink expansion had a buffer overflow.",
"evidence": "osv:CVE-2017-18206",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2017-18206",
"aliases": [
"CVE-2017-18206"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/zsh-users/zsh",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "9ecaeefa47a18e50d2f6fe0dde61de5b91eb17e0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:zsh:zsh:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"5.3.1-test-2",
"zsh-5.3.1",
"zsh-5.3",
"zsh-5.2-test-3",
"zsh-5.2-test-2",
"zsh-5.2-test-1",
"zsh-5.2",
"zsh-5.1.1-test-3",
"zsh-5.1.1-test-2",
"5.1.1-test-2",
"zsh-5.1.1-test-1",
"zsh-5.1.1",
"zsh-5.1-test-1",
"zsh-5.1",
"zsh-5.0.8-test-3",
"zsh-5.0.8",
"zsh-5.0.7-dev-4",
"zsh-5.0.7-dev-2",
"zsh-5.0.7",
"zsh-5.0.6-dev-1",
"zsh-5.0.6",
"zsh-5.0.5-dev-3",
"zsh-5.0.5-dev-2",
"zsh-5.0.5-dev-1",
"zsh-5.0.5",
"zsh-5.0.4",
"zsh-5.0.3",
"zsh-5.0.2-test-3",
"zsh-5.0.2-test-2",
"zsh-5.0.2-test-1",
"zsh-5.0.2",
"zsh-5.0.1",
"zsh-5.0.0-test-1",
"zsh-5.0.0",
"zsh-4.3.17-test-2",
"zsh-4.3.17",
"zsh-4.3.16",
"zsh-4.3.15",
"zsh-4.3.14",
"zsh-4.3.13",
"zsh-4.3.12-test-3",
"zsh-4.3.12",
"zsh-4.3.11-dev-4",
"zsh-4.3.11",
"zsh-4.3.10-test-3",
"zsh-4.3.10-dev-2",
"zsh-4.3.10",
"zsh-4.3.9-dev-5",
"zsh-4.3.9-dev-3",
"zsh-4.3.9",
"zsh-4.3.8",
"zsh-4.3.7",
"zsh-4.3.6-dev-2",
"zsh-4.3.6-dev-1",
"zsh-4.3.6",
"zsh-4.3.5-dev-4",
"zsh-4.3.5-dev-3",
"zsh-4.3.5-dev-2",
"zsh-4.3.5-dev-1",
"zsh-4.3.5",
"zsh-4.3.4-dev-8",
"zsh-4.3.4-dev-7",
"zsh-4.3.4-dev-6",
"zsh-4.3.4-dev-5",
"zsh-4.3.4-dev-4",
"zsh-4.3.4-dev-2",
"zsh-4.3.4",
"zsh-4.3.3",
"zsh-4.3.2",
"zsh-4.3.1",
"zsh-4.3.0-dev-5",
"zsh-4.3.0-dev-4",
"zsh-4.3.0-dev-3",
"zsh-4.2.3",
"zsh-4.2.2",
"zsh-4.2.1",
"zsh-4.2.1-test-A",
"zsh-4.2.0",
"zsh-4.2.0-pre-4",
"zsh-4.2.0-pre-3",
"zsh-4.2.0-pre-2",
"zsh-4.2.0-pre-1",
"zsh-4.1.1",
"zsh-4.1.1-test-3",
"zsg-4.1.1-test-2",
"zsh-4.1.1-test-1",
"zsh-4.1.0-dev-7",
"post-opt-arg",
"pre-opt-arg",
"zsh-4.1.0-dev-5",
"zsh-4.1.0-dev-4",
"zsh-4.1.0-dev-3",
"zsh-4.1.0-dev-2",
"zsh-4.1.0-dev-1",
"zsh-4.0.1",
"zsh-4.0.1-pre-5",
"zsh-4.0.1-pre-4",
"zsh-4.0.1-pre-3",
"pre-func-move",
"zsh-4.0.2-pre-2",
"zsh-4.0.1-pre-1",
"zsh-3.1.9-dev-8",
"zsh-3.1.9-dev-7",
"zsh-3.1.9-dev-6",
"zsh-3.1.9-dev-5",
"zsh-3.1.9-dev-4",
"zsh-3.1.9-dev-3",
"zsh-3.1.9-dev-2",
"zsh-3.1.9-dev-1",
"zsh-3.1.9",
"zsh-3.1.8",
"zsh-3.1.7",
"zsh-3.1.7-pre-4",
"zsh-3.1.7-pre-3",
"zsh-3.1.7-pre-2",
"zsh-3.1.7-prep-1",
"zsh-3.1.6-dev-22",
"zsh-3.1.6-dev-21"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-18206.json"
}
}
],
"modified": "2026-10-24T10:30:32.221146537Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2020/12/msg00000.html",
"https://access.redhat.com/errata/RHSA-2018:1932",
"https://access.redhat.com/errata/RHSA-2018:3073",
"https://security.gentoo.org/glsa/201805-10",
"https://usn.ubuntu.com/3593-1/",
"https://sourceforge.net/p/zsh/code/ci/c7a9cf465dd620ef48d586026944d9bd7a0d5d6d"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "14.04"
},
{
"last_affected": "14.04"
},
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "17.10"
},
{
"last_affected": "17.10"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2017-18206",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 432972,
"published_at": "2018-02-27T22:29:00.543+00:00"
}