CVE-2026-127095
published low CVSS 3.1 · 3.3Ansible-builder: denial of service via super-quadratic regular expression backtracking in ansible-builder requirements parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | ansible-builderRed Hat Ansible Automation Platform 2 | Affected | Not stated | redhat |
Description
A flaw was found in ansible-builder. The regular expression used to strip comments from a collection's requirements.txt during introspection is susceptible to super-quadratic backtracking. A requirements file containing a line with a long run of internal whitespace and no comment character causes the comment-stripping routine to consume CPU time proportional to the square of the line length. An attacker who can get a victim to build an execution environment that includes an attacker-supplied collection can cause the ansible-builder build or introspect process to hang, resulting in a denial of service. This issue has no confidentiality or integrity impact.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.3 / 10
- Severity
- low
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat · cna |
Weaknesses
1- CWE-1333 Inefficient Regular Expression Complexity
References
2- https://access.redhat.com/security/cve/CVE-2026-127095
- RHBZ#2572608 https://bugzilla.redhat.com/show_bug.cgi?id=2572608
Provider assertions
2redhat · cna
Ansible-builder: denial of service via super-quadratic regular expression backtracking in ansible-builder requirements parsing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e32dfee8fbf1a18cae9ee55d77a54294dd097b60d381cc009cbe3703482a84bf
- Ingested
- 19 Nov 2026, 14:59:14 UTC
- Source record
- Official CVE record