CVSS 3.1
8.1 highCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HHigh (8.1) in ruby erb. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in erb 4.0.3.1, 4.0.4.1, 6.0.1.1.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Herb (RubyGems): fixed in 4.0.3.1, 4.0.4.1, 6.0.1.1, 6.0.4Explain CVE-2026-41316 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-41316?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-41316?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-41316 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| ruby erb | < 4.0.3.1 |
| ruby erb | = 4.0.4 |
| ruby erb | >= 5.0.0, < 6.0.1.1 |
| ruby erb | >= 6.0.2, < 6.0.4 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-q339-8rmv-2mhv | RubyGems | erb | <4.0.3.1 | 4.0.3.1 |
| GHSA-q339-8rmv-2mhv | RubyGems | erb | >=4.0.4 <4.0.4.1 | 4.0.4.1 |
| GHSA-q339-8rmv-2mhv | RubyGems | erb | >=5.0.0 <6.0.1.1 | 6.0.1.1 |
| GHSA-q339-8rmv-2mhv | RubyGems | erb | >=6.0.2 <6.0.4 | 6.0.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | ruby2.7 | 2.7.4-1+deb11u6 | DLA-4716-1 |
| Debian | 12 | ruby3.1 | no fix listed | DEBIAN-CVE-2026-41316 |
| Debian | 13 | ruby3.3 | 3.3.13-0+deb13u1 | DEBIAN-CVE-2026-41316 DSA-6614-1 |
| Debian | 14 | ruby3.3 | no fix listed | DEBIAN-CVE-2026-41316 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 1 more | jruby | no fix listed | UBUNTU-CVE-2026-41316 |
| Ubuntu | 22.04:LTS | ruby3.0 | no fix listed | UBUNTU-CVE-2026-41316 |
| Ubuntu | 24.04:LTS | ruby3.2 | no fix listed | UBUNTU-CVE-2026-41316 |
| Ubuntu | 25.10, 26.04:LTS, 26.10 | jruby, ruby3.3 | no fix listed | UBUNTU-CVE-2026-41316 |
| Ubuntu | Pro:16.04:LTS | ruby2.3 | no fix listed | UBUNTU-CVE-2026-41316 |
| Ubuntu | Pro:18.04:LTS | ruby2.5 | no fix listed | UBUNTU-CVE-2026-41316 |
| Ubuntu | Pro:20.04:LTS | ruby2.7 | no fix listed | UBUNTU-CVE-2026-41316 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 7 more | 0:3.3.10-6.module+el8.10.0+24247+b74f0fb8 | RHSA-2026:20614 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.10.0+21226+b78a28c4 | RHSA-2026:20614 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.1.5-6.module+el8.10.0+24247+b74f0fb8 | RHSA-2026:20614 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bundler | 0:2.5.22-6.module+el8.10.0+24247+b74f0fb8 | RHSA-2026:20614 |
| Red Hat | enterprise_linux:8::appstream | rubygem-io-console, rubygem-io-console-debuginfo | 0:0.7.1-6.module+el8.10.0+24247+b74f0fb8 | RHSA-2026:20614 |
| Red Hat | enterprise_linux:8::appstream | rubygem-irb | 0:1.13.1-6.module+el8.10.0+24247+b74f0fb8 | RHSA-2026:20614 |
| Red Hat | enterprise_linux:8::appstream | rubygem-json, rubygem-json-debuginfo | 0:2.7.2-6.module+el8.10.0+24247+b74f0fb8 | RHSA-2026:20614 |
| Red Hat | enterprise_linux:8::appstream | rubygem-minitest | 0:5.20.0-6.module+el8.10.0+24247+b74f0fb8 | RHSA-2026:20614 |
| Red Hat | enterprise_linux:8::appstream | rubygem-mysql2, rubygem-mysql2-doc, rubygem-mysql2-debuginfo and 1 more | 0:0.5.5-1.module+el8.10.0+21226+b78a28c4 | RHSA-2026:20614 |
| Red Hat | enterprise_linux:8::appstream | rubygem-pg, rubygem-pg-doc, rubygem-pg-debuginfo and 1 more | 0:1.5.4-1.module+el8.10.0+21226+b78a28c4 | RHSA-2026:20614 |
| Red Hat | enterprise_linux:8::appstream | rubygem-power_assert | 0:2.0.3-6.module+el8.10.0+24247+b74f0fb8 | RHSA-2026:20614 |
| Red Hat | enterprise_linux:8::appstream | rubygem-psych, rubygem-psych-debuginfo | 0:5.1.2-6.module+el8.10.0+24247+b74f0fb8 | RHSA-2026:20614 |
| 214 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Module for Basesystem 15 SP7 | ruby2.5 | 2.5.9-150700.24.11.1 | SUSE-SU-2026:3556-1 |
| openSUSE | Leap 16.0 | ruby3.4 | 3.4.10-160000.1.1 | openSUSE-SU-2026:21878-1 |
| openSUSE | Tumbleweed | ruby4.0 | 4.0.3-1.1 | openSUSE-SU-2026:10609-1 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 3 more | 3.3.10-6.module_el8.10.0+4183+69a3c42f | ALSA-2026:20614 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.10.0+3799+191214cc | ALSA-2026:20614 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.1.5-6.module_el8.10.0+4183+69a3c42f | ALSA-2026:20614 |
| AlmaLinux | 8 | rubygem-bundler | 2.5.22-6.module_el8.10.0+4183+69a3c42f | ALSA-2026:20614 |
| AlmaLinux | 8 | rubygem-io-console | 0.7.1-6.module_el8.10.0+4183+69a3c42f | ALSA-2026:20614 |
| AlmaLinux | 8 | rubygem-irb | 1.13.1-6.module_el8.10.0+4183+69a3c42f | ALSA-2026:20614 |
| AlmaLinux | 8 | rubygem-json | 2.7.2-6.module_el8.10.0+4183+69a3c42f | ALSA-2026:20614 |
| AlmaLinux | 8 | rubygem-minitest | 5.20.0-6.module_el8.10.0+4183+69a3c42f | ALSA-2026:20614 |
| AlmaLinux | 8 | rubygem-mysql2, rubygem-mysql2-doc | 0.5.5-1.module_el8.10.0+3799+191214cc | ALSA-2026:20614 |
| AlmaLinux | 8 | rubygem-pg, rubygem-pg-doc | 1.5.4-1.module_el8.10.0+3799+191214cc | ALSA-2026:20614 |
| AlmaLinux | 8 | rubygem-power_assert | 2.0.3-6.module_el8.10.0+4183+69a3c42f | ALSA-2026:20614 |
| AlmaLinux | 8 | rubygem-psych | 5.1.2-6.module_el8.10.0+4183+69a3c42f | ALSA-2026:20614 |
| 48 more for AlmaLinux in the JSON. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | ruby-0:3.3.10-12.el10_1 | Fixed 2026-05-18 | RHSA-2026:18065 |
| Red Hat Enterprise Linux 10 | ruby4.0-0:4.0.3-34.el10_2 | Fixed 2026-05-26 | RHSA-2026:20606 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | ruby-0:3.3.10-11.el10_0.1 | Fixed 2026-06-30 | RHSA-2026:33478 |
| Red Hat Enterprise Linux 8 | ruby:3.3-8100020260428163940.489197e6 | Fixed 2026-05-26 | RHSA-2026:20614 |
| Red Hat Enterprise Linux 9 | ruby:3.3-9070020260428163621.9 | Fixed 2026-05-18 | RHSA-2026:18030 |
| Red Hat Enterprise Linux 9 | ruby-0:3.0.7-166.el9_7 | Fixed 2026-05-18 | RHSA-2026:18039 |
| Red Hat Enterprise Linux 9 | ruby:4.0-9080020260513131334.9 | Fixed 2026-05-26 | RHSA-2026:20596 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | ruby-0:3.0.4-160.2.el9_0 | Fixed 2026-05-26 | RHSA-2026:20670 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | ruby-0:3.0.4-161.el9_2.3 | Fixed 2026-07-06 | RHSA-2026:35834 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | ruby-0:3.0.7-162.el9_4.2 | Fixed 2026-06-16 | RHSA-2026:26312 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | ruby:3.3-9040020260520083544.9 | Fixed 2026-06-17 | RHSA-2026:26655 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | ruby-0:3.0.7-165.el9_6.1 | Fixed 2026-06-30 | RHSA-2026:33462 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | ruby:3.3-9060020260630075016.9 | Fixed 2026-07-09 | RHSA-2026:37238 |
| Red Hat Enterprise Linux 6 | ruby | Not affected | |
| Red Hat Enterprise Linux 7 | ruby | Not affected | |
| Red Hat Enterprise Linux 8 | ruby:2.5/ruby | Not affected | |
| Red Hat Hardened Images | ruby3.3 | Not affected | |
| Red Hat Hardened Images | ruby3.4 | Not affected | |
| Red Hat Hardened Images | ruby4.0 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-41316.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-693 (17).