Skip to content
Threat Brief

← All advisories

CVE-2026-127095

Low 3.3No known exploitationFix status unknown

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

Record last updated

CVSS score

3.3

Low on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.1%

Higher than 4% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-1333

Patching and mitigation

Patch status
Unknown: no source documents a fix
Mitigation
Build execution environments only from trusted collection sources. Review the contents of requirements.txt files from untrusted or third-party collections before running ansible-builder build or introspect.
Vendor guidance
No vendor link on record

Affected products

VendorProductAffected versionsFixed inPer
Red HatRed Hat Ansible Automation Platform 2Not documentedNot documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by redhat

    Source: CVE Program (opens in a new tab)

Vendor guidance and references