CVE-2018-7548 Null dereference in n/a

Critical 9.8 Published Updated

A NULL pointer dereference in zsh allows attackers to cause a denial of service via crafted parameter expansion.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-7548?

CVE-2018-7548 is a critical vulnerability in Canonical Ubuntu Linux, published on 27 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.

Weakness: CWE-476

Which versions are affected by CVE-2018-7548?

It affects 2 products.

Products include Canonical Ubuntu Linux, Zsh Zsh.

How do I fix CVE-2018-7548?

Upgrade to a fixed version.

Is CVE-2018-7548 being exploited?

There is no known exploitation of CVE-2018-7548 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-7548, GHSA-52h6-vcv4-gr3c.

Is CVE-2018-7548 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free