RHSA-2026:97885
Vulnerability from csaf_redhat - Published: 2026-11-10 21:30 - Updated: 2026-11-30 23:38A flaw was found in regexp2. A remote attacker can exploit this vulnerability by submitting a specially crafted regular expression pattern containing a large repetition quantifier applied to an empty subexpression. When evaluated, the matching engine continuously allocates memory on its internal backtracking stack without bounds, rapidly consuming system resources and causing the application to crash. This failure leads to a Denial of Service (DoS).
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@s390x | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@x86_64 | — |
Vendor Fix
fix
Workaround
|
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Important"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for Red Hat Hardened Images RPMs is now available.",
"title": "Topic"
},
{
"category": "general",
"text": "This update includes the following RPMs:\n\ntrivy:\n * trivy-0.76.1-0.3.hum1 (aarch64, s390x, x86_64)\n * trivy-0.76.1-0.3.hum1.src (src)\n\nSecurity Fix(es):\n\ntrivy:\n * CVE-2026-77299",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2026:97885",
"url": "https://access.redhat.com/errata/RHSA-2026:97885"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-77299",
"url": "https://access.redhat.com/security/cve/CVE-2026-77299"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_97885.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update",
"tracking": {
"current_release_date": "2026-11-30T23:38:37+00:00",
"generator": {
"date": "2026-11-30T23:38:37+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.4.9"
}
},
"id": "RHSA-2026:97885",
"initial_release_date": "2026-11-10T21:30:20+00:00",
"revision_history": [
{
"date": "2026-11-10T21:30:20+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-11-10T21:33:13+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-11-30T23:38:37+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Hardened Images",
"product": {
"name": "Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:hummingbird:1"
}
}
}
],
"category": "product_family",
"name": "Red Hat Hardened Images"
},
{
"branches": [
{
"category": "product_version",
"name": "trivy-0:0.76.1-0.3.hum1@aarch64",
"product": {
"name": "trivy-0:0.76.1-0.3.hum1@aarch64",
"product_id": "trivy-0:0.76.1-0.3.hum1@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/trivy@0.76.1-0.3.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "trivy-0:0.76.1-0.3.hum1@s390x",
"product": {
"name": "trivy-0:0.76.1-0.3.hum1@s390x",
"product_id": "trivy-0:0.76.1-0.3.hum1@s390x",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/trivy@0.76.1-0.3.hum1?arch=s390x\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-s390x-rpms"
}
}
}
],
"category": "architecture",
"name": "s390x"
},
{
"branches": [
{
"category": "product_version",
"name": "trivy-0:0.76.1-0.3.hum1@src",
"product": {
"name": "trivy-0:0.76.1-0.3.hum1@src",
"product_id": "trivy-0:0.76.1-0.3.hum1@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/trivy@0.76.1-0.3.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "trivy-0:0.76.1-0.3.hum1@x86_64",
"product": {
"name": "trivy-0:0.76.1-0.3.hum1@x86_64",
"product_id": "trivy-0:0.76.1-0.3.hum1@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/trivy@0.76.1-0.3.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "x86_64"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "trivy-0:0.76.1-0.3.hum1@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@aarch64"
},
"product_reference": "trivy-0:0.76.1-0.3.hum1@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "trivy-0:0.76.1-0.3.hum1@s390x as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@s390x"
},
"product_reference": "trivy-0:0.76.1-0.3.hum1@s390x",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "trivy-0:0.76.1-0.3.hum1@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@src"
},
"product_reference": "trivy-0:0.76.1-0.3.hum1@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "trivy-0:0.76.1-0.3.hum1@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@x86_64"
},
"product_reference": "trivy-0:0.76.1-0.3.hum1@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-77299",
"cwe": {
"id": "CWE-770",
"name": "Allocation of Resources Without Limits or Throttling"
},
"discovery_date": "2026-11-06T01:40:53.248316+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2568017"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in regexp2. A remote attacker can exploit this vulnerability by submitting a specially crafted regular expression pattern containing a large repetition quantifier applied to an empty subexpression. When evaluated, the matching engine continuously allocates memory on its internal backtracking stack without bounds, rapidly consuming system resources and causing the application to crash. This failure leads to a Denial of Service (DoS).",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "github.com/dlclark/regexp2: regexp2: Denial of Service via unbounded memory allocation during pattern matching",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "This vulnerability is rated as an Important severity because it enables remote attackers to crash consuming Go applications or services through rapid memory exhaustion without authentication. Applications utilizing regexp2 are susceptible when they compile or evaluate untrusted, user-controlled regular expressions. In typical Red Hat environments, Go services parsing arbitrary expressions directly from network clients face service termination via out-of-memory errors, whereas deployments that restrict pattern definitions to trusted administrative inputs remain unaffected.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@aarch64",
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@s390x",
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@src",
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-77299"
},
{
"category": "external",
"summary": "RHBZ#2568017",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2568017"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-77299",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-77299"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-77299",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77299"
},
{
"category": "external",
"summary": "https://github.com/dlclark/regexp2/commit/6e446cb3a57a0f20112bc24353604fd00bdb309a",
"url": "https://github.com/dlclark/regexp2/commit/6e446cb3a57a0f20112bc24353604fd00bdb309a"
},
{
"category": "external",
"summary": "https://github.com/dlclark/regexp2/releases/tag/v2.3.0",
"url": "https://github.com/dlclark/regexp2/releases/tag/v2.3.0"
},
{
"category": "external",
"summary": "https://github.com/dlclark/regexp2/security/advisories/GHSA-wq9v-j77v-qr26",
"url": "https://github.com/dlclark/regexp2/security/advisories/GHSA-wq9v-j77v-qr26"
}
],
"release_date": "2026-11-06T01:28:58.685000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-11-10T21:30:20+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@aarch64",
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@s390x",
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@src",
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:97885"
},
{
"category": "workaround",
"details": "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.\n\n--- CME Mitigation Guidance (2026-11-06) ---\nDisclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.\n\nThe highest-value action is to enforce computational budget and backtracking depth limits within regexp2 or disallow untrusted user-supplied patterns: upgrade to regexp2 2.3.0 (or the corresponding fixed Red Hat builds), which enforce a default limit of 100,000 slots on the backtracking stack via OptionMaxBacktrackingStackSize and optimize away repeated literal empty expressions, closing crafted regular expression with large repetition quantifier on empty subexpression. Until patched, this is only a concern on Go applications compiling or matching untrusted, user-supplied regular expressions using regexp2 \u2014 deployments restricting pattern definitions to trusted administrative inputs are unaffected \u2014 so validate incoming patterns to reject large quantifier values and zero-width repetitions, and restrict regular expression compilation exclusively to trusted administrative inputs. As a compensating measure, enforce per-process address space limits (RLIMIT_AS) via ulimit or prlimit to constrain memory consumed by the backtracking stack, reject regular expression inputs containing repetition quantifiers that exceed safe application-defined bounds before passing them to regexp2, and apply cgroups v2 resource limits to bound container memory usage and prevent host-wide memory starvation. These controls limit blast radius and contain exploitation, but they do not fix the underlying unbounded memory allocation defect \u2014 apply the upstream patch to fully remediate.\n\nHighest-impact CME: CME-1316 Algorithmic Complexity Safeguards (Pattern/Regex Execution Limits) (high)",
"product_ids": [
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@aarch64",
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@s390x",
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@src",
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@aarch64",
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@s390x",
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@src",
"Red Hat Hardened Images:trivy-0:0.76.1-0.3.hum1@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Important"
}
],
"title": "github.com/dlclark/regexp2: regexp2: Denial of Service via unbounded memory allocation during pattern matching"
}
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.