Every CVE Search/ Get API key

CVE-2017-7961

** DISPUTED ** The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco 0.6.11 and 0.6.12 has an...

7.8 HighFix availableDisputed

The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco 0.6.11 and 0.6.12 has an "outside the range of representable values of type long" undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted CSS file. NOTE: third-party analysis reports "This is not a security issue in my view. The conversion surely is truncating the double into a long value, but there is no impact as the value is one of the RGB components.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.97%Down 0.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List 7.8

The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco 0.6.11 and 0.6.12 has an "outside the range of representable values of type long" undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted CSS file. NOTE: third-party analysis reports "This is not a security issue in my view. The conversion surely is truncating the double into a long value, but there is no impact as the value is one of the RGB components.

Record
CVE-2017-7961
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
EUVDEUVD-2017-16931 7.8

The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco 0.6.11 and 0.6.12 has an "outside the range of representable values of type long" undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted CSS file. NOTE: third-party analysis reports "This is not a security issue in my view. The conversion surely is truncating the double into a long value, but there is no impact as the value is one of the RGB components.

Record
EUVD-2017-16931
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-w464-8qjc-r5gx 7.8

** DISPUTED ** The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco 0.6.11 and 0.6.12 has an...

** DISPUTED ** The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco 0.6.11 and 0.6.12 has an "outside the range of representable values of type long" undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted CSS file. NOTE: third-party analysis reports "This is not a security issue in my view. The conversion surely is truncating the double into a long value, but there is no impact as the value is one of the RGB components."

Record
GHSA-w464-8qjc-r5gx
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-119
Updated
2026-11-02
NVD 7.8

The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco 0.6.11 and 0.6.12 has an "outside the range of representable values of type long" undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted CSS file. NOTE: third-party analysis reports "This is not a security issue in my view. The conversion surely is truncating the double into a long value, but there is no impact as the value is one of the RGB components.

Record
CVE-2017-7961
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
OSVALPINE-CVE-2017-7961 7.8

The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco 0.6.11 and 0.6.12 has an "outside the range of representable values of type long" undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted CSS file. NOTE: third-party analysis reports "This is not a security issue in my view. The conversion surely is truncating the double into a long value, but there is no impact as the value is one of the RGB components.

Record
ALPINE-CVE-2017-7961
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 7.8

The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco 0.6.11 and 0.6.12 has an "outside the range of representable values of type long" undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted CSS file. NOTE: third-party analysis reports "This is not a security issue in my view. The conversion surely is truncating the double into a long value, but there is no impact as the value is one of the RGB components.

Record
CVE-2017-7961
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/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-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

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libcroco
Alpine:v3.10
before 0.6.13-r1
0.6.13-r1
libcroco
Alpine:v3.11
before 0.6.13-r1
0.6.13-r1
libcroco
Alpine:v3.7
before 0.6.12-r1
0.6.12-r1
libcroco
Alpine:v3.8
before 0.6.12-r2
0.6.12-r2
libcroco
Alpine:v3.9
before 0.6.12-r2
0.6.12-r2
libcroco
Debian:7
before 0.6.6-2+deb7u1, plus listed versions
0.6.6-2
0.6.6-2+deb7u1
libcroco
Mageia:7
before 0.6.13-1.1.mga7
0.6.13-1.1.mga7
libcroco
SUSE:Linux Enterprise Desktop 12 SP3
before 0.6.11-12.3.1
0.6.11-12.3.1
libcroco
SUSE:Linux Enterprise Desktop 12 SP4
before 0.6.11-12.3.1
0.6.11-12.3.1
libcroco
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 0.6.11-12.3.1
0.6.11-12.3.1
Show 5 moreShow less
Affected packages
PackageAffectedFixed
libcroco
SUSE:Linux Enterprise Software Development Kit 12 SP4
before 0.6.11-12.3.1
0.6.11-12.3.1
libcroco
SUSE:Linux Enterprise Server 12 SP3
before 0.6.11-12.3.1
0.6.11-12.3.1
libcroco
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 0.6.11-12.3.1
0.6.11-12.3.1
libcroco
SUSE:Linux Enterprise Server 12 SP4
before 0.6.11-12.3.1
0.6.11-12.3.1
libcroco
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 0.6.11-12.3.1
0.6.11-12.3.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-7961 is a high vulnerability (CVSS 7.8) in Gnome Libcroco, published April 19, 2017. Its validity is disputed. EPSS puts the chance of exploitation in the next 30 days at 1.97%, the 80th percentile. Fixed in libcroco 0.6.13-r1.

References

Show 16 moreShow less
MoveEnter Open