{"id":"CVE-2026-127095","aliases":["CVE-2026-127095"],"related":[],"kind":"vulnerability","state":"published","title":"Ansible-builder: denial of service via super-quadratic regular expression backtracking in ansible-builder requirements parsing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-18T19:17:45.288Z","modified":"2026-11-19T15:17:26.853Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"}],"cwes":["CWE-1333"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","package":"ansible-builder","cpe":"cpe:/a:redhat:ansible_automation_platform:2","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-127095","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2572608","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Jiawei Guo for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-19T14:54:09.853Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-127095","url":"https://www.cve.org/CVERecord?id=CVE-2026-127095","licence":"CVE Terms of Use","modified":"2026-11-19T14:54:23.212Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-127095","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-127095","licence":"Public domain","modified":"2026-11-19T15:17:26.853Z"}],"updatedAt":"2026-11-25T22:59:51.895Z","epss":{"score":0.00148,"percentile":0.04193,"date":"2026-12-01T12:00:22.000Z"}}