---
id: CVE-2022-22901
title: >-
  There is an Assertion in 'context_p->next_scanner_info_p->type ==
  SCANNER_TYPE_FUNCTION' failed at parser_parse_function_arguments in
  /js/js-parser.c of JerryScript commit a6ab5e9.
summary: >-
  There is an Assertion in 'context_p->next_scanner_info_p->type ==
  SCANNER_TYPE_FUNCTION' failed at parser_parse_function_arguments in
  /js/js-parser.c of JerryScript commit a6ab5e9.
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-617
vendor: jerryscript
product: jerryscript
affected:
  - jerryscript
published: '2022-02-17'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-22901'
references:
  - url: 'https://github.com/jerryscript-project/jerryscript'
    label: cve@mitre.org
  - url: 'https://github.com/jerryscript-project/jerryscript/issues/4916'
    label: cve@mitre.org
  - url: 'http://jerryscript.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/jerryscript-project/jerryscript'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/jerryscript-project/jerryscript/issues/4916'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00677
epssPercentile: 0.50867
ingestedAt: '2026-07-06T17:03:23.902Z'
---

## Overview

There is an Assertion in 'context_p->next_scanner_info_p->type == SCANNER_TYPE_FUNCTION' failed at parser_parse_function_arguments in /js/js-parser.c of JerryScript commit a6ab5e9.

## Affected

- `jerryscript`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
