CVE-2026-127095

low

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.

References

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-129140

https://bugzilla.redhat.com/show_bug.cgi?id=2572608

https://access.redhat.com/security/cve/CVE-2026-127095

Details

Source: Mitre, NVD

Published: 2026-11-18

Updated: 2026-11-19

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 3.3

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Severity: Low

EPSS

EPSS: 0.00148