vulnerability

FreeBSD: VID-f22144d7-bad1-11ec-9cfe-0800270512f4 (CVE-2022-28738): Ruby -- Double free in Regexp compilation

Severity
7
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
Apr 13, 2022
Added
Nov 4, 2022
Modified
Dec 10, 2025

Description

piao reports: Due to a bug in the Regexp compilation process, creating a Regexp object with a crafted source string could cause the same memory to be freed twice. This is known as a "double free" vulnerability. Note that, in general, it is considered unsafe to create and use a Regexp object generated from untrusted input. In this case, however, following a comprehensive assessment, we treat this issue as a vulnerability.

Solutions

freebsd-upgrade-package-rubyfreebsd-upgrade-package-ruby30freebsd-upgrade-package-ruby31freebsd-upgrade-package-ruby32
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.