# CVE-2026-127095: Ansible-builder: denial of service via super-quadratic regular expression backtracking in ansible-builder requirements parsing

- Severity: Low 3.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-11-18T19:17:45.288Z
- Modified: 2026-11-19T15:17:26.853Z
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- ansible-builder: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-127095> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2572608> (issue-tracking)

## Sources

- CVE List: [CVE-2026-127095](https://www.cve.org/CVERecord?id=CVE-2026-127095), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-127095](https://nvd.nist.gov/vuln/detail/CVE-2026-127095), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-127095 · Whole record: https://cve.day/CVE-2026-127095.json · Rebuilt by cve.day 2026-11-25T22:59:51.895Z
