Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or…
Historical advisory recorded 24 Oct 2026 21:17:10 UTC. Read the latest advisory.
nvd · CVE-2022-41715
PublishedPrograms 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2022-41715
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: NVD-CWE-Other
Original publisher date fields
published: 2022-10-14T15:16:20.780
lastModified: 2026-06-17T05:03:41.893
1 source CPE criteria · context only
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON