CVE-2017-8871

MEDIUM

libcroco 0.6.12 - Denial of Service via Crafted CSS File

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2017-8871. PoCs published by qflb.wu.

AI-analyzed exploit summary The exploit demonstrates two denial-of-service vulnerabilities in libcroco 0.6.12: a memory allocation error in `cr_tknzr_parse_comment` and an infinite loop in `cr_parser_parse_selector_core`. Both are triggered by crafted CSS files.

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.

Exploits (1)

exploitdb WORKING POC
by qflb.wu · textdoslinux
https://www.exploit-db.com/exploits/42147

The exploit demonstrates two denial-of-service vulnerabilities in libcroco 0.6.12: a memory allocation error in `cr_tknzr_parse_comment` and an infinite loop in `cr_parser_parse_selector_core`. Both are triggered by crafted CSS files.

Classification
Working Poc 90%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: libcroco 0.6.12
No auth needed
Prerequisites: Crafted CSS file · Target application using libcroco to parse CSS
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Issue Tracking, Third Party Advisory x_refsource_misc
https://bugzilla.gnome.org/show_bug.cgi?id=782649
Exploit, Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/42147/
Mailing List, Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00043.html
Exploit, Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2020/08/13/3

Scores

CVSS v3 6.5
EPSS 0.1300
EPSS Percentile 95.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-835
Status published
Products (2)
gnome/libcroco 0.6.12
opensuse/leap 42.3
Published Jun 12, 2017
Tracked Since Feb 18, 2026