CVE-2026-127096
published low CVSS 3.1 · 3.3Vscode-ansible: denial of service via quadratic documentation-regex scanning in the ansible language server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | ansible-automation-platform-27/ansible-devspaces-rhel9Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat |
| Red Hat | — | ansible-automation-platform-tech-preview/ansible-devspaces-rhel9Red Hat Ansible Automation Platform 2 | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.3 / 10
- Severity
- low
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat · cna |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat · cna |
Weaknesses
1- CWE-1333 Inefficient Regular Expression Complexity
References
2- https://access.redhat.com/security/cve/CVE-2026-127096
- RHBZ#2572610 https://bugzilla.redhat.com/show_bug.cgi?id=2572610
Provider assertions
2redhat · cna
Vscode-ansible: denial of service via quadratic documentation-regex scanning in the ansible language server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c09c92bdec6613c5e6ed7116d16348fe9819968bab7198ad42873a1c0170d050
- Ingested
- 18 Nov 2026, 21:39:32 UTC
- Source record
- Official CVE record