{"id":"CVE-2026-127095","aliases":[],"summary":"Ansible-builder: denial of service via super-quadratic regular expression backtracking in ansible-builder requirements parsing","published_at":"2026-11-18T18:38:27.119Z","modified_at":"2026-11-18T19:38:28.553Z","products":[{"slug":"ansible","name":"Ansible / Ansible Automation Platform","category":"iac"},{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"low","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","attack_path":"local","user_interaction":true,"malicious":false,"red_hat":"Low","vendor_ratings":[{"source":"Red Hat","rating":"Low"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"priority":3.3,"details":"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_stack":[{"ecosystem":"CVE","package":"Red Hat/Red Hat Ansible Automation Platform 2","provider":"cvelistv5","source":"CVE-2026-127095","relation":"self"},{"ecosystem":"Red Hat:ansible_automation_platform:2","package":"ansible-builder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-127095","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-builder"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-127095"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-127095","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-127095","license":"CC-BY-4.0","published_at":"2026-11-18T19:17:45.288Z","modified_at":"2026-11-18T19:38:28.553Z","summary":"Ansible-builder: denial of service via super-quadratic regular expression backtracking in ansible-builder requirements parsing","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"CVE-2026-127095"}],"affected":[{"ecosystem":"CVE","package":"Red Hat/Red Hat Ansible Automation Platform 2","provider":"cvelistv5","source":"CVE-2026-127095","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-127095"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2572608"}]},{"provider":"redhat-vex","source_id":"CVE-2026-127095","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-127095","license":"CC-BY-4.0","published_at":"2026-11-18T18:38:27.119Z","modified_at":"2026-11-18T19:31:58Z","summary":"ansible-builder: denial of service via super-quadratic regular expression backtracking in ansible-builder requirements parsing","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"CVE-2026-127095"},{"type":"Red Hat","score":"Low","source":"CVE-2026-127095"}],"affected":[{"ecosystem":"Red Hat:ansible_automation_platform:2","package":"ansible-builder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-127095","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"affected","packages":["ansible-builder"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2026-127095"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-127095.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-127095"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2572608"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-127095"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-127095"}]}],"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-127095"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2572608"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-127095.json"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-127095"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-127095"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-127095","url":"https://www.cve.org/CVERecord?id=CVE-2026-127095","license":"CC-BY-4.0","modified_at":"2026-11-18T19:38:28.553Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-127095","url":"https://access.redhat.com/security/cve/CVE-2026-127095","license":"CC-BY-4.0","modified_at":"2026-11-18T19:31:58Z","relation":"self"}]}
