CVE-2022-43357
Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector:...
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
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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
libsassAlpine:v3.19 |
before 3.6.6-r0 | 3.6.6-r0 |
libsassAlpine:v3.20 |
before 3.6.6-r0 | 3.6.6-r0 |
libsassAlpine:v3.21 |
before 3.6.6-r0 | 3.6.6-r0 |
libsassAlpine:v3.22 |
before 3.6.6-r0 | 3.6.6-r0 |
libsassAlpine:v3.23 |
before 3.6.6-r0 | 3.6.6-r0 |
libsassAlpine:v3.24 |
before 3.6.6-r0 | 3.6.6-r0 |
libsassAzure Linux:2 |
through 3.6.3-3 | None known |
libsassAzure Linux:3 |
before 3.6.6-1 | 3.6.6-1 |
sassBitnami |
3.6.5-8-g210218 up to 3.6.5 | 3.6.5 |
libsassDebian: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
| Package | Affected | Fixed |
|---|---|---|
libsassDebian:13 |
before 3.6.5+20231221-2 | 3.6.5+20231221-2 |
libsassDebian:14 |
before 3.6.5+20231221-2 | 3.6.5+20231221-2 |
SassC_jllJulia |
All versions | None known |
libsassopenEuler:20.03-LTS-SP1 |
before 3.6.4-2.oe1 | 3.6.4-2.oe1 |
libsassopenEuler:20.03-LTS-SP3 |
before 3.6.4-2.oe1 | 3.6.4-2.oe1 |
libsassopenEuler:20.03-LTS-SP4 |
before 3.6.4-2.oe2003sp4 | 3.6.4-2.oe2003sp4 |
libsassopenEuler:22.03-LTS |
before 3.6.4-2.oe2203sp2 | 3.6.4-2.oe2203sp2 |
libsassopenEuler:22.03-LTS-SP1 |
before 3.6.4-2.oe2203sp1 | 3.6.4-2.oe2203sp1 |
libsassopenEuler:22.03-LTS-SP2 |
before 3.6.4-2.oe2203sp2 | 3.6.4-2.oe2203sp2 |
libsassopenEuler:22.03-LTS-SP3 |
before 3.6.4-2.oe2203sp3 | 3.6.4-2.oe2203sp3 |
libsassSUSE:Linux Enterprise Module for Package Hub 15 SP4 |
before 3.6.5-150200.4.10.1 | 3.6.5-150200.4.10.1 |
libsassSUSE:Linux Enterprise Module for Package Hub 15 SP5 |
before 3.6.5-150200.4.10.1 | 3.6.5-150200.4.10.1 |
libsassopenSUSE:Leap 15.4 |
before 3.6.5-150200.4.10.1 | 3.6.5-150200.4.10.1 |
libsassopenSUSE:Leap 15.5 |
before 3.6.5-150200.4.10.1 | 3.6.5-150200.4.10.1 |
libsassUbuntu:16.04:LTS |
All versions, plus listed versions 3.2.5-13.2.5-23.3.2-13.3.4-1 |
None known |
libsassUbuntu: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 |
libsassUbuntu:20.04:LTS |
All versions, plus listed versions 3.5.5-43.6.3-1ubuntu1 |
None known |
libsassUbuntu:22.04:LTS |
All versions, plus listed versions 3.6.5-1ubuntu1 |
None known |
libsassopenSUSE:Tumbleweed |
before 3.6.5-2.1 | 3.6.5-2.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | affected, aliases, references | EUVD, OSV |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/sass/libsass
drive.google.com/file/d/1aC5q3czen0atI91fuBIoCBFkS30_OSWX
github.com/sass/libsass/issues/3177
nvd.nist.gov/vuln/detail/CVE-2022-43357
github.com/advisories/GHSA-j7vr-2gc9-mmv7
security.alpinelinux.org/vuln/CVE-2022-43357
Show 15 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2022/43xxx/CVE-2022-43357.json
security-tracker.debian.org/tracker/CVE-2022-43357
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1018
nvd.nist.gov/vuln/detail/CVE-2022-26592
nvd.nist.gov/vuln/detail/CVE-2022-43358
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1049
suse.com/support/update/announcement/2023/suse-su-20234895-1
bugzilla.suse.com/1214573
bugzilla.suse.com/1214575
bugzilla.suse.com/1214576
suse.com/security/cve/CVE-2022-26592
suse.com/security/cve/CVE-2022-43357
suse.com/security/cve/CVE-2022-43358
ubuntu.com/security/CVE-2022-43357
cve.org/CVERecord?id=CVE-2022-43357