
CVE catalog
CVE-2025-7207
mruby: CVE-2025-7207
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.26% · Oct 25, 2026
A vulnerability, which was classified as problematic, was found in mruby up to 3.4.0-rc2. Affected is the function scope_new of the file mrbgems/mruby-compiler/core/codegen.c of the component nregs Handler. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The name of the patch is 1fdd96104180cc0fb5d3cb086b05ab6458911bb9. It is recommended to apply a patch to fix this issue.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mruby | sid | 4.0.0-1 | fixed |
| Debian | mruby | forky | 4.0.0-1 | fixed |
| Debian | mruby | trixie | 3.3.0-1 | vulnerable |
| Debian | mruby | bookworm | 3.1.0-3 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mruby | source | sid | 3.4.0-2 | not yet assigned | Not reported | [1109338] |
| Debian | mruby | source | forky | 3.4.0-2 | not yet assigned | Not reported | [1109338] |
| Debian | mruby | source | trixie | (unfixed) | not yet assigned | Not reported | [1109338] |
| Debian | mruby | source | bookworm | (unfixed) | not yet assigned | Not reported | [1109338] |
Notes
[trixie] mruby: Minor issue [bookworm] mruby: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libmruby-dev]Affected
Source package: [mruby]
Details (2)
3.1.0-3· amd64 · bookwormAffected
dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
3.1.0-3· arm64 · bookwormAffected
dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
- [mruby]Affected
Details (2)
3.1.0-3· amd64 · bookwormAffected
dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
3.1.0-3· arm64 · bookwormAffected
dsa · mruby · debian · bookworm; dsa · mruby · debian · 12
[Debian 13 (Trixie)]
- [libmruby-dev]Affected
Source package: [mruby]
Details (2)
3.3.0-1· amd64 · trixieAffected
dsa · mruby · debian · 13
3.3.0-1+b1· arm64 · trixieAffected
dsa · mruby · debian · 13
- [mruby]Affected
Source package: [mruby]
Details (2)
3.3.0-1· amd64 · trixieAffected
dsa · mruby · debian · 13
3.3.0-1+b1· arm64 · trixieAffected
dsa · mruby · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2025_15333-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-7207]
- [https://security-tracker.debian.org/tracker/CVE-2025-7207]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-7207.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]