# CVE-2021-33797: Buffer-overflow in jsdtoa.c in Artifex MuJS in versions 1.0.1 to 1.1.1.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.81%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-04-17T00:00:00.000Z
- Modified: 2026-06-17T03:55:15.083Z
- Weaknesses: CWE-119, CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: fedora

## Description

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.

(As written by CVE List.)

## Affected

- mujs: mujs in versions 1.0.1 to 1.1.1
- artifex mujs: from 1.0.1 up to 1.1.1

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ccxvii/mujs/issues/148> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/ccxvii/mujs/commit/833b6f1672b4f2991a63c4d05318f0b84ef4d550> (patch)

## Sources

- CVE List: [CVE-2021-33797](https://www.cve.org/CVERecord?id=CVE-2021-33797), CVE Terms of Use, modified 2025-02-06
- NVD: [CVE-2021-33797](https://nvd.nist.gov/vuln/detail/CVE-2021-33797), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-33797 · Whole record: https://cve.day/CVE-2021-33797.json · Rebuilt by cve.day 2026-11-25T22:58:08.404Z
