UBUNTU-CVE-2026-67986

Source
https://ubuntu.com/security/CVE-2026-67986
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-67986.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-67986
Upstream
  • CVE-2026-67986
Published
2026-08-13T14:17:00Z
Modified
2026-10-17T13:00:39Z
Severity
  • 8.4 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

amazing-print/amazing_print at commit dc890dfafdf07088ea901df53c19c2710e5c5234 contains a Ruby code injection condition in AwesomeMethodArray#grep. A specially named method containing Ruby interpolation syntax can be interpolated into a dynamically constructed eval string when grep is called with a block, resulting in Ruby code execution in the host process. Exploitation requires an application path that allows an attacker to influence dynamic method names.

References

Affected packages

Ubuntu:26.10 / ruby-amazing-print

Package

Name
ruby-amazing-print
Purl
pkg:deb/ubuntu/ruby-amazing-print?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.0-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "ruby-amazing-print",
            "binary_version":  "2.0.0-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-67986.json"