CVE-2022-28738

Ruby: Double free in Regexp compilation

Published May 9, 2022 CVSS 3.1 · 9.8 Critical EPSS 3.1% KEV · Not listed
Description
A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2. If a victim attempts to create a Regexp from untrusted user input, an attacker may be able to write to unexpected memory locations.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-5462-1 Ruby vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 6:03 AM
Reserved
Apr 6, 2022, 12:00 AM
Status
Modified
Published
May 9, 2022, 6:15 PM
Modified
Jun 17, 2026, 4:38 AM
Severity
Moderate
Public date
Apr 14, 2022, 12:00 AM