CVE-2025-62609
Python vulnerability analysis and mitigation

Overview

CVE-2025-62609 is a vulnerability discovered in MLX library affecting versions <=0.29.3, disclosed on November 21, 2025. The vulnerability involves a wild pointer dereference in the load_gguf() function when loading GGUF files, which can lead to application crashes (GitHub Advisory). The issue has been assigned a moderate severity rating with a CVSSv3 score of 5.3 (Red Hat Security).

Technical details

The vulnerability exists in mlx/io/gguf.cpp within the extracttensordata() function at lines 59-79. The issue stems from an untrusted pointer from the external gguflib library being dereferenced without proper validation during a memcpy operation. The vulnerable code performs a memory copy operation using tensor->weights_data without validating the pointer, which can result in a segmentation fault when processing maliciously crafted GGUF files (GitHub Advisory).

Impact

When exploited, this vulnerability results in a segmentation fault that cannot be caught by exception handlers. The issue affects MLX users on all platforms who call the vulnerable method with unsanitized input, particularly when processing GGUF files from untrusted sources (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 0.29.4. The fix includes adding pointer validation before the memcpy operation by checking if tensor->weights_data is NULL and throwing a runtime error if the validation fails (GitHub Advisory).

Community reactions

The vulnerability was discovered and reported by security researchers from ARIMLABS, including Markiyan Melnyk, Mykyta Mudryi, and Markiyan Chaklosh (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65106HIGH8.3
  • PythonPython
  • open-webui
NoYesNov 21, 2025
GHSA-m449-cwjh-6pw7MEDIUM6.6
  • PythonPython
  • pypdf
NoYesNov 24, 2025
CVE-2025-62609MEDIUM5.5
  • PythonPython
  • mlx
NoYesNov 21, 2025
CVE-2025-62608MEDIUM5.5
  • PythonPython
  • mlx
NoYesNov 21, 2025
GHSA-j4gv-6x9v-v23gLOW1.3
  • PythonPython
  • omero-web
NoYesNov 24, 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