CVE-2017-8871
The cr_parser_parse_selector_core function in cr-parser.c in libcroco 0.6.12 allows remote...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2017-8871- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 7.1 High
AV:N/AC:M/Au:N/C:N/I:N/A:C - Weakness
- CWE-835
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-8871- Updated
- 2026-11-02
EUVDEUVD-2017-17813 No score
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.
- Record
EUVD-2017-17813- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xxqh-r526-fmp5
6.5
The cr_parser_parse_selector_core function in cr-parser.c in libcroco 0.6.12 allows remote...
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.
- Record
GHSA-xxqh-r526-fmp5- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-835
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-8871
6.5
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.
- Record
ALPINE-CVE-2017-8871- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVAZL-44802
6.5
CVE-2017-8871 affecting package libcroco 0.6.13-6
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.
- Record
AZL-44802- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-05
Show 9 moreShow less
OSV
6.5
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.
- Record
CVE-2017-8871- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-8871
6.5
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.
- Record
UBUNTU-CVE-2017-8871- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2019-0389 No score
Updated libcroco packages fix security vulnerability
Updated libcroco packages fix security vulnerabilities:
Heap overflow (input: check end of input before reading a byte) (CVE-2017-7960).
Undefined behavior (tknzr: support only max long rgb values) (CVE-2017-7961).
Denial of service (memory allocation error) via a crafted CSS file (CVE-2017-8834).
Denial of service (infinite loop and CPU consumption) via a crafted CSS file (CVE-2017-8871).
- Record
MGASA-2019-0389- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0780-1 No score
Security update for libcroco
This update for libcroco fixes the following issues:
Security issues fixed:
- CVE-2017-8834: Fixed denial of service (memory allocation error) via a crafted CSS file (bsc#1043898).
- CVE-2017-8871: Fixed denial of service (infinite loop and CPU consumption) via a crafted CSS file (bsc#1043899).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2020:0780-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10932-1 No score
libcroco-0.6.13-3.2 on GA media
These are all security issues fixed in the libcroco-0.6.13-3.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10932-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:1468-1 No score
Security update for libcroco
This update for libcroco fixes the following issues:
Security issues fixed:
- CVE-2017-7960: Fixed heap overflow (input: check end of input before reading a byte) (bsc#1034481).
- CVE-2017-7961: Fixed undefined behavior (tknzr: support only max long rgb values) (bsc#1034482).
- CVE-2017-8834: Fixed denial of service (memory allocation error) via a crafted CSS file (bsc#1043898).
- CVE-2017-8871: Fixed denial of service (infinite loop and CPU consumption) via a crafted CSS file (bsc#1043899).
- Record
SUSE-SU-2019:1468-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:1535-1 No score
Security update for libcroco
This update for libcroco fixes the following issues:
Security issues fixed:
- CVE-2017-8834: Fixed denial of service (memory allocation error) via a crafted CSS file (bsc#1043898).
- CVE-2017-8871: Fixed denial of service (infinite loop and CPU consumption) via a crafted CSS file (bsc#1043899).
- Record
SUSE-SU-2020:1535-1- Updated
- 2026-11-02
OSVUSN-5389-1 No score
libcroco vulnerabilities
It was discovered that Libcroco was incorrectly accessing data structures when reading bytes from memory, which could cause a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service. (CVE-2017-7960)
It was discovered that Libcroco was incorrectly handling invalid UTF-8 values when processing CSS files. An attacker could possibly use this issue to cause a denial of service. (CVE-2017-8834, CVE-2017-8871)
It was discovered that Libcroco was incorrectly implementing recursion in one of its parsing functions, which could cause an infinite recursion loop and a stack overflow due to stack consumption. An attacker could possibly use this issue to cause a denial of service. (CVE-2020-12825)
- Record
USN-5389-1- Updated
- 2026-11-02
OSVUSN-6958-1 No score
libcroco vulnerabilities
It was discovered that Libcroco was incorrectly accessing data structures when reading bytes from memory, which could cause a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS. (CVE-2017-7960)
It was discovered that Libcroco was incorrectly handling invalid UTF-8 values when processing CSS files. An attacker could possibly use this issue to cause a denial of service. (CVE-2017-8834, CVE-2017-8871)
It was discovered that Libcroco was incorrectly implementing recursion in one of its parsing functions, which could cause an infinite recursion loop and a stack overflow due to stack consumption. An attacker could possibly use this issue to cause a denial of service. (CVE-2020-12825)
- Record
USN-6958-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libcrocoAlpine:v3.10 |
before 0.6.13-r1 | 0.6.13-r1 |
libcrocoAlpine:v3.11 |
before 0.6.13-r1 | 0.6.13-r1 |
libcrocoAlpine:v3.7 |
before 0.6.12-r1 | 0.6.12-r1 |
libcrocoAlpine:v3.8 |
before 0.6.12-r2 | 0.6.12-r2 |
libcrocoAlpine:v3.9 |
before 0.6.12-r2 | 0.6.12-r2 |
libcrocoAzure Linux:3 |
through 0.6.13-6 | None known |
libcrocoMageia:7 |
before 0.6.13-1.1.mga7 | 0.6.13-1.1.mga7 |
libcrocoSUSE:Linux Enterprise Desktop 12 SP3 |
before 0.6.11-12.3.1 | 0.6.11-12.3.1 |
libcrocoSUSE:Linux Enterprise Desktop 12 SP4 |
before 0.6.11-12.3.1 | 0.6.11-12.3.1 |
libcrocoSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 0.6.11-12.3.1 | 0.6.11-12.3.1 |
Show 11 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libcrocoSUSE:Linux Enterprise Software Development Kit 12 SP4 |
before 0.6.11-12.3.1 | 0.6.11-12.3.1 |
libcrocoSUSE:Linux Enterprise Server 12 SP3 |
before 0.6.11-12.3.1 | 0.6.11-12.3.1 |
libcrocoSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 0.6.11-12.3.1 | 0.6.11-12.3.1 |
libcrocoSUSE:Linux Enterprise Server 12 SP4 |
before 0.6.11-12.3.1 | 0.6.11-12.3.1 |
libcrocoSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 0.6.11-12.3.1 | 0.6.11-12.3.1 |
libcrocoSUSE:Linux Enterprise Module for Basesystem 15 SP1 |
before 0.6.12-4.3.51 | 0.6.12-4.3.51 |
libcrocoUbuntu:Pro:14.04:LTS |
before 0.6.8-2ubuntu1+esm1, plus listed versions 0.6.8-20.6.8-2ubuntu1 |
0.6.8-2ubuntu1+esm1 |
libcrocoUbuntu:Pro:16.04:LTS |
before 0.6.11-1ubuntu0.1~esm1, plus listed versions 0.6.8-30.6.9-10.6.10-10.6.11-1 |
0.6.11-1ubuntu0.1~esm1 |
libcrocoUbuntu:Pro:18.04:LTS |
before 0.6.12-2ubuntu0.1~esm1, plus listed versions 0.6.12-10.6.12-2 |
0.6.12-2ubuntu0.1~esm1 |
libcrocoUbuntu:20.04:LTS |
before 0.6.13-1ubuntu0.1, plus listed versions 0.6.13-1 |
0.6.13-1ubuntu0.1 |
libcrocoopenSUSE:Leap 15.1 |
before 0.6.12-lp151.4.3.1 | 0.6.12-lp151.4.3.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | libcroco 0.6.12 - Denial of Service | 2017-06-09 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-8871 is a medium vulnerability (CVSS 6.5) in Gnome Libcroco, published June 12, 2017. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 12.9%, the 96th percentile. Fixed in libcroco 0.6.13-r1.
References
bugzilla.gnome.org/show_bug.cgi?id=782649
exploit-db.com/exploits/42147
lists.opensuse.org/opensuse-security-announce/2019-06/msg00043.html
openwall.com/lists/oss-security/2020/08/13/3
nvd.nist.gov/vuln/detail/CVE-2017-8871
github.com/advisories/GHSA-xxqh-r526-fmp5
Show 24 moreShow less
security.alpinelinux.org/vuln/CVE-2017-8871
advisories.mageia.org/MGASA-2019-0389.html
bugs.mageia.org/show_bug.cgi?id=21057
lists.opensuse.org/opensuse-updates/2019-06/msg00092.html
suse.com/support/update/announcement/2019/suse-su-20191468-1
bugzilla.suse.com/1034481
bugzilla.suse.com/1034482
bugzilla.suse.com/1043898
bugzilla.suse.com/1043899
suse.com/security/cve/CVE-2017-7960
suse.com/security/cve/CVE-2017-7961
suse.com/security/cve/CVE-2017-8834
suse.com/security/cve/CVE-2017-8871
suse.com/support/update/announcement/2020/suse-su-20201535-1
ubuntu.com/security/CVE-2017-8871
seclists.org/fulldisclosure/2017/Jun/10
ubuntu.com/security/notices/USN-5389-1
cve.org/CVERecord?id=CVE-2017-8871
ubuntu.com/security/notices/USN-6958-1
ubuntu.com/security/CVE-2017-7960
ubuntu.com/security/CVE-2017-8834
ubuntu.com/security/CVE-2020-12825
lists.opensuse.org/archives/list/[email protected]/thread/ADX7FL43GXKSISV5OKCBKBORP4TJ5JPA
suse.com/security/cve/CVE-2020-12825