Description
The cr_parser_parse_selector_core function in cr-parser.c in libcroco 0.6.12 allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via a crafted CSS file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libcroco | 0.6.13-1ubuntu0.1 | USN-6958-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | libcroco | 0.6.12-2ubuntu0.1~esm1 | USN-6958-1 |
| Ubuntu Pro 16.04 LTS | libcroco | 0.6.11-1ubuntu0.1~esm1 | USN-5389-1 |
| Ubuntu Pro 14.04 LTS | libcroco | 0.6.8-2ubuntu1+esm1 | USN-6958-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | libcroco | 0.6.12-4.3.51 | SUSE-SU-2020:1535-1 |
| SLES 12 SP4 | libcroco | 0.6.11-12.3.1 | SUSE-SU-2019:1468-1 |
| SLES 12 SP3 | libcroco | 0.6.11-12.3.1 | SUSE-SU-2019:1468-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP4 | libcroco | 0.6.11-12.3.1 | SUSE-SU-2019:1468-1 |
| SLES for SAP 12 SP3 | libcroco | 0.6.11-12.3.1 | SUSE-SU-2019:1468-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.1 | libcroco | 0.6.12-lp151.4.3.1 | openSUSE-SU-2020:0780-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.11 | libcroco | 0.6.13-r1 | — |
| Alpine v3.10 | libcroco | 0.6.13-r1 | — |
| Alpine v3.9 | libcroco | 0.6.12-r2 | — |
| Alpine v3.8 | libcroco | 0.6.12-r2 | — |
| Alpine v3.7 | libcroco | 0.6.12-r1 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libcroco | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- libcroco 0.6.12 - Denial of Service EDB-42147 · dos · Jun 9, 2017
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 5
- USN-6958-1 libcroco vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- USN-5389-1 libcroco vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- SUSE-SU-2019:1468-1 Security update for libcroco SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0780-1 Security update for libcroco SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1535-1 Security update for libcroco SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://bugzilla.gnome.org/show_bug.cgi?id=782649
- 42147 exploit
- openSUSE-SU-2019:1575 vendor-advisory
- [oss-security] 20200813 Re: Re: [FD] libcroco multiple vulnerabilities mailing-list