The Fiddle::Handle implementation in ext/fiddle/handle.c in Ruby before 2.0.0-p648, 2.1…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 8 fixed, 7 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.
Summary
The Fiddle::Handle implementation in ext/fiddle/handle.c in Ruby before 2.0.0-p648, 2.1 before 2.1.8, and 2.2 before 2.2.4, as distributed in Apple OS X before 10.11.4 and other products, mishandles tainting, which allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via a crafted string, related to the DL module and the libffi library. NOTE: this vulnerability exists because of a CVE-2009-5147 regression.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 14
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* | up to 10.11.3 | Vulnerable | Apple |
| cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* | up to 2.0.0-p647 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:2.1.0:*:*:*:*:*:*:* | 2.1.0 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:2.1.1:*:*:*:*:*:*:* | 2.1.1 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:2.1.2:*:*:*:*:*:*:* | 2.1.2 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:2.1.3:*:*:*:*:*:*:* | 2.1.3 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:2.1.4:*:*:*:*:*:*:* | 2.1.4 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:2.1.5:*:*:*:*:*:*:* | 2.1.5 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:2.1.6:*:*:*:*:*:*:* | 2.1.6 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:2.1.7:*:*:*:*:*:*:* | 2.1.7 | Vulnerable | ruby |
- cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* Versions up to 10.11.3 Vulnerable ·Apple
- cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* Versions up to 2.0.0-p647 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:2.1.0:*:*:*:*:*:*:* Versions 2.1.0 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:2.1.1:*:*:*:*:*:*:* Versions 2.1.1 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:2.1.2:*:*:*:*:*:*:* Versions 2.1.2 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:2.1.3:*:*:*:*:*:*:* Versions 2.1.3 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:2.1.4:*:*:*:*:*:*:* Versions 2.1.4 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:2.1.5:*:*:*:*:*:*:* Versions 2.1.5 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:2.1.6:*:*:*:*:*:*:* Versions 2.1.6 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:2.1.7:*:*:*:*:*:*:* Versions 2.1.7 Vulnerable ·ruby
Show 4 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ruby-lang:ruby:2.2.0:*:*:*:*:*:*:* | 2.2.0 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:2.2.1:*:*:*:*:*:*:* | 2.2.1 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:* | 2.2.2 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:2.2.3:*:*:*:*:*:*:* | 2.2.3 | Vulnerable | ruby |
- cpe:2.3:a:ruby-lang:ruby:2.2.0:*:*:*:*:*:*:* Versions 2.2.0 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:2.2.1:*:*:*:*:*:*:* Versions 2.2.1 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:* Versions 2.2.2 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:2.2.3:*:*:*:*:*:*:* Versions 2.2.3 Vulnerable ·ruby
Remediation
Red Hat 4 advisories
- RHSA-2026:8838 Released 2026-04-17 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby4.0-4.0.0-33.3.hum1@aarch64, ruby4.0-4.0.0-33.3.hum1@src, ruby4.0-4.0.0-33.3.hum1@x86_64 +10
- RHSA-2026:7307 Released 2026-04-09 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby3.4-3.4.8-31.1.hum1@aarch64, ruby3.4-3.4.8-31.1.hum1@src, ruby3.4-3.4.8-31.1.hum1@x86_64 +10
- RHSA-2026:7305 Released 2026-04-09 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby3.3-3.3.10-23.1.hum1@aarch64, ruby3.3-3.3.10-23.1.hum1@src, ruby3.3-3.3.10-23.1.hum1@x86_64 +10
Show 1 more Red Hat advisories
- RHSA-2018:0583 Released 2018-03-26 · Red Hat rating Importantrh-ruby22-ruby security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ruby22-ruby-2.2.9-19.el6, rh-ruby22-ruby-devel-2.2.9-19.el6, rh-ruby22-ruby-doc-2.2.9-19.el6 +14
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby22-ruby-2.2.9-19.el7, rh-ruby22-ruby-devel-2.2.9-19.el7, rh-ruby22-ruby-doc-2.2.9-19.el7 +14
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-ruby22-ruby-2.2.9-19.el6, rh-ruby22-ruby-devel-2.2.9-19.el6, rh-ruby22-ruby-doc-2.2.9-19.el6 +14
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-ruby22-ruby-2.2.9-19.el7, rh-ruby22-ruby-devel-2.2.9-19.el7, rh-ruby22-ruby-doc-2.2.9-19.el7 +14
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby22-ruby-2.2.9-19.el7, rh-ruby22-ruby-devel-2.2.9-19.el7, rh-ruby22-ruby-doc-2.2.9-19.el7 +14
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ruby22-ruby-2.2.9-19.el6, rh-ruby22-ruby-devel-2.2.9-19.el6, rh-ruby22-ruby-doc-2.2.9-19.el6 +14
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby22-ruby-2.2.9-19.el7, rh-ruby22-ruby-devel-2.2.9-19.el7, rh-ruby22-ruby-doc-2.2.9-19.el7 +14
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| CloudForms Management Engine 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 4 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Subscription Asset Manager | Affected | No fix planned: Will not fix |
| Red Hat Hardened Images | Fixed | RHSA-2026:7305, RHSA-2026:7307, RHSA-2026:8838 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2018:0583 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:0583 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) | Fixed | RHSA-2018:0583 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) | Fixed | RHSA-2018:0583 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2018:0583 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2018:0583 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:0583 |
Not affected: 1 product
- Red Hat Hardened Images
Timeline
- 2026-10-02 Threatist record created from CVE-2015-7551
- 2026-10-03 Alias added: GHSA-m9xr-x5mq-4fp5
- 2026-11-06 Affected versions changed · Red Hat
References
Other 6
- https://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-7551.html
- https://github.com/ruby/ruby/commit/339e11a7f178312d937b7c95dd3115ce7236597a
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796344
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796551
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- https://puppet.com/security/cve/ruby-dec-2015-security-fixes
Sources
- CVE-2015-7551 · CVE Program
- CVE-2015-7551 · NVD
- FIRST EPSS
- GHSA-m9xr-x5mq-4fp5 · GitHub Advisory Database · CC BY 4.0
- CVE-2015-7551 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences