CVE-2022-25918

Regular Expression Denial of Service (ReDoS)

HIGH
7.5
CVSS Score
Published: October 27, 2022 at 05:05 AM UTC
Updated: June 17, 2026 at 04:34 AM UTC
1 product affected across 1 vendorShescape

Using shescape by N/A?

Get instant alerts when new vulnerabilities affect shescape - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 2%
SSVC
PoC

Description

The package shescape from 1.5.10 and before 1.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the escape function in index.js, due to the usage of insecure regex in the escapeArgBash function.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 1.5.10v < 1.6.11.5.101.6.0
Affected range stops below 1.6.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-1333

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card