CVE-2026-127095
3.3low
Ansible-builder: denial of service via super-quadratic regular expression backtracking in ansible-builder requirements parsing
- Severity
- 3.3low CVSS:3.1 by redhat
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ansible-builder | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-127095 changed 2026-11-19 | CVE Terms of Use |
| NVD | CVE-2026-127095 changed 2026-11-19 | Public domain |