Description
A use-after-free in onig_new_deluxe() in regext.c in Oniguruma 6.9.2 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(). Oniguruma issues often affect Ruby, as well as common optional libraries for PHP and Rust.
Remediation
References
Related Vulnerabilities
Internet Information Services Other Vulnerability (CVE-1999-0739)
WebLogic Loop with Unreachable Exit Condition ('Infinite Loop') Vulnerability (CVE-2022-23437)
WordPress Plugin Follow Me Cross-Site Request Forgery (3.1.1)
WordPress Plugin FoxyPress Multiple Vulnerabilities (0.4.2.5)
WordPress Plugin Simple Personal Message SQL Injection (1.0.3)