Vscode-ansible: denial of service via quadratic documentation-regex scanning in the ansible language server
- State
- Published
- Severity
- 3.3 Low
- Published
- Nov 18, 2026
- Updated
- Nov 18, 2026
- Reserved
- Nov 12, 2026
Description
A flaw was found in the Ansible language server shipped with the vscode-ansible extension. The regular expression used to extract documentation fragments from Ansible module files is susceptible to quadratic-time scanning. A module file containing a crafted documentation string causes the language server to consume excessive CPU while indexing it, freezing the language service in the developer's editor. An attacker who can get a developer to open or index a workspace containing an attacker-supplied collection can cause a denial of service of the editor language features. This issue has no confidentiality or integrity impact.
| Product | Versions |
|---|---|
| Red Hat Ansible Automation Platform 2 Red Hat | |
| Red Hat Ansible Automation Platform 2 Red Hat |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 3.3 Low | redhat |
Weaknesses
- CWE-1333 Inefficient Regular Expression Complexity
References
- https://access.redhat.com/security/cve/CVE-2026-127096Vulnerability Database
- RHBZ#2572610Issue Tracker
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.