CVE-2026-1145

Description

A flaw was found in quickjs-ng quickjs. This vulnerability, a heap-based buffer overflow, exists in the js_typed_array_constructor_ta function. A remote attacker can exploit this by sending specially crafted input, which could lead to unauthorized information disclosure or system instability (denial of service).

Statement

This vulnerability is rated Important for Red Hat products. A heap-based buffer overflow flaw in the js_typed_array_constructor_ta function of quickjs-ng can be exploited remotely. This issue affects components that embed quickjs-ng, such as radare2 in Red Hat Community Projects, when processing untrusted JavaScript content.

Mitigation

To mitigate this issue, avoid processing untrusted JavaScript content with applications that embed `quickjs-ng`, such as `radare2`. Restricting the execution of untrusted scripts can reduce the exposure to this vulnerability.

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.