---
id: CVE-2025-0306
title: A vulnerability was found in Ruby
summary: >-
  A vulnerability was found in Ruby. The Ruby interpreter is vulnerable to the
  Marvin Attack. This attack allows the attacker to decrypt previously encrypted
  messages or forge signatures by exchanging a large number of messages with the
  vu…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-385
published: '2025-01-09'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-0306'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2025-0306'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2336100'
    label: secalert@redhat.com
  - url: 'https://security.netapp.com/advisory/ntap-20250221-0009/'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00649
epssPercentile: 0.49735
ingestedAt: '2026-06-29T13:24:34.144Z'
---

## Overview

A vulnerability was found in Ruby. The Ruby interpreter is vulnerable to the Marvin Attack. This attack allows the attacker to decrypt previously encrypted messages or forge signatures by exchanging a large number of messages with the vulnerable service.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
