# CVE-2022-22901: There is an Assertion in 'contextp-nextscannerinfop-type == SCANNERTYPEFUNCTION' failed at parserparsefunctionarguments in /js/js-parser.c…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-17T02:40:13.000Z
- Modified: 2026-07-09T01:17:14.053Z
- Weaknesses: CWE-617
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- jerryscript jerryscript: no versions given

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/jerryscript-project/jerryscript/issues/4916> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/jerryscript-project/jerryscript> (product, third-party-advisory)

## Sources

- CVE List: [CVE-2022-22901](https://www.cve.org/CVERecord?id=CVE-2022-22901), CVE Terms of Use, modified 2026-07-09
- NVD: [CVE-2022-22901](https://nvd.nist.gov/vuln/detail/CVE-2022-22901), Public domain, modified 2026-07-09

---

Page: https://cve.day/CVE-2022-22901 · Whole record: https://cve.day/CVE-2022-22901.json · Rebuilt by cve.day 2026-11-25T22:58:09.731Z
