CVE-2023-31973
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-31973 is a use-after-free vulnerability discovered in YASM version 1.3.0, specifically in the expandmmacparams function within the /nasm/nasm-pp.c file. The vulnerability was disclosed on May 9, 2023. It's worth noting that this vulnerability is currently marked as disputed, with multiple third parties contesting its classification as a security vulnerability according to the YASM security policy (NVD).

Technical details

The vulnerability is classified as a Missing Release of Memory after Effective Lifetime (CWE-401) issue. The CVSS v3.1 base score is 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. However, CISA-ADP has assessed it with a higher CVSS score of 7.8 (High) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The issue specifically occurs in the expandmmacparams function where memory is accessed after being freed (NVD, GitHub Issue).

Impact

The vulnerability can lead to a heap-use-after-free condition when processing certain inputs. When exploited, it could potentially cause program crashes or denial of service conditions. The issue affects the memory handling capabilities of YASM, potentially compromising the stability and security of the assembly process (GitHub Issue).

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