CVE-2016-10527: Regular Expression Denial of Service in riot-compiler

riot-compiler Updated 02 Oct 2025

Summary

18/02/2019
Yes i
High
7.5

CVE-2016-10527: Regular Expression Denial of Service in riot-compiler. Affects riot-compiler versions < 2.3.22. Fixed in 2.3.22. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The riot-compiler package is an npm package that provides a compiler for Riot.js, a simple and elegant component-based UI library. It allows developers to write reusable UI components using custom tags. The package is widely used in web development projects.

Vulnerability Detail

The riot-compiler package is vulnerable to a regular expression denial of service (ReDoS) attack. This vulnerability arises due to inefficient regular expressions that can be exploited by an attacker to cause a denial of service by consuming excessive CPU resources. An attacker can send specially crafted input that triggers the inefficient regular expressions, causing the application to become unresponsive or crash. This vulnerability has a moderate severity rating.

How To Fix

Latest published version: 3.6.0 as of 22 Oct 2026

npm install riot-compiler@3.6.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.3.22

This is the first release that contains the fix.

npm install riot-compiler@2.3.22

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The riot-compiler package is vulnerable to a regular expression denial of service (ReDoS) attack. To mitigate this vulnerability, it is crucial to update to version 2.3.22 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for riot-compiler →

Share this vulnerability

FAQ

This vulnerability can lead to a denial of service, causing the affected application to become unresponsive or crash.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file and it will alert you in real-time if your application is vulnerable.

No, there are no known workarounds for this vulnerability. It is recommended to update to the latest version of the riot-compiler package.

There is no evidence of this vulnerability being exploited in the wild at the time of this advisory.

This vulnerability was discovered and reported by the GitHub Security Lab.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 3.6.0 as of 22 Oct 2026

npm install riot-compiler@3.6.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.3.22

This is the first release that contains the fix.

npm install riot-compiler@2.3.22

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback