Ansible-builder: denial of service via super-quadratic regular expression backtracking in ansible-builder requirements parsing
- CVE-2026-127095
- GHSA-x548-rxm4-5c2g
- EUVD-2026-129140
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.
Text from the CVE.org record.
Recommendation
Cvelo has no version information for this record. Check the vendor advisory.
Affected
Red Hat Red Hat Ansible Automation Platform 2
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.