CVE-2026-127095
Low 3.3No known exploitationFix status unknownAnsible-builder: denial of service via super-quadratic regular expression backtracking in ansible-builder requirements parsing
Record last updated
CVSS score
Low on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 4% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-1333
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- Build execution environments only from trusted collection sources. Review the contents of requirements.txt files from untrusted or third-party collections before running ansible-builder build or introspect.
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 2 | Not documented | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- https://access.redhat.com/security/cve/CVE-2026-127095 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2572608 (opens in a new tab)issue-tracking, x_refsource_redhat