Every CVE Search/ Get API key

CVE-2018-20822

LibSass 3.5.4 allows attackers to cause a denial-of-service (uncontrolled recursion in Sass:...

6.5 MediumFix available

CVE-2018-20822 is a medium vulnerability (CVSS 6.5) in Sass-lang Libsass, published April 23, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.11%, the 81st percentile. Fixed in libsass 3.6.3-1.

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).

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.11%Up 1.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

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).

Record
CVE-2018-20822
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-674
Updated
2026-11-02
CVE List No score

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).

Record
CVE-2018-20822
Updated
2026-11-02
EUVDEUVD-2018-13364 No score

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).

Record
EUVD-2018-13364
Updated
2026-11-03
GitHub AdvisoriesGHSA-hgv9-5rhc-jpgp 6.5

LibSass 3.5.4 allows attackers to cause a denial-of-service (uncontrolled recursion in Sass:...

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).

Record
GHSA-hgv9-5rhc-jpgp
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-674
Updated
2026-11-02
OSV 6.5

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).

Record
CVE-2018-20822
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-20822 6.5

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).

Record
DEBIAN-CVE-2018-20822
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2018-20822 6.5

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).

Record
UBUNTU-CVE-2018-20822
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2020-0049 No score

Updated libsass packages fix security vulnerabilities

Use-after-free vulnerability in sass_context.cpp:handle_error (CVE-2018-11499).

Null pointer dereference in Sass::Selector_List::populate_extends (CVE-2018-19797).

Use-after-free vulnerability exists in the SharedPtr class (CVE-2018-19827).

Stack overflow in Eval::operator() (CVE-2018-19837).

Stack-overflow at IMPLEMENT_AST_OPERATORS expansion (CVE-2018-19838).

Buffer-overflow (OOB read) against some invalid input (CVE-2018-19839).

Null pointer dereference in Sass::Eval::operator() (Sass::Supports_Operator*) (CVE-2018-20190).

Uncontrolled recursion in Sass:Parser:parse_css_variable_value (CVE-2018-20821).

Stack-overflow at Sass::Inspect::operator() (CVE-2018-20822).

Heap-buffer-overflow in Sass::Prelexer::parenthese_scope(char const*) (CVE-2019-6283).

Heap-based buffer over-read exists in Sass:Prelexer:alternatives (CVE-2019-6284).

Heap-based buffer over-read exists in Sass:Prelexer:skip_over_scopes (CVE-2019-6286).

Record
MGASA-2020-0049
Updated
2026-11-02
OSVopenSUSE-SU-2019:1791-1 No score

Security update for libsass

This update for libsass to version 3.6.1 fixes the following issues:

Security issues fixed:

  • CVE-2019-6283: Fixed heap-buffer-overflow in Sass::Prelexer::parenthese_scope(char const*) (boo#1121943).
  • CVE-2019-6284: Fixed heap-based buffer over-read exists in Sass:Prelexer:alternatives (boo#1121944).
  • CVE-2019-6286: Fixed heap-based buffer over-read exists in Sass:Prelexer:skip_over_scopes (boo#1121945).
  • CVE-2018-11499: Fixed use-after-free vulnerability in sass_context.cpp:handle_error (boo#1096894).
  • CVE-2018-19797: Disallowed parent selector in selector_fns arguments (boo#1118301).
  • CVE-2018-19827: Fixed use-after-free vulnerability exists in the SharedPtr class (boo#1118346).
  • CVE-2018-19837: Fixed stack overflow in Eval::operator() (boo#1118348).
  • CVE-2018-19838: Fixed stack-overflow at IMPLEMENT_AST_OPERATORS expansion (boo#1118349).
  • CVE-2018-19839: Fixed buffer-overflow (OOB read) against some invalid input (boo#1118351).
  • CVE-2018-20190: Fixed Null pointer dereference in Sass::Eval::operator()(Sass::Supports_Operator*) (boo#1119789).
  • CVE-2018-20821: Fixed uncontrolled recursion in Sass:Parser:parse_css_variable_value (boo#1133200).
  • CVE-2018-20822: Fixed stack-overflow at Sass::Inspect::operator() (boo#1133201).
Record
openSUSE-SU-2019:1791-1
Updated
2026-11-02
OSVopenSUSE-SU-2019:1800-1 No score

Security update for libsass

This update for libsass to version 3.6.1 fixes the following issues:

Security issues fixed:

  • CVE-2019-6283: Fixed heap-buffer-overflow in Sass::Prelexer::parenthese_scope(char const*) (boo#1121943).
  • CVE-2019-6284: Fixed heap-based buffer over-read exists in Sass:Prelexer:alternatives (boo#1121944).
  • CVE-2019-6286: Fixed heap-based buffer over-read exists in Sass:Prelexer:skip_over_scopes (boo#1121945).
  • CVE-2018-11499: Fixed use-after-free vulnerability in sass_context.cpp:handle_error (boo#1096894).
  • CVE-2018-19797: Disallowed parent selector in selector_fns arguments (boo#1118301).
  • CVE-2018-19827: Fixed use-after-free vulnerability exists in the SharedPtr class (boo#1118346).
  • CVE-2018-19837: Fixed stack overflow in Eval::operator() (boo#1118348).
  • CVE-2018-19838: Fixed stack-overflow at IMPLEMENT_AST_OPERATORS expansion (boo#1118349).
  • CVE-2018-19839: Fixed buffer-overflow (OOB read) against some invalid input (boo#1118351).
  • CVE-2018-20190: Fixed Null pointer dereference in Sass::Eval::operator()(Sass::Supports_Operator*) (boo#1119789).
  • CVE-2018-20821: Fixed uncontrolled recursion in Sass:Parser:parse_css_variable_value (boo#1133200).
  • CVE-2018-20822: Fixed stack-overflow at Sass::Inspect::operator() (boo#1133201).

This update was imported from the openSUSE:Leap:15.0:Update update project.

Record
openSUSE-SU-2019:1800-1
Updated
2026-11-02
OSVopenSUSE-SU-2019:1883-1 No score

Security update for libsass

This update for libsass to version 3.6.1 fixes the following issues:

Security issues fixed:

  • CVE-2019-6283: Fixed heap-buffer-overflow in Sass::Prelexer::parenthese_scope(char const*) (boo#1121943).
  • CVE-2019-6284: Fixed heap-based buffer over-read exists in Sass:Prelexer:alternatives (boo#1121944).
  • CVE-2019-6286: Fixed heap-based buffer over-read exists in Sass:Prelexer:skip_over_scopes (boo#1121945).
  • CVE-2018-11499: Fixed use-after-free vulnerability in sass_context.cpp:handle_error (boo#1096894).
  • CVE-2018-19797: Disallowed parent selector in selector_fns arguments (boo#1118301).
  • CVE-2018-19827: Fixed use-after-free vulnerability exists in the SharedPtr class (boo#1118346).
  • CVE-2018-19837: Fixed stack overflow in Eval::operator() (boo#1118348).
  • CVE-2018-19838: Fixed stack-overflow at IMPLEMENT_AST_OPERATORS expansion (boo#1118349).
  • CVE-2018-19839: Fixed buffer-overflow (OOB read) against some invalid input (boo#1118351).
  • CVE-2018-20190: Fixed Null pointer dereference in Sass::Eval::operator()(Sass::Supports_Operator*) (boo#1119789).
  • CVE-2018-20821: Fixed uncontrolled recursion in Sass:Parser:parse_css_variable_value (boo#1133200).
  • CVE-2018-20822: Fixed stack-overflow at Sass::Inspect::operator() (boo#1133201).

This update was imported from the openSUSE:Leap:15.0:Update update project.

Record
openSUSE-SU-2019:1883-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10988-1 No score

libsass-3_6_5-1-3.6.5-1.2 on GA media

These are all security issues fixed in the libsass-3_6_5-1-3.6.5-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10988-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libsass
Debian:12
before 3.6.3-1
3.6.3-1
libsass
Debian:13
before 3.6.3-1
3.6.3-1
libsass
Debian:14
before 3.6.3-1
3.6.3-1
libsass
Mageia:7
before 3.6.1-1.mga7
3.6.1-1.mga7
libsass
Ubuntu:16.04:LTS
All versions, plus listed versions
3.2.5-13.2.5-23.3.2-13.3.4-1
None known
libsass
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
3.4.3-13.4.6-13.4.8-13.4.8-1ubuntu0.1~esm1
None known
libsass
openSUSE:Leap 15.0
before 3.6.1-lp151.3.3.1
3.6.1-lp151.3.3.1
libsass
openSUSE:Leap 15.1
before 3.6.1-lp151.3.3.1
3.6.1-lp151.3.3.1
libsass
SUSE:Package Hub 15
before 3.6.1-bp150.3.3.1
3.6.1-bp150.3.3.1
libsass
SUSE:Package Hub 15 SP1
before 3.6.1-bp151.4.3.1
3.6.1-bp151.4.3.1

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 33 moreShow less
MoveEnter Open