CVE-2019-18797 Denial of service in n/a

Medium 6.5 Published Updated

An attacker can cause a denial of service in applications using LibSass by triggering uncontrolled recursion during Sass evaluation.

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-2019-18797?

CVE-2019-18797 is a medium-severity denial of service vulnerability in n/a, published on 6 Nov 2019. 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

LibSass 3.6.1 has uncontrolled recursion in Sass::Eval::operator()(Sass::Binary_Expression*) in eval.cpp.

Weakness: CWE-674

Which versions are affected by CVE-2019-18797?

It affects 1 product.

Products include Sass-Lang Libsass.

How do I fix CVE-2019-18797?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2019-18797 being exploited?

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

Sources

Also known as DEBIAN-CVE-2019-18797, GHSA-6cpv-g87x-7jfq, JLSEC-2026-505.

Is CVE-2019-18797 in your software?

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

Check your SBOMs for free