CVE-2018-19797 Null dereference in n/a

Medium 6.5 Published Updated

A crafted Sass file can cause a crash in LibSass via a null pointer dereference, leading to denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-19797?

CVE-2018-19797 is a medium-severity vulnerability in n/a, published on 3 Dec 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In LibSass 3.5.5, a NULL Pointer Dereference in the function Sass::Selector_List::populate_extends in SharedPtr.hpp (used by ast.cpp and ast_selectors.cpp) may cause a Denial of Service (application crash) via a crafted sass input file.

Weakness: CWE-476

Which versions are affected by CVE-2018-19797?

It affects 1 product.

Products include Sass-Lang Libsass.

How do I fix CVE-2018-19797?

Upgrade to a fixed version.

Is CVE-2018-19797 being exploited?

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

Sources

Also known as AZL-70994, DEBIAN-CVE-2018-19797, GHSA-c73w-7v4m-x2gx, JLSEC-2026-501, UBUNTU-CVE-2018-19797.

Is CVE-2018-19797 in your software?

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

Check your SBOMs for free