Critical
Security advisory
Buffer-overflow in jsdtoa.c in Artifex MuJS in versions 1.0.1 to 1.1.1. An integer overflow happens when js_strtod() reads in floating point exponent, which leads to a buffer overflow in the pointer *d.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-33797
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:38 UTC · Revision 1
Source evidence
Buffer-overflow in jsdtoa.c in Artifex MuJS in versions 1.0.1 to 1.1.1. An integer overflow happens when js_strtod() reads in floating point exponent, which leads to a buffer overflow in the pointer *d.
osv:CVE-2021-33797
Complete source record
{
"id": "615641438dfadaff06a6bdb53b035be05353ad9afa51059f71e8c5d9e39b30d0",
"url": "https://osv.dev/vulnerability/CVE-2021-33797",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-33797",
"summary": "Buffer-overflow in jsdtoa.c in Artifex MuJS in versions 1.0.1 to 1.1.1. An integer overflow happens when js_strtod() reads in floating point exponent, which leads to a buffer overflow in the pointer *d.",
"evidence": "osv:CVE-2021-33797",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-33797",
"aliases": [
"CVE-2021-33797"
],
"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/ccxvii/mujs",
"type": "GIT",
"events": [
{
"introduced": "4792d16f17b15a1eca3c2a9c856dc13fda1d23c5"
},
{
"last_affected": "6d1404397f3c3433334418f56048bead007729ac"
},
{
"fixed": "833b6f1672b4f2991a63c4d05318f0b84ef4d550"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:artifex:mujs:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.1"
},
{
"last_affected": "1.1.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "833b6f1672b4f2991a63c4d05318f0b84ef4d550"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.1.1",
"1.1.0",
"1.0.9",
"1.0.8",
"1.0.7",
"1.0.6",
"1.0.5",
"1.0.4",
"1.0.3",
"1.0.2",
"1.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33797.json",
"vanir_signatures": [
{
"id": "CVE-2021-33797-6cc29e16",
"digest": {
"threshold": 0.9,
"line_hashes": [
"288979091544294782111518819104233456394",
"61581765318884466210923875556097423407",
"33659201827772043129384467252092958873",
"10652266890852190394524829872989947004",
"67837103942097848649576271900656043397",
"294322422671747322356550470135510402828",
"103767349172362287088416722015036295073"
]
},
"source": "https://github.com/ccxvii/mujs/commit/833b6f1672b4f2991a63c4d05318f0b84ef4d550",
"target": {
"file": "jsdtoa.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-33797-be8d4644",
"digest": {
"length": 2020,
"function_hash": "124021268302342966659032939690289369075"
},
"source": "https://github.com/ccxvii/mujs/commit/833b6f1672b4f2991a63c4d05318f0b84ef4d550",
"target": {
"file": "jsdtoa.c",
"function": "js_strtod"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:09:44Z"
}
}
],
"modified": "2026-10-20T14:09:44.626123605Z",
"provider": "osv",
"references": [
"https://github.com/ccxvii/mujs/issues/148",
"https://github.com/ccxvii/mujs/commit/833b6f1672b4f2991a63c4d05318f0b84ef4d550"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-33797",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388598,
"published_at": "2023-04-17T22:15:07.677+00:00"
}