CVE-2023-31972
NixOS vulnerability analysis and mitigation

Overview

A use-after-free vulnerability was discovered in YASM version 1.3.0 (CVE-2023-31972), identified in the pp_getline function within the /nasm/nasm-pp.c file. The vulnerability was reported on March 1, 2023. However, multiple third parties have disputed this as a bug rather than a vulnerability according to the YASM security policy (NVD, GitHub Issue).

Technical details

The vulnerability manifests as a heap use-after-free condition in the pp_getline function of the NASM preprocessor component. When triggered, it results in a read operation of size 4 at a previously freed memory location. The issue was discovered through testing with AddressSanitizer, which detected the invalid memory access. The CVSS v3.1 base score is 5.5 (MEDIUM), with a vector string of CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability could potentially lead to program crashes or denial of service conditions when processing certain input files. However, there are no reported impacts on confidentiality or integrity of the system (NVD).

Community reactions

The vulnerability has been disputed by multiple third parties who argue that this should be classified as a bug rather than a security vulnerability according to the YASM security policy (NVD).

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-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48639HIGH7.3
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 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