CVE catalog

CVE-2025-7207

mruby: CVE-2025-7207

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianmrubysid4.0.0-1fixed
Debianmrubyforky4.0.0-1fixed
Debianmrubytrixie3.3.0-1vulnerable
Debianmrubybookworm3.1.0-3vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmrubysourcesid3.4.0-2not yet assignedNot reported[1109338]
Debianmrubysourceforky3.4.0-2not yet assignedNot reported[1109338]
Debianmrubysourcetrixie(unfixed)not yet assignedNot reported[1109338]
Debianmrubysourcebookworm(unfixed)not yet assignedNot reported[1109338]

[Debian bug #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 · bookworm

      Affected

      dsa · mruby · debian · bookworm; dsa · mruby · debian · 12

    • 3.1.0-3 · arm64 · bookworm

      Affected

      dsa · mruby · debian · bookworm; dsa · mruby · debian · 12

  • [mruby]Affected
    Details (2)
    • 3.1.0-3 · amd64 · bookworm

      Affected

      dsa · mruby · debian · bookworm; dsa · mruby · debian · 12

    • 3.1.0-3 · arm64 · bookworm

      Affected

      dsa · mruby · debian · bookworm; dsa · mruby · debian · 12

[Debian 13 (Trixie)]

  • [libmruby-dev]Affected

    Source package: [mruby]

    Details (2)
    • 3.3.0-1 · amd64 · trixie

      Affected

      dsa · mruby · debian · 13

    • 3.3.0-1+b1 · arm64 · trixie

      Affected

      dsa · mruby · debian · 13

  • [mruby]Affected

    Source package: [mruby]

    Details (2)
    • 3.3.0-1 · amd64 · trixie

      Affected

      dsa · mruby · debian · 13

    • 3.3.0-1+b1 · arm64 · trixie

      Affected

      dsa · mruby · debian · 13

Observed:

References