# CVE-2022-43357: Stack overflow vulnerability in astselectors.cpp in function Sass::CompoundSelector::hasrealparentref in libsass:3.6.5-8-g210218, which can…

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.52%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-08-22T00:00:00.000Z
- Modified: 2026-09-08T08:48:19.478Z
- Also known as: BIT-SASS-2022-43357
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- sass-lang libsass: 3.6.5-8-g210218
- sass-lang sassc: 3.6.2
- sass (Bitnami): from 3.6.5-8-g210218 before 3.6.5

## Every score

- NVD: 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`
- Bitnami Vulnerability Database: rating High

## References

- <https://drive.google.com/file/d/1aC5q3czen0atI91fuBIoCBFkS30_OSWX/> (exploit, advisory, permissions-required, third-party-advisory)
- <https://github.com/sass/libsass/issues/3177> (exploit, advisory, issue-tracking, vendor-advisory)
- <https://github.com/sass/libsass> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-43357> (web)

## Sources

- CVE List: [CVE-2022-43357](https://www.cve.org/CVERecord?id=CVE-2022-43357), CVE Terms of Use, modified 2024-10-03
- NVD: [CVE-2022-43357](https://nvd.nist.gov/vuln/detail/CVE-2022-43357), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-SASS-2022-43357](https://osv.dev/vulnerability/BIT-SASS-2022-43357), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-43357 · Whole record: https://cve.day/CVE-2022-43357.json · Rebuilt by cve.day 2026-11-25T22:58:19.570Z
