CVE-2022-30975
In Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as...
In Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as demonstrated by mujs-pp.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
In Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as demonstrated by mujs-pp.
- Record
CVE-2022-30975- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
In Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as demonstrated by mujs-pp.
- Record
CVE-2022-30975- Updated
- 2026-11-02
EUVDEUVD-2022-52691 No score
In Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as demonstrated by mujs-pp.
- Record
EUVD-2022-52691- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cwrv-3m9h-vr76
5.5
In Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as...
In Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as demonstrated by mujs-pp.
- Record
GHSA-cwrv-3m9h-vr76- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-30975
5.5
In Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as demonstrated by mujs-pp.
- Record
ALPINE-CVE-2022-30975- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVOESA-2022-1976
9.8
mujs security update
MuJS is a lightweight Javascript interpreter designed for embedding in other software to extend them with scripting capabilities.
Security Fix(es):
In Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as demonstrated by mujs-pp.(CVE-2022-30975)
compile in regexp.c in Artifex MuJS through 1.2.0 results in stack consumption because of unlimited recursion, a different issue than CVE-2019-11413.(CVE-2022-30974)
A use-after-free vulnerability was observed in Rp_toString function of Artifex Software, Inc. MuJS before 5c337af4b3df80cf967e4f9f6a21522de84b392a. A successful exploitation of this issue can lead to code execution or denial of service condition.(CVE-2016-7504)
Integer overflow in the js_regcomp function in regexp.c in Artifex Software, Inc. MuJS before commit b6de34ac6d8bb7dd5461c57940acfbd3ee7fd93e allows attackers to cause a denial of service (application crash) via a crafted regular expression.(CVE-2016-9108)
An issue was discovered in Artifex Software, Inc. MuJS before 4006739a28367c708dea19aeb19b8a1a9326ce08. The jsR_setproperty function in jsrun.c lacks a check for a negative array length. This leads to an integer overflow in the js_pushstring function in jsrun.c when parsing a specially crafted JS file.(CVE-2017-5627)
An out-of-bounds read vulnerability was observed in Sp_replace_regexp function of Artifex Software, Inc. MuJS before 5000749f5afe3b956fc916e407309de840997f4a. A successful exploitation of this issue can lead to code execution or denial of service condition.(CVE-2016-7506)
Artifex Software, Inc. MuJS before a5c747f1d40e8d6659a37a8d25f13fb5acf8e767 allows context-dependent attackers to obtain sensitive information by using the "opname in crafted JavaScript file" approach, related to an "Out-of-Bounds read" issue affecting the jsC_dumpfunction function in the jsdump.c component.(CVE-2016-9017)
An issue was discovered in Artifex Software, Inc. MuJS before 8f62ea10a0af68e56d5c00720523ebcba13c2e6a. The MakeDay function in jsdate.c does not validate the month, leading to an integer overflow when parsing a specially crafted JS file.(CVE-2017-5628)
An integer overflow vulnerability was observed in the regemit function in regexp.c in Artifex Software, Inc. MuJS before fa3d30fd18c348bb4b1f3858fb860f4fcd4b2045. The attack requires a regular expression with nested repetition. A successful exploitation of this issue can lead to code execution or a denial of service (buffer overflow) condition.(CVE-2016-10141)
Artifex Software, Inc. MuJS before a0ceaf5050faf419401fe1b83acfa950ec8a8a89 allows context-dependent attackers to obtain sensitive information by using the "crafted JavaScript" approach, related to a "Buffer Over-read" issue.(CVE-2016-9136)
- Record
OESA-2022-1976- 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 - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2022-30975
5.5
In Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as demonstrated by mujs-pp.
- Record
UBUNTU-CVE-2022-30975- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV No score
In Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as demonstrated by mujs-pp.
- Record
CVE-2022-30975- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-30975 No score
In Artifex MuJS through 1.2.0, jsP_dumpsyntax in jsdump.c has a NULL pointer dereference, as demonstrated by mujs-pp.
- Record
DEBIAN-CVE-2022-30975- Updated
- 2026-11-03
OSVUSN-7575-1 No score
mujs vulnerabilities
It was discovered that MuJS did not correctly handle try/finally statements, which could lead to a buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2021-45005)
Han Zheng discovered that MuJS did not correctly handle recursion, which could lead to stack exhaustion. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-30974)
Han Zheng discovered that MuJS did not correctly handle certain memory operations. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-30975)
- Record
USN-7575-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mujsAlpine:v3.17 |
before 1.3.0-r0 | 1.3.0-r0 |
mujsAlpine:v3.18 |
before 1.3.0-r0 | 1.3.0-r0 |
mujsAlpine:v3.19 |
before 1.3.0-r0 | 1.3.0-r0 |
mujsAlpine:v3.20 |
before 1.3.0-r0 | 1.3.0-r0 |
mujsAlpine:v3.21 |
before 1.3.0-r0 | 1.3.0-r0 |
mujsAlpine:v3.22 |
before 1.3.0-r0 | 1.3.0-r0 |
mujsAlpine:v3.23 |
before 1.3.0-r0 | 1.3.0-r0 |
mujsAlpine:v3.24 |
before 1.3.0-r0 | 1.3.0-r0 |
mujsDebian:12 |
before 1.2.0-3 | 1.2.0-3 |
mujsDebian:13 |
before 1.2.0-3 | 1.2.0-3 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mujsDebian:14 |
before 1.2.0-3 | 1.2.0-3 |
mujsDebian:11 From an advisory covering 3 CVEs |
before 1.1.0-1+deb11u2, plus listed versions 1.1.0-11.1.0-1+deb11u1 |
1.1.0-1+deb11u2 |
mujsopenEuler:22.03-LTS From an advisory covering 10 CVEs |
before 1.2.0-2.oe2203 | 1.2.0-2.oe2203 |
mujsUbuntu:Pro:22.04:LTS |
before 1.1.3-3ubuntu0.1~esm1, plus listed versions 1.1.0-11.1.3-21.1.3-3 |
1.1.3-3ubuntu0.1~esm1 |
mujsUbuntu:Pro:22.04:LTS From an advisory covering 3 CVEs |
before 1.1.3-3ubuntu0.1~esm1, plus listed versions 1.1.0-11.1.3-21.1.3-3 |
1.1.3-3ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-30975 is a medium vulnerability (CVSS 5.5) in Artifex Mujs, published May 18, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.15%, the 66th percentile. Fixed in mujs 1.3.0-r0.
References
github.com/ccxvii/mujs/issues/161
debian.org/security/2022/dsa-5291
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MC6PLHTXHZ7GW7QQGTLBHLXL47UHTHXO
nvd.nist.gov/vuln/detail/CVE-2022-30975
lists.fedoraproject.org/archives/list/[email protected]/message/MC6PLHTXHZ7GW7QQGTLBHLXL47UHTHXO
github.com/advisories/GHSA-cwrv-3m9h-vr76
Show 18 moreShow less
security.alpinelinux.org/vuln/CVE-2022-30975
github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30975.json
security-tracker.debian.org/tracker/CVE-2022-30975
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1976
nvd.nist.gov/vuln/detail/CVE-2022-30974
nvd.nist.gov/vuln/detail/CVE-2016-7504
nvd.nist.gov/vuln/detail/CVE-2016-9108
nvd.nist.gov/vuln/detail/CVE-2017-5627
nvd.nist.gov/vuln/detail/CVE-2016-7506
nvd.nist.gov/vuln/detail/CVE-2016-9017
nvd.nist.gov/vuln/detail/CVE-2017-5628
nvd.nist.gov/vuln/detail/CVE-2016-10141
nvd.nist.gov/vuln/detail/CVE-2016-9136
ubuntu.com/security/CVE-2022-30975
cve.org/CVERecord?id=CVE-2022-30975
ubuntu.com/security/notices/USN-7575-1
ubuntu.com/security/CVE-2021-45005
ubuntu.com/security/CVE-2022-30974