A use-after-free issue in the `onig new deluxe()` function in regext.c allows attackers to potentially cause information disclosure, denial of service, or possibly code execution by providing a crafted regular expression. The attacker provides a pair of a regex pattern and a string, with a multi-byte encoding that gets handled by `onig new deluxe()`. This issue may affect Ruby, as well as common optional libraries for PHP and Rust.