CVE-2022-22901: There is an Assertion in 'context_p->next_scanner_info_p->type == SCANNER_TYPE_FUNCTION' failed at parser_pars
CVE-2022-22901 is a medium-severity flaw (CVSS 5.5) affecting jerryscript. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.7% (top 48%) |
| CISA exploited list | No |
| Weakness | CWE-617 |
| Published | 2022-02-17 |
| Last modified | 2026-07-09 |
Last updated 2026-07-09 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-22901?
jerryscript: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-22901 being exploited?
CVE-2022-22901 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-22901 affect?
CVE-2022-22901 affects jerryscript. Severity is medium (CVSS 5.5). 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.
How urgent is CVE-2022-22901?
Priority 37/100. Public exploit reference
Related CVEs
- CVE-2024-33260 MEDIUM 5.1 DOWNGRADE Jerryscript commit cefd391 was discovered to contain a segmentation violation via the component parser_parse_c
- CVE-2024-33259 MEDIUM 5.5 DOWNGRADE Jerryscript commit cefd391 was discovered to contain a segmentation violation via the component scanner_seek a
- CVE-2024-33258 HIGH 7.1 DOWNGRADE Jerryscript commit ff9ff8f was discovered to contain a segmentation violation via the component vm_loop at jer
- CVE-2024-33255 MEDIUM 6.2 DOWNGRADE Jerryscript commit cefd391 was discovered to contain an Assertion Failure via ECMA_STRING_IS_REF_EQUALS_TO_ONE
- CVE-2024-29489 MEDIUM 5.5 UPGRADE Jerryscript 2.4.0 has SEGV at ./jerry-core/ecma/base/ecma-helpers.c:238:58 in ecma_get_object_type.