Every CVE Search/ Get API key

CVE-2022-43357

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector:...

7.5 HighFix available

CVE-2022-43357 is a high vulnerability (CVSS 7.5) in Sass-lang Libsass, published August 22, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.52%, the 74th percentile. Fixed in libsass 3.6.6-r0.

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.52%Up 1.5 points since Aug 23, 2023
90%50%10%1%

What each source reports

NVD Score used 7.5

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

Record
CVE-2022-43357
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

Record
CVE-2022-43357
Updated
2026-11-02
EUVDEUVD-2022-46396 No score

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

Record
EUVD-2022-46396
Updated
2026-11-03
GitHub AdvisoriesGHSA-j7vr-2gc9-mmv7 7.5

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector:...

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

Record
GHSA-j7vr-2gc9-mmv7
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2022-43357 7.5

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

Record
ALPINE-CVE-2022-43357
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVAZL-43714 7.5

CVE-2022-43357 affecting package libsass 3.6.3-3

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

Record
AZL-43714
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 10 moreShow less
OSVAZL-44079 7.5

CVE-2022-43357 affecting package libsass for versions less than 3.6.6-1

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

Record
AZL-44079
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVJLSEC-2026-664 7.5

Stack overflow vulnerability in `ast_selectors.cpp` in function...

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

Record
JLSEC-2026-664
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2024-1018 8.8

libsass security update

Libsass is a Sass CSS precompiler which is ported for C/C++. This version is more efficient and portable than the original Ruby version. Keeping light and sample is its degisn philosophy which makes it more easier to be built and integrated with a immense amount of platforms and languages. Installation of saccs is needed if you want to run is directly as libsass is just a library.

Security Fix(es):

Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real_parent_ref function.(CVE-2022-26592)

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.(CVE-2022-43357)

Stack overflow vulnerability in ast_selectors.cpp: in function Sass::ComplexSelector::has_placeholder in libsass:3.6.5-8-g210218, which can be exploited by attackers to cause a denial of service (DoS).(CVE-2022-43358)

Record
OESA-2024-1018
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2024-1049 8.8

libsass security update

Libsass is a Sass CSS precompiler which is ported for C/C++. This version is more efficient and portable than the original Ruby version. Keeping light and sample is its degisn philosophy which makes it more easier to be built and integrated with a immense amount of platforms and languages. Installation of saccs is needed if you want to run is directly as libsass is just a library.

Security Fix(es):

Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real_parent_ref function.(CVE-2022-26592)

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.(CVE-2022-43357)

Stack overflow vulnerability in ast_selectors.cpp: in function Sass::ComplexSelector::has_placeholder in libsass:3.6.5-8-g210218, which can be exploited by attackers to cause a denial of service (DoS).(CVE-2022-43358)

Record
OESA-2024-1049
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2022-43357 7.5

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

Record
UBUNTU-CVE-2022-43357
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBIT-sass-2022-43357 No score

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

Record
BIT-sass-2022-43357
Updated
2026-11-02
OSV No score

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

Record
CVE-2022-43357
Updated
2026-11-02
OSVDEBIAN-CVE-2022-43357 No score

Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in libsass:3.6.5-8-g210218, which can be exploited by attackers to causea denial of service (DoS). Also affects the command line driver for libsass, sassc 3.6.2.

Record
DEBIAN-CVE-2022-43357
Updated
2026-11-03
OSVopenSUSE-SU-2024:13516-1 No score

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

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

Record
openSUSE-SU-2024:13516-1
Updated
2026-11-02
OSVSUSE-SU-2023:4895-1 No score

Security update for libsass

This update for libsass fixes the following issues:

  • CVE-2022-26592: Fixed Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector:has_real_parent_ref function (bsc#1214576)
  • CVE-2022-43358: Fixed Stack overflow vulnerability in ast_selectors.cpp (bsc#1214575).
  • CVE-2022-43357: Fixed Stack overflow vulnerability in ast_selectors.cpp (bsc#1214573).
Record
SUSE-SU-2023:4895-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libsass
Alpine:v3.19
before 3.6.6-r0
3.6.6-r0
libsass
Alpine:v3.20
before 3.6.6-r0
3.6.6-r0
libsass
Alpine:v3.21
before 3.6.6-r0
3.6.6-r0
libsass
Alpine:v3.22
before 3.6.6-r0
3.6.6-r0
libsass
Alpine:v3.23
before 3.6.6-r0
3.6.6-r0
libsass
Alpine:v3.24
before 3.6.6-r0
3.6.6-r0
libsass
Azure Linux:2
through 3.6.3-3 None known
libsass
Azure Linux:3
before 3.6.6-1
3.6.6-1
sass
Bitnami
3.6.5-8-g210218 up to 3.6.5
3.6.5
libsass
Debian:12
All versions, plus listed versions
3.6.5+20220909-13.6.5+20220909-23.6.5+20220909-33.6.5+20220909-3+hurd.13.6.5+20231221-13.6.5+20231221-23.6.5+20231221-3
None known
Show 19 moreShow less
Affected packages
PackageAffectedFixed
libsass
Debian:13
before 3.6.5+20231221-2
3.6.5+20231221-2
libsass
Debian:14
before 3.6.5+20231221-2
3.6.5+20231221-2
SassC_jll
Julia
All versions None known
libsass
openEuler:20.03-LTS-SP1
before 3.6.4-2.oe1
3.6.4-2.oe1
libsass
openEuler:20.03-LTS-SP3
before 3.6.4-2.oe1
3.6.4-2.oe1
libsass
openEuler:20.03-LTS-SP4
before 3.6.4-2.oe2003sp4
3.6.4-2.oe2003sp4
libsass
openEuler:22.03-LTS
before 3.6.4-2.oe2203sp2
3.6.4-2.oe2203sp2
libsass
openEuler:22.03-LTS-SP1
before 3.6.4-2.oe2203sp1
3.6.4-2.oe2203sp1
libsass
openEuler:22.03-LTS-SP2
before 3.6.4-2.oe2203sp2
3.6.4-2.oe2203sp2
libsass
openEuler:22.03-LTS-SP3
before 3.6.4-2.oe2203sp3
3.6.4-2.oe2203sp3
libsass
SUSE:Linux Enterprise Module for Package Hub 15 SP4
before 3.6.5-150200.4.10.1
3.6.5-150200.4.10.1
libsass
SUSE:Linux Enterprise Module for Package Hub 15 SP5
before 3.6.5-150200.4.10.1
3.6.5-150200.4.10.1
libsass
openSUSE:Leap 15.4
before 3.6.5-150200.4.10.1
3.6.5-150200.4.10.1
libsass
openSUSE:Leap 15.5
before 3.6.5-150200.4.10.1
3.6.5-150200.4.10.1
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
Ubuntu:20.04:LTS
All versions, plus listed versions
3.5.5-43.6.3-1ubuntu1
None known
libsass
Ubuntu:22.04:LTS
All versions, plus listed versions
3.6.5-1ubuntu1
None known
libsass
openSUSE:Tumbleweed
before 3.6.5-2.1
3.6.5-2.1

History

History
WhenChangedSources
2026-11-03affected, aliases, referencesEUVD, OSV
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 15 moreShow less
MoveEnter Open