Critical
Security advisory
Stack overflow vulnerability in Jerryscript before commit e1ce7dd7271288be8c0c8136eea9107df73a8ce2 on Oct 20, 2021 due to an unbounded recursive call to the new opt() function.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-41752
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:37 UTC · Revision 1
Source evidence
Stack overflow vulnerability in Jerryscript before commit e1ce7dd7271288be8c0c8136eea9107df73a8ce2 on Oct 20, 2021 due to an unbounded recursive call to the new opt() function.
osv:CVE-2021-41752
Complete source record
{
"id": "40fa2b1ad92b222c915af38b2cde16bd811e9998cd4e6b5a7c662cc4d7378d11",
"url": "https://osv.dev/vulnerability/CVE-2021-41752",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-41752",
"summary": "Stack overflow vulnerability in Jerryscript before commit e1ce7dd7271288be8c0c8136eea9107df73a8ce2 on Oct 20, 2021 due to an unbounded recursive call to the new opt() function.",
"evidence": "osv:CVE-2021-41752",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-41752",
"aliases": [
"CVE-2021-41752"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jerryscript-project/jerryscript",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "e1ce7dd7271288be8c0c8136eea9107df73a8ce2"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "e1ce7dd7271288be8c0c8136eea9107df73a8ce2"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v2.4.0",
"v2.3.0",
"v2.2.0",
"v2.1.0",
"v2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41752.json",
"vanir_signatures": [
{
"id": "CVE-2021-41752-164d2bde",
"digest": {
"threshold": 0.9,
"line_hashes": [
"65070737677933875425506203001298679016",
"73230660568362018569682176724414777453",
"166278255259729510481392221968112886844",
"209500469125532017844010357862545838628",
"136900461308309981844186666398668427074",
"58593926328542817457890983909528317747",
"279869648042454976186181280938525526884",
"137590719488954089823847476286989918596",
"243883996849007538961829585418232016228",
"51687892192894415234407263472506365296",
"123357851191358437223824426172505518437",
"294465336187237343467166624896756758593",
"146185930394981791965297907672006715786",
"93374882415703749480982002778321013449",
"135634870079886229846551216775308685691",
"289665323977797705741776769172142214602",
"240872757311082232732669624217786734328",
"17431365949903122987086442861454201799",
"327329914787492682946706850373894109549",
"172036605490437172373493578312061837390",
"186694615650118189023208462517349319452",
"153192149349469506399272019667301023023",
"299047268034976004058969040740903540330",
"196310120636425941165016007046618804274",
"50174438947771418537410276228591917782",
"271982959861117745361994037518368881433"
]
},
"source": "https://github.com/jerryscript-project/jerryscript/commit/e1ce7dd7271288be8c0c8136eea9107df73a8ce2",
"target": {
"file": "jerry-core/ecma/operations/ecma-typedarray-object.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-41752-3726c416",
"digest": {
"length": 1329,
"function_hash": "259081529014639118895966770811122945139"
},
"source": "https://github.com/jerryscript-project/jerryscript/commit/e1ce7dd7271288be8c0c8136eea9107df73a8ce2",
"target": {
"file": "jerry-core/ecma/operations/ecma-typedarray-object.c",
"function": "ecma_typedarray_create_object_with_length"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-41752-cbdfb04a",
"digest": {
"length": 2184,
"function_hash": "225580794641486813059091393472118417868"
},
"source": "https://github.com/jerryscript-project/jerryscript/commit/e1ce7dd7271288be8c0c8136eea9107df73a8ce2",
"target": {
"file": "jerry-core/ecma/operations/ecma-typedarray-object.c",
"function": "ecma_op_create_typedarray"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:06:43Z"
}
}
],
"modified": "2026-10-20T14:06:43.456080317Z",
"provider": "osv",
"references": [
"https://github.com/jerryscript-project/jerryscript/issues/4779"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:jerryscript:jerryscript:*:*:*:*:*:*:*:*"
],
"vendor_product": "jerryscript:jerryscript",
"extracted_events": [
{
"range": [
{
"fixed": "2021-10-20"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-41752",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388564,
"published_at": "2022-04-05T16:15:12.59+00:00"
}