Skip to content
Fencer Vulns
medium 6.5

CVE-2018-20822 json

LibSass 3.5.4 allows attackers to cause a denial-of-service (uncontrolled recursion in Sass::Complex_Selector::perform in ast.hpp and Sass:…

published 2019-04-23 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-13364

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known

Summary

LibSass 3.5.4 allows attackers to cause a denial-of-service (uncontrolled recursion in Sass::Complex_Selector::perform in ast.hpp and Sass::Inspect::operator in inspect.cpp).

Patch / fix

  • libsass Debian 14, Debian 13, Debian 12 3.6.3-1

debian advisories DEBIAN-CVE-2018-20822

  • libsass Package Hub 15 SP1 3.6.1-bp151.4.3.1
  • libsass Package Hub 15 3.6.1-bp150.3.3.1
  • libsass openSUSE Leap 15.1, openSUSE Leap 15.0 3.6.1-lp151.3.3.1

opensuse advisories openSUSE-SU-2019:1883-1openSUSE-SU-2019:1800-1openSUSE-SU-2019:1791-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-20822 updated cvss 7.5

libsass: DoS in Sass::Complex_Selector::perform in ast.hpp and Sass::Inspect::operator in inspect.cpp

  • Red Hat Enterprise Linux 8 libsass
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.11% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/sass/libsass/issues/2671 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.