cve.bz

CVE-2020-12825 gnome libcroco: Uncontrolled Recursion

7.1 highExploit referenceEPSS 2.3%

High (7.1) in gnome libcroco. EPSS 2.3% estimated probability of exploitation activity in the next 30 days.

On this page
libcroco through 0.6.13 has excessive recursion in cr_parser_parse_any_core in cr-parser.c, leading to stack consumption.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-12825 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-12825?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-12825?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-12825 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnome:libcrocothrough 0.6.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTS, Pro:16.04:LTSgnome-shellno fix listedUBUNTU-CVE-2020-12825
Ubuntu20.04:LTSlibcroco0.6.13-1ubuntu0.1UBUNTU-CVE-2020-12825 USN-6958-1
UbuntuPro:14.04:LTSlibcroco0.6.8-2ubuntu1+esm1UBUNTU-CVE-2020-12825 USN-6958-1
UbuntuPro:16.04:LTSlibcroco0.6.11-1ubuntu0.1~esm1UBUNTU-CVE-2020-12825 USN-5389-1
UbuntuPro:18.04:LTSlibcroco0.6.12-2ubuntu0.1~esm1UBUNTU-CVE-2020-12825 USN-6958-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationlibcroco, libcroco-devel, libcroco-debuginfo0:0.6.12-6.el7_9RHSA-2020:4072
Red Hatenterprise_linux:7::computenodelibcroco-devel, libcroco-debuginfo0:0.6.12-6.el7_9RHSA-2020:4072
Red Hatenterprise_linux:8::baseoslibcroco, libcroco-debuginfo, libcroco-debugsource0:0.6.12-4.el8_2.1RHSA-2020:3654
Red Hatenterprise_linux:8::crblibcroco-devel, libcroco-debuginfo, libcroco-debugsource0:0.6.12-4.el8_2.1RHSA-2020:3654
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 morelibcroco0.6.12-150000.4.6.2SUSE-SU-2022:3493-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3libcroco0.6.13-3.3.1SUSE-SU-2021:3123-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSlibcroco0.6.1-122.9.1SUSE-SU-2021:14800-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 6 morelibcroco0.6.11-12.6.45SUSE-SU-2022:2909-1
openSUSELeap 15.2libcroco0.6.13-lp152.2.3.1openSUSE-SU-2021:1294-1
openSUSELeap 15.3libcroco0.6.13-3.3.1openSUSE-SU-2021:3123-1
openSUSETumbleweedgnome-shell40.5-1.1openSUSE-SU-2024:10797-1
AlmaLinux8libcroco, libcroco-devel0.6.12-4.el8_2.1ALSA-2020:3654
Rocky Linux8libcroco0:0.6.12-4.el8_2.1RLSA-2020:3654
Azure Linux2libcrocono fix listedAZL-11365
Azure Linux3libcrocono fix listedAZL-36948

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

While Red Hat Enterprise Linux 6, 7 and 8 ship versions of `libcroco` that are vulnerable to this flaw, the packages which use this library as a dependency would require a user to open a malicious file locally for exploitation. Opening such a file may result in a temporary crash of the application. See below for more detailed information:

* Red Hat Enterprise Linux 8 - `libcroco` is a runtime dependency of `gnome-shell`, `gettext` and `inkscape`.

* Red Hat Enterprise Linux 7 - `libcroco` is a runtime dependency of `gnome-shell`, `gettext`, `librsvg2` and `inkscape`.

* Red Hat Enterprise Linux 6 - `libcroco` is required by `firefox` to bundle `gtk3` but `firefox` does not use `libcroco` as its CSS parsing engine or provide gtk3 to other packages, and thus not affected. `libcroco` is a runtime dependency of `inkscape`, `librsvg2` and `gettext`.

This flaw has only been demonstrated to cause a crash, but if there is any concern of further exploitation beyond that, Red Hat Enterprise Linux 6, 7, and 8 packages are built with a stack protector and stack ASLR which would significantly reduce the likelihood of further exploitation.

Red Hat's mitigation

To mitigate this flaw as it applies to gnome-shell, do not install untrusted gnome-shell extensions or themes. Red Hat Enterprise Linux does not ship with gnome-shell themes that will trigger this vulnerability. To mitigate this flaw as it applies to inkscape, do not open untrusted CSS in inkscape.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7libcroco-0:0.6.12-6.el7_9Fixed 2020-09-29RHSA-2020:4072
Red Hat Enterprise Linux 8libcroco-0:0.6.12-4.el8_2.1Fixed 2020-09-08RHSA-2020:3654
Red Hat Enterprise Linux 5libcrocoOut of support scope
Red Hat Enterprise Linux 6gettextOut of support scope
Red Hat Enterprise Linux 6inkscapeOut of support scope
Red Hat Enterprise Linux 6libcrocoOut of support scope
Red Hat Enterprise Linux 7gettextNot affected
Red Hat Enterprise Linux 7inkscapeFix deferred
Red Hat Enterprise Linux 8gettextNot affected
Red Hat Enterprise Linux 8inkscapeFix deferred
Red Hat Enterprise Linux 9libcrocoAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-12825.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON