High
Security advisory
In params.c in zsh through 5.4.2, there is a crash during a copy of an empty hash table, as demonstrated by typeset -p.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-7549
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:50 UTC · Revision 1
Source evidence
In params.c in zsh through 5.4.2, there is a crash during a copy of an empty hash table, as demonstrated by typeset -p.
osv:CVE-2018-7549
Complete source record
{
"id": "a318709116e729c4309c2f756eac5728005dff595d47b898c9822f8c29bd7a99",
"url": "https://osv.dev/vulnerability/CVE-2018-7549",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-7549",
"summary": "In params.c in zsh through 5.4.2, there is a crash during a copy of an empty hash table, as demonstrated by typeset -p.",
"evidence": "osv:CVE-2018-7549",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-7549",
"aliases": [
"CVE-2018-7549"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/zsh-users/zsh",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "6ff4787e830f8edb3a7e32490a88a131e4b62f7f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:zsh:zsh:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "5.4.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"zsh-5.4.2",
"zsh-5.4.1",
"5.4.1",
"zsh-5.4",
"5.4",
"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-2018-7549.json"
}
}
],
"modified": "2026-10-24T10:30:45.195274072Z",
"provider": "osv",
"references": [
"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/c2cc8b0fbefc9868fa83537f5b6d90fc1ec438dd"
],
"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"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_desktop",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_server",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux_workstation",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-7549",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 436067,
"published_at": "2018-02-27T22:29:00.653+00:00"
}