CVE-2022-43357
CVE-2022-43357 is a high-severity vulnerability in Sass-lang Libsass with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 1% (66th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-787
- Affected product: Sass-lang Libsass
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-43357?
- 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.
- How severe is CVE-2022-43357?
- CVE-2022-43357 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2022-43357 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (66th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-43357?
- CVE-2022-43357 primarily affects Sass-lang Libsass. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2022-43357?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2022-43357 published?
- CVE-2022-43357 was published on 2023-08-22 and last updated on 2026-06-17.
References
- https://drive.google.com/file/d/1aC5q3czen0atI91fuBIoCBFkS30_OSWX/
- https://github.com/sass/libsass
- https://github.com/sass/libsass/issues/3177
Affected products (2)
- cpe:2.3:a:sass-lang:libsass:3.6.5-8-g210218:*:*:*:*:*:*:*
- cpe:2.3:a:sass-lang:sassc:3.6.2:*:*:*:*:*:*:*
More vulnerabilities in Sass-lang Libsass
- CVE-2018-11499 — Critical (CVSS 9.8): A use-after-free vulnerability exists in handle_error() in sass_context.cpp in LibSass 3.4.x and 3.5.x through 3.5.4…
- CVE-2022-26592 — High (CVSS 8.8): Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real_parent_ref function.
- CVE-2018-19827 — High (CVSS 8.8): In LibSass 3.5.5, a use-after-free vulnerability exists in the SharedPtr class in SharedPtr.cpp (or SharedPtr.hpp) that…
- CVE-2018-11696 — High (CVSS 8.8): An issue was discovered in LibSass through 3.5.4. A NULL pointer dereference was found in the function…
- CVE-2018-11695 — High (CVSS 8.8): An issue was discovered in LibSass <3.5.3. A NULL pointer dereference was found in the function Sass::Expand::operator…
- CVE-2018-11694 — High (CVSS 8.8): An issue was discovered in LibSass through 3.5.4. A NULL pointer dereference was found in the function…
All CVEs affecting Sass-lang Libsass →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…