
CVE catalog
CVE-2025-0306
ruby3.1: CVE-2025-0306
- Severity
- High · CVSS 7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.66% · Oct 25, 2026
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.
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 | ruby3.1 | bookworm | 3.1.2-7+deb12u1 | vulnerable |
| Debian | ruby3.1 | bookworm-security | 3.1.2-7+deb12u1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby3.1 | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
Notes
[bookworm] ruby3.1: Minor issue and requires OpenSSL 3.2, which is not in Bookworm
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libruby3.1]Affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
- [ruby3.1]Affected
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
- [ruby3.1-dev]Affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· amd64 · bookwormAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookwormAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· amd64 · bookworm-securityAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· arm64 · bookworm-securityAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
- [ruby3.1-doc]Affected
Source package: [ruby3.1]
Details (4)
3.1.2-7+deb12u1· all · bookwormAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookwormAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookworm-securityAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
3.1.2-7+deb12u1· all · bookworm-securityAffected
dsa · ruby3.1 · debian · bookworm; dsa · ruby3.1 · debian · 12
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-0306]
- [https://security-tracker.debian.org/tracker/CVE-2025-0306]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-0306.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0018.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]