{"id":"CVE-2021-33797","aliases":["DEBIAN-CVE-2021-33797","EUVD-2021-20474","GHSA-cm79-jwwm-5h7h","UBUNTU-CVE-2021-33797"],"status":"published","title":"Buffer-overflow in jsdtoa.c in Artifex MuJS in versions 1.0.1 to 1.1.1. An integer overflow...","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00809,"percentile":0.57147,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119","CWE-190"],"published":"2023-04-17T00:00:00Z","modified":"2026-10-23T18:03:15Z","fixes":[{"ecosystem":"Debian:12","package":"mujs","fixed_in":["1.1.3-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mujs","fixed_in":["1.1.3-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mujs","fixed_in":["1.1.3-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"mujs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mujs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mujs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3-2"}]}]}],"products":[{"vendor":"artifex","product":"mujs"},{"vendor":"mujs","product":"mujs"}],"references":[{"url":"https://github.com/ccxvii/mujs/issues/148","tags":["x_transferred","exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/ccxvii/mujs/commit/833b6f1672b4f2991a63c4d05318f0b84ef4d550","tags":["x_transferred","Patch","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33797"},{"url":"https://github.com/advisories/GHSA-cm79-jwwm-5h7h"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-33797","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-33797","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-33797","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-33797","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.","status":"published","published":"2023-04-17T00:00:00Z","modified":"2025-02-06T16:51:47.788Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:33:10.204494Z"}],"euvd":[{"id":"EUVD-2021-20474","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.","status":"published","published":"2023-04-17T00:00:00Z","modified":"2025-02-06T16:51:47Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T00:04:03.312509Z"}],"ghsa":[{"id":"GHSA-cm79-jwwm-5h7h","title":"Buffer-overflow in jsdtoa.c in Artifex MuJS in versions 1.0.1 to 1.1.1. An integer overflow...","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.","status":"published","published":"2023-04-18T00:31:59Z","modified":"2024-04-04T15:14:22Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-119","CWE-190"],"updated_at":"2026-11-02T14:57:03.138275Z"}],"nvd":[{"id":"CVE-2021-33797","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.","status":"published","published":"2023-04-17T22:15:07.677Z","modified":"2026-06-17T03:55:15.083Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-119","CWE-190"],"updated_at":"2026-11-02T14:07:07.764332Z"}],"osv":[{"id":"CVE-2021-33797","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.","status":"published","published":"2023-04-17T22:15:07.677Z","modified":"2026-10-20T14:09:44.626123605Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:20.13324Z"},{"id":"DEBIAN-CVE-2021-33797","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.","status":"published","published":"2023-04-17T22:15:07.677Z","modified":"2026-10-23T18:03:15.031152979Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:35.233346Z"},{"id":"UBUNTU-CVE-2021-33797","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.","status":"withdrawn","published":"2023-04-17T22:15:00Z","modified":"2025-07-16T08:15:43.722329Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:27.870979Z"}]}}
