Ubuntu CVE Tracker
UBUNTU-CVE-2022-25858
Details
The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:20.04:LTS | node-terser | All versions, no fix listed |
| Ubuntu:22.04:LTS | node-terser | All versions, no fix listed |
| Ubuntu:22.04:LTS | qt6-webengine | All versions, no fix listed |
| Ubuntu:24.04:LTS | node-terser | All versions, no fix listed |
| Ubuntu:24.04:LTS | qt6-webengine | All versions, no fix listed |
| Ubuntu:25.10 | node-terser | All versions, no fix listed |
| Ubuntu:25.10 | qt6-webengine | All versions, no fix listed |
| Ubuntu:26.10 | node-terser | All versions, no fix listed |
| Ubuntu:26.10 | qt6-webengine | All versions, no fix listed |
| Ubuntu:26.04:LTS | node-terser | All versions, no fix listed |
| Ubuntu:26.04:LTS | qt6-webengine | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2022-25858
- https://github.com/terser/terser/commit/a4da7349fdc92c05094f41d33d06d8cd4e90e76b
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2949722
- https://github.com/terser/terser/commit/d8cc5691be980d663c29cc4d5ce67e852d597012
- https://snyk.io/vuln/SNYK-JS-TERSER-2806366
- https://github.com/terser/terser/blob/master/lib/compress/evaluate.js%23L135
- https://www.cve.org/CVERecord?id=CVE-2022-25858