7.5

CVE-2022-41715: Memory exhaustion when compiling regular expressions in regexp/syntax

Modified
AliasesRHSA-2023:2592UBUNTU-CVE-2022-41715DEBIAN-CVE-2022-41715
Published 14-10-2022Last modified 13-02-2025

Vulnerability summary

CVE-2022-41715 is a high (CVSS 7.5) vulnerability in go standard library regexp/syntax. EPSS estimates a 1.73% chance of exploitation in the next 30 days, higher than 77.5% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.73%
0%100%
Low · +0.29 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 36 · Related 17

Timeline

  1. 14-10-2022
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

Description

Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

1.73%

Chance of exploitation in the next 30 days

Percentile

78%

Versus all other CVEs

30-day change

Increase +0.29 pp

From 1.43% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard10 products
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compat< 0.19.0-r40
  • katib-suggestion-hyperband< 0.19.0-r31
  • katib-suggestion-hyperopt< 0.19.0-r40 | < 0.19.0-r31
  • katib-suggestion-nas-darts< 0.19.0-r31
Wolfi10 products
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compat< 0.19.0-r40
  • katib-suggestion-hyperband< 0.19.0-r31
  • katib-suggestion-hyperopt< 0.19.0-r40 | < 0.19.0-r31
  • katib-suggestion-nas-darts< 0.19.0-r31
Ubuntu8 products
  • golang-1.10All versions (No fix recorded)
  • golang-1.13All versions (No fix recorded)
  • golang-1.14All versions (No fix recorded)
  • golang-1.16All versions (No fix recorded)
  • golang-1.18< 1.18.1-1ubuntu1~18.04.4 | < 1.18.1-1ubuntu1~20.04.2 | < 1.18.1-1ubuntu1.1
Redhat3 products
  • golang-github-cpuguy83-md2man< 0:2.0.2-4.el9
  • golang-github-cpuguy83-md2man-debuginfo< 0:2.0.2-4.el9
  • golang-github-cpuguy83-md2man-debugsource< 0:2.0.2-4.el9
Alpine1 product
  • go≥ 1.19.0, < 1.18.7-r0 | ≥ 1.19.0, < 1.19.2-r0
Debian1 product
  • golang-1.19< 1.19.2-1
Go1 product
  • stdlib≥ 1.19.0-0, < 1.19.2
Go standard library1 product
Golang1 product
  • go< 1.18.7 | ≥ 1.19.0, < 1.19.2
Opensuse1 product
  • golang-github-prometheus-prometheus&distro=openSUSE Tumbleweed< 2.48.1-2.1

10 vendors · 37 products

References

24 links
Show all 24 references