CVE-2024-24258
NixOS vulnerability analysis and mitigation

Overview

A memory leak vulnerability was discovered in freeglut 3.4.0, specifically in the glutAddSubMenu function where the menuEntry variable is allocated memory but not properly released (GitHub PR, MuPDF Defects). The vulnerability was initially reported against MuPDF v1.23.9 but was later corrected to affect freeglut, which is an open-source alternative to the OpenGL Utility Toolkit (GLUT) library.

Technical details

The vulnerability is tracked as CVE-2024-24258 with a CVSS v3.1 base score of 7.5 (High). The issue occurs in the glutAddSubMenu function where if fgStructure.CurrentMenu is set, the allocated menuEntry variable will leak memory. The vulnerability is classified as CWE-401 (Missing Release of Memory after Effective Lifetime) (NVD).

Impact

While classified with a high CVSS score, the practical impact appears to be limited to memory leaks that could potentially lead to resource exhaustion and availability issues. The vulnerability affects the availability of the system but does not impact confidentiality or integrity (NVD).

Mitigation and workarounds

A fix has been implemented that postpones allocating the menuEntry variable until after the error checks, thereby preventing the memory leak. The fix is available in the freeglut repository through a pull request. Fedora has released security updates for affected versions (freeglut-3.4.0-7.fc38 and freeglut-3.4.0-7.fc39) to address this vulnerability (Fedora Update).

Community reactions

The severity classification of this vulnerability as 'High' has been questioned by the development community. The freeglut maintainer noted that it's unclear why a memory leak would be classified as a high-severity vulnerability, though they acknowledged the importance of fixing such issues (GitHub PR).

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-2026-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-0821MEDIUM6.9
  • NixOSNixOS
  • quickjs
NoNoJan 10, 2026
CVE-2025-68949MEDIUM5.3
  • NixOSNixOS
  • n8n
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026
CVE-2026-23497LOW1.3
  • NixOSNixOS
  • learning
NoYesJan 14, 2026

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