CVE-2025-7207
NixOS vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability was discovered in mruby versions up to 3.4.0-rc2, identified as CVE-2025-7207. The vulnerability affects the scope_new function in the file mrbgems/mruby-compiler/core/codegen.c of the nregs Handler component. The issue was disclosed on July 7, 2025, and requires local access to exploit (NVD, VulDB).

Technical details

The vulnerability is classified as a heap-based buffer overflow (CWE-122) in the scope_new function. The CVSS v3.1 base score is 3.3 (LOW) with the vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L. The CVSS v4.0 score is 4.8 (MEDIUM) with the vector CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P (NVD, VulDB).

Impact

The vulnerability impacts system availability through memory corruption. When exploited, it can lead to a heap-based buffer overflow condition, potentially resulting in application crashes or denial of service. The attack requires local access to be executed (VulDB, Red Hat).

Mitigation and workarounds

A patch has been released to address this vulnerability. The fix is identified by commit hash 1fdd96104180cc0fb5d3cb086b05ab6458911bb9. It is recommended to apply this patch to affected systems to resolve the issue (GitHub Commit, VulDB).

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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 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