CVE-2022-30974
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-30974 affects Artifex MuJS through version 1.2.0. The vulnerability exists in the compile function within regexp.c, which results in stack consumption due to unlimited recursion. This is a distinct issue from CVE-2019-11413. The vulnerability was discovered and disclosed on May 18, 2022 (NVD).

Technical details

The vulnerability occurs in the compile function within regexp.c of MuJS. When parsing a crafted JavaScript file, the function enters into an unlimited recursive state, leading to stack exhaustion. This was confirmed through testing with Address Sanitizer (ASan) which showed stack overflow errors occurring in the compile function (GitHub Issue).

Impact

When exploited, this vulnerability can lead to a denial of service condition through stack exhaustion. The attack requires local access and user interaction to trigger the vulnerability (AttackerKB).

Mitigation and workarounds

The vulnerability has been patched in newer versions of MuJS. Debian has fixed this issue in version 1.1.0-1+deb11u2 for the stable distribution (bullseye), and Fedora has addressed it in version 1.3.2-1.fc37 (Debian Security, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • rhel10::thunderbird-flatpak
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management