CVE-2026-127095 Ansible-builder: denial of service via super-quadratic regular expression backtracking in ansible-builder requirements parsing
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
2 packages: 0 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat ansible automation platform | All versions | No fix listed | No fix yet |
| redhat/ansible-builder(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat ansible automation platform | All versions | No fix listed |
| redhat/ansible-builder(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
References
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2572608 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-129140 third-party-advisory