Assertion Failure Vulnerability in QuickJS Package

quickjs Updated 03 Oct 2025

Summary

14/05/2024
N/A
No i
Medium
4.0

UBUNTU-CVE-2024-33263: QuickJS commit 3b45d15 was discovered to contain an Assertion Failure via JS_FreeRuntime(JSRuntime *) at quickjs.c. Affects quickjs versions 2021.03.27-1. No fix is published. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

QuickJS is a lightweight JavaScript engine that is designed to be embeddable in applications. It supports the ES2020 specification and is known for its small footprint and fast performance. The package is widely used in various applications that require JavaScript execution capabilities. However, a recent vulnerability has been identified that could lead to an assertion failure, potentially affecting the stability of applications using this package.

Vulnerability Detail

The vulnerability, identified as CVE-2024-33263, originates from a specific commit (3b45d15) in the QuickJS codebase. It manifests as an assertion failure when the function JS_FreeRuntime is called with a JSRuntime pointer. This could lead to unexpected behavior or crashes in applications that rely on QuickJS for JavaScript execution. The severity of this vulnerability is rated with a CVSS score of 4.0, indicating a medium risk level. If exploited, it could compromise the reliability of applications that utilize this engine.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can avoid using the affected function JS_FreeRuntime until they can apply the patch. This may involve modifying the application code to prevent calls to this function until the update is completed.

Conclusion

The QuickJS package has a vulnerability (CVE-2024-33263) that can lead to assertion failures, affecting application stability. Users are advised to update to the patched version to mitigate risks. Temporary workarounds are available, but applying the update is the best course of action.

See every vulnerability recorded for quickjs →

Share this vulnerability

FAQ

CVE-2024-33263 is a vulnerability in the QuickJS package that leads to an assertion failure, potentially causing application crashes.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of this vulnerability is 4.0, indicating a medium risk level.

If you cannot update the package immediately, consider avoiding the use of the JS_FreeRuntime function as a temporary workaround.

More information about QuickJS can be found on its official GitHub repository and documentation.

Related vulnerabilities

Recent vulnerabilities recorded for quickjs.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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