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).

Exploitability

A proof-of-concept exploit has been publicly disclosed and is available. The vulnerability can be triggered through specially crafted input, though it requires local access to exploit. The attack complexity is considered low, making it relatively straightforward to exploit once local access is obtained (VulDB, GitHub Issue).

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

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

mruby

Affected

sid

mruby: 3.4.0-2

Fixed

trixie

mruby

Affected

Ubuntu

Unknown

bionic (esm-apps)

mruby

Unknown

devel

mruby

Unknown

focal (esm-apps)

mruby

Unknown

jammy

mruby

Unknown

jammy (esm-apps)

mruby

Unknown

noble

mruby

Unknown

noble (esm-apps)

mruby

Unknown

resolute

mruby

Unknown

RHEL / CentOS

Unknown

Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-116199CRITICAL9.2
  • NixOS logoNixOS
  • cpe:2.3:a:snipeitapp:snipe-it
NoYesOct 25, 2026
CVE-2026-116201HIGH8.7
  • NixOS logoNixOS
  • cpe:2.3:a:snipeitapp:snipe-it
NoYesOct 25, 2026
CVE-2026-116200HIGH8.2
  • NixOS logoNixOS
  • cpe:2.3:a:snipeitapp:snipe-it
NoYesOct 25, 2026
CVE-2026-2270MEDIUM5.9
  • NixOS logoNixOS
  • kubernetes
NoYesOct 26, 2026
CVE-2026-76654MEDIUM5.8
  • NixOS logoNixOS
  • cpe:2.3:a:kubernetes:kubernetes
NoYesOct 26, 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

Additional Wiz resources

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