CVE-2017-12962: There are memory leaks in LibSass 3.4.5 triggered by deeply nested code, such as code with a long sequence of
CVE-2017-12962 is a high-severity flaw (CVSS 7.5) affecting libsass. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
There are memory leaks in LibSass 3.4.5 triggered by deeply nested code, such as code with a long sequence of open parenthesis characters, leading to a remote denial of service attack.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.2% (top 31%) |
| CISA exploited list | No |
| Weakness | CWE-772 |
| Published | 2017-08-18 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-12962?
libsass: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2017-12962 being exploited?
CVE-2017-12962 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-12962 affect?
CVE-2017-12962 affects libsass. Severity is high (CVSS 7.5). There are memory leaks in LibSass 3.4.5 triggered by deeply nested code, such as code with a long sequence of open parenthesis characters, leading to a remote denial of service attack.
How urgent is CVE-2017-12962?
Priority 48/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2022-43358 HIGH 7.5 DOWNGRADE Stack overflow vulnerability in ast_selectors.cpp: in function Sass::ComplexSelector::has_placeholder in libsa
- CVE-2022-43357 HIGH 7.5 DOWNGRADE DOWNGRADE Stack overflow vulnerability in ast_selectors.cpp in function Sass::CompoundSelector::has_real_parent_ref in l
- CVE-2022-26592 HIGH 8.8 DOWNGRADE Stack Overflow vulnerability in libsass 3.6.5 via the CompoundSelector::has_real_parent_ref function.
- CVE-2019-6286 MEDIUM 6.5 DOWNGRADE In LibSass 3.5.5, a heap-based buffer over-read exists in Sass::Prelexer::skip_over_scopes in prelexer.hpp whe
- CVE-2019-6284 MEDIUM 6.5 DOWNGRADE In LibSass 3.5.5, a heap-based buffer over-read exists in Sass::Prelexer::alternatives in prelexer.hpp.