CVE-2020-12825 Denial of service in n/a

High 7.1 Published Updated

Excessive recursion in libcroco allows attackers to cause a denial of service via stack consumption.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-12825?

CVE-2020-12825 is a high-severity denial of service vulnerability in n/a, published on 12 May 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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

Weakness: CWE-674

Which versions are affected by CVE-2020-12825?

It affects 1 product.

Linux distribution packages (40)
libcroco AlmaLinux:8All versions0.6.12-4.el8_2.1
libcroco-devel AlmaLinux:8All versions0.6.12-4.el8_2.1
libcroco Red Hat:enterprise_linux:7::clientAll versions0:0.6.12-6.el7_9
libcroco-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:0.6.12-6.el7_9
libcroco-devel Red Hat:enterprise_linux:7::clientAll versions0:0.6.12-6.el7_9
libcroco-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:0.6.12-6.el7_9
libcroco-devel Red Hat:enterprise_linux:7::computenodeAll versions0:0.6.12-6.el7_9
libcroco Red Hat:enterprise_linux:7::serverAll versions0:0.6.12-6.el7_9
libcroco-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:0.6.12-6.el7_9
libcroco-devel Red Hat:enterprise_linux:7::serverAll versions0:0.6.12-6.el7_9
libcroco Red Hat:enterprise_linux:7::workstationAll versions0:0.6.12-6.el7_9
libcroco-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:0.6.12-6.el7_9
libcroco-devel Red Hat:enterprise_linux:7::workstationAll versions0:0.6.12-6.el7_9
libcroco Red Hat:enterprise_linux:8::baseosAll versions0:0.6.12-4.el8_2.1
libcroco-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:0.6.12-4.el8_2.1
libcroco-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:0.6.12-4.el8_2.1
libcroco-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:0.6.12-4.el8_2.1
libcroco-debugsource Red Hat:enterprise_linux:8::crbAll versions0:0.6.12-4.el8_2.1
libcroco-devel Red Hat:enterprise_linux:8::crbAll versions0:0.6.12-4.el8_2.1
libcroco Rocky Linux:8All versions0:0.6.12-4.el8_2.1
libcroco SUSE:Enterprise Storage 6All versions0.6.12-150000.4.6.2
libcroco SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions0.6.12-150000.4.6.2
libcroco SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions0.6.12-150000.4.6.2
libcroco SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions0.6.12-150000.4.6.2
libcroco SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions0.6.12-150000.4.6.2
libcroco SUSE:Linux Enterprise Micro 5.0All versions0.6.13-3.3.1
libcroco SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions0.6.13-3.3.1
libcroco SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions0.6.13-3.3.1
libcroco SUSE:Linux Enterprise Point of Sale 11 SP3All versions0.6.1-122.9.1
libcroco SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions0.6.1-122.9.1
libcroco SUSE:Linux Enterprise Server 12 SP2-BCLAll versions0.6.11-12.6.45
libcroco SUSE:Linux Enterprise Server 12 SP3-BCLAll versions0.6.11-12.6.45
libcroco SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions0.6.11-12.6.45
libcroco SUSE:Linux Enterprise Server 12 SP5All versions0.6.11-12.6.45
libcroco SUSE:Linux Enterprise Server 15 SP1-BCLAll versions0.6.12-150000.4.6.2
libcroco SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions0.6.12-150000.4.6.2
libcroco SUSE:Linux Enterprise Server 15-LTSSAll versions0.6.12-150000.4.6.2
libcroco SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions0.6.11-12.6.45
libcroco SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions0.6.11-12.6.45
libcroco SUSE:Linux Enterprise Server for SAP Applications 15All versions0.6.12-150000.4.6.2

Products include Gnome Libcroco.

How do I fix CVE-2020-12825?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2020-12825 being exploited?

There is no known exploitation of CVE-2020-12825 in the wild and no public exploit code.

Sources

Also known as ALSA-2020:3654, AZL-11365, AZL-36948, CLSA-2026-1790072973, GHSA-23x2-xqxm-pxwj, JLSEC-2026-1302 and 12 more.

Is CVE-2020-12825 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free