erb (RubyGems)

Known vulnerabilities and malicious package reports for erb on RubyGems, live from OSV, with CISA KEV exploitation status and EPSS scores.

Known package reports

0 malicious package reports and 1 vulnerability returned by OSV. Check a specific version to see which reports apply.

GHSA-q339-8rmv-2mhv: Vulnerability

ERB has an @_init deserialization guard bypass via def_module / def_method / def_class

Published .

Updated .

Affected ranges: introduced 0, fixed 4.0.3.1; introduced 4.0.4, fixed 4.0.4.1; introduced 5.0.0, fixed 6.0.1.1; introduced 6.0.2, fixed 6.0.4.

Fix versions reported by the advisory: 4.0.3.1, 4.0.4.1, 6.0.1.1, 6.0.4.

Severity: HIGH.

CVE-2026-41316

Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.