CVE-2020-13649
NixOS vulnerability analysis and mitigation

Overview

JerryScript version 2.2.0 contains a NULL pointer dereference vulnerability (CVE-2020-13649) in the parser/js/js-scanner.c file. The vulnerability was discovered on May 23, 2020, and affects the error handling during certain out-of-memory conditions, as demonstrated by a scanner_reverse_info_list NULL pointer dereference and a scanner_scan_all assertion failure (MITRE, GitHub Issue).

Technical details

The vulnerability occurs in the scanner component when handling errors during out-of-memory conditions. Specifically, the issue manifests in two ways: a NULL pointer dereference in the scanner_reverse_info_list function at js-scanner-util.c:1557, and an assertion failure in scanner_scan_all at js-scanner.c:3196. The vulnerability has been assigned a CVSS score of 5.0, indicating medium severity (CISA).

Impact

When exploited, this vulnerability can allow attackers to cause a denial of service condition by triggering a NULL pointer dereference, which results in a crash of the application (MITRE).

Exploitability

The vulnerability can be triggered by sending specially crafted input that causes out-of-memory conditions during parsing. A proof-of-concept exploit has been documented that demonstrates how the vulnerability can be triggered using specific JavaScript code patterns (GitHub Issue).

Mitigation and workarounds

The vulnerability has been fixed in a patch that corrects the error handling in the scanner when dealing with out-of-memory conditions. The fix includes proper validation of memory allocation return values and improved error handling logic (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-72898CRITICAL10
  • NixOS logoNixOS
  • metabase
YesYesAug 10, 2026
CVE-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util-sqlite-debuginfo
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util-odbc
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util-mysql
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management