CVE-2026-127095 — Red Hat Ansible Automation Platform 2
One of 2 Red Hat Ansible Automation Platform 2 vulnerabilities published together by NVD: our article covers all of them.
LinuxOperating systemsVulnerabilitiesSummary
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 breakdown
Low · 3.3
An attacker without an account can exploit this with local access if a user is tricked into an action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- low on availability, none on confidentiality and integrity
Weakness
- CWE-1333: Inefficient Regular Expression Complexity
References by type
Other references
Affected
- Red Hat Ansible Automation Platform 2
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-127095?
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. Weakness type: Inefficient Regular Expression Complexity (CWE-1333).
How severe is CVE-2026-127095?
CVE-2026-127095 has a CVSS 3.1 base score of 3.3 (low), from the CNA (redhat.com). An attacker without an account can exploit this with local access if a user is tricked into an action.
Is CVE-2026-127095 being exploited?
Not as far as is known: CVE-2026-127095 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
How do I fix CVE-2026-127095?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-137941 — Red Hat Enterprise Linux 6
- CVE-2026-137974 — Red Hat Fast Datapath for RHEL 10
- 12-Year-Old Linux Kernel NFS Flaw Allows Unauthenticated Root Takeover
- Privilege Escalation Vulnerability in Linux-PAM Due to Misconfigured Vendor Directories
- CERT-In Rates Linux KVM Memory Flaw High, Warns Guest Users Could Reach Host Memory