cve.bz

CVE-2018-20796 Uncontrolled Recursion

7.5 highExploit referenceEPSS 5.8%Fix available

High (7.5). EPSS 5.8% estimated probability of exploitation activity in the next 30 days.

On this page
In the GNU C Library (aka glibc or libc6) through 2.29, check_dst_limits_calc_pos_1 in posix/regexec.c has Uncontrolled Recursion, as demonstrated by '(\227|)(\\1\\1|t1|\\\2537)+' in grep.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
5.8% (unchanged from 5.8% a week ago; 5.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-25. 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-2018-20796 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20796?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20796?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-2018-20796 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
gnu:glibcthrough 2.29

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14glibcno fix listedDEBIAN-CVE-2018-20796
UbuntuPro:14.04:LTSeglibcno fix listedUBUNTU-CVE-2018-20796
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSglibcno fix listedUBUNTU-CVE-2018-20796

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The regular expression compiler in glibc is only supposed to be exposed to trusted content, therefore this flaw is not classified as a security vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6glibcNot affected
Red Hat Enterprise Linux 7glibcNot affected
Red Hat Enterprise Linux 8glibcNot affected

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-2018-20796.

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