CVE-2020-12825 json
libcroco through 0.6.13 has excessive recursion in cr_parser_parse_any_core in cr-parser.c, leading to stack consumption.
published 6y ago modified 2mo ago also EUVD-2020-5108 , JLSEC-2026-1302
- cvss
- 7.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
libcroco through 0.6.13 has excessive recursion in cr_parser_parse_any_core in cr-parser.c, leading to stack consumption.
Patch / fix
- libcroco Ubuntu 20.04 LTS 0.6.13-1ubuntu0.1
- libcroco Ubuntu Pro 14.04 LTS 0.6.8-2ubuntu1+esm1
- libcroco Ubuntu Pro 16.04 LTS 0.6.11-1ubuntu0.1~esm1
- libcroco Ubuntu Pro 18.04 LTS 0.6.12-2ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2020-12825
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libcroco RHEL 7 0.6.12-6.el7_9
- libcroco RHEL 8 0.6.12-4.el8_2.1
red hat advisories RHSA-2020:4072RHSA-2020:3654
- libcroco SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +7 more 0.6.12-150000.4.6.2
- libcroco SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +6 more 0.6.11-12.6.45
- libcroco SLE Module for Basesystem 15 SP3, SLE Module for Basesystem 15 SP2, SLE Micro 5.0 0.6.13-3.3.1
- libcroco SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 0.6.1-122.9.1
suse advisories SUSE-SU-2022:3493-1SUSE-SU-2022:2909-1SUSE-SU-2021:3123-1SUSE-SU-2021:14800-1
- gnome-shell openSUSE Tumbleweed 40.5-1.1
- libcroco openSUSE Leap 15.2 0.6.13-lp152.2.3.1
- libcroco openSUSE Leap 15.3 0.6.13-3.3.1
opensuse advisories openSUSE-SU-2024:10797-1openSUSE-SU-2021:1294-1openSUSE-SU-2021:3123-1
- libcroco AlmaLinux 8 0.6.12-4.el8_2.1
almalinux advisories ALSA-2020:3654
- libcroco Rocky Linux 8 0.6.12-4.el8_2.1
rocky linux advisories RLSA-2020:3654
Is CVE-2020-12825 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-12825 updated cvss 7.1
libcroco: Stack overflow in function cr_parser_parse_any_core in cr-parser.c
-
Red Hat Enterprise Linux 5 libcroco Red Hat Enterprise Linux 6 gettext, inkscape, libcroco, gettext-libs, inkscape-viewaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 inkscape, inkscape-view Red Hat Enterprise Linux 8 inkscape, inkscape-viewaffected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux 9 libcrocoaffected: workaround, no fix available
-
Red Hat CodeReady Linux Builder (v. 8) libcroco-devel 0.6.12-4.el8_2.1, libcroco-debuginfo 0.6.12-4.el8_2.1, libcroco-debugsource 0.6.12-4.el8_2.1 Red Hat Enterprise Linux BaseOS (v. 8) libcroco 0.6.12-4.el8_2.1fixed: vendor fix RHSA-2020:3654
-
Red Hat Enterprise Linux Client (v. 7) libcroco 0.6.12-6.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) libcroco-devel 0.6.12-6.el7_9, libcroco-debuginfo 0.6.12-6.el7_9 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libcroco-devel 0.6.12-6.el7_9, libcroco-debuginfo 0.6.12-6.el7_9 Red Hat Enterprise Linux Server (v. 7) libcroco 0.6.12-6.el7_9 Red Hat Enterprise Linux Server Optional (v. 7) libcroco-devel 0.6.12-6.el7_9, libcroco-debuginfo 0.6.12-6.el7_9 Red Hat Enterprise Linux Workstation (v. 7) libcroco 0.6.12-6.el7_9fixed: vendor fix RHSA-2020:4072
+1 more productsfewer
Red Hat Enterprise Linux Workstation Optional (v. 7) libcroco-devel 0.6.12-6.el7_9, libcroco-debuginfo 0.6.12-6.el7_9 -
Red Hat Enterprise Linux 7 gettext, gettext-libs, emacs-gettext Red Hat Enterprise Linux 8 gettext, gettext-libsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.32% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/libcroco/-/issues/8 referenced PoC, tagged "exploit" by a source, unverified
- openwall.com http://www.openwall.com/lists/oss-security/2020/08/13/3 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
| OSV | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | Libcroco_jll | all versions |
no fix listed |
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
gitlab.gnome.org
/GNOME/libcroco/-/issues/8
exploit, issue-tracking, third-party-advisory, web
-
openwall.com
/lists/oss-security/2020/08/13/3
mailing-list, exploit, third-party-advisory, web
-
security.gentoo.org
/glsa/202208-33
vendor-advisory, third-party-advisory, web
-
openwall.com
/lists/oss-security/2020/09/08/3
mailing-list, third-party-advisory, web
Sources
- CVE List CVE-2020-12825
- NVD CVE-2020-12825
- OSV JLSEC-2026-1302
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.