USN-8290-1: Path-to-Regexp vulnerability

Publication date

21 May 2026

Overview

Path-to-Regexp could be made to crash if it received specially crafted network traffic.


Packages

Details

It was discovered that Path-to-Regexp incorrectly handled route patterns
containing multiple named parameters separated by non-delimiter characters
such as hyphens. An attacker could possibly use this issue to cause a denial
of service via catastrophic backtracking in the generated regular expressions.

It was discovered that Path-to-Regexp incorrectly handled route patterns
containing multiple named parameters separated by non-delimiter characters
such as hyphens. An attacker could possibly use this issue to cause a denial
of service via catastrophic backtracking in the generated regular expressions.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
24.04 LTS noble node-path-to-regexp –  6.2.1-1ubuntu0.1~esm1  
22.04 LTS jammy node-path-to-regexp –  6.2.0-2ubuntu0.1~esm1  
20.04 LTS focal node-path-to-regexp –  6.1.0-2ubuntu0.1~esm1  
18.04 LTS bionic node-path-to-regexp –  1.0.1-1ubuntu0.18.04.1~esm1  
16.04 LTS xenial node-path-to-regexp –  1.0.1-1ubuntu0.16.04.1~esm1

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›