CVE-2022-26592
published 2023-08-22CVE-2022-26592: Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real_parent_ref function.
PriorityP347high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
0.78%
51.7th percentile
Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real_parent_ref function.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libsass | < libsass 3.6.5+20231221-2 (forky) | libsass 3.6.5+20231221-2 (forky) |
| libsass | libsass | >= 0 < 3.6.5+20231221-2 | 3.6.5+20231221-2 |
| libsass | libsass | >= 0 < 3.6.5+20231221-2 | 3.6.5+20231221-2 |
| msrc | azl3_libsass_3.6.6-1_on_azure_linux_3.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| sass-lang | libsass | — | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv8.8HIGH
vendor_debian8.8HIGH
vendor_msrc8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real_parent_ref function.
vendor_msrc·2023-08-08·CVSS 8.8
CVE-2022-26592 [HIGH] CWE-787 Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real_parent_ref function.
Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real_parent_ref function.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action Required: Yes
Remediation:
Debian
CVE-2022-26592: libsass - Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real...
vendor_debian·2022·CVSS 8.8
CVE-2022-26592 [HIGH] CVE-2022-26592: libsass - Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real...
Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real_parent_ref function.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 3.6.5+20231221-2)
sid: resolved (fixed in 3.6.5+20231221-2)
trixie: resolved (fixed in 3.6.5+20231221-2)
VulDB
libsass 3.6.5 has_real_parent_ref stack-based overflow (Issue 3174 / EUVD-2022-31147)
vuldb·2026-05-10·CVSS 8.8
CVE-2022-26592 [HIGH] libsass 3.6.5 has_real_parent_ref stack-based overflow (Issue 3174 / EUVD-2022-31147)
A vulnerability classified as critical was found in libsass 3.6.5. This impacts the function CompoundSelector::has_real_parent_ref. Such manipulation leads to stack-based buffer overflow.
This vulnerability is listed as CVE-2022-26592. The attack must be carried out from within the local network. There is no available exploit.
GHSA
GHSA-4v29-vc65-87m4: Stack Overflow vulnerability in libsass 3
ghsa_unreviewed·2023-08-22
CVE-2022-26592 [HIGH] CWE-787 GHSA-4v29-vc65-87m4: Stack Overflow vulnerability in libsass 3
Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real_parent_ref function.
OSV
CVE-2022-26592: Stack Overflow vulnerability in libsass 3
osv·2023-08-22·CVSS 8.8
CVE-2022-26592 [HIGH] CVE-2022-26592: Stack Overflow vulnerability in libsass 3
Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real_parent_ref function.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2023-08-22
Published