Tie::Hash::Regex versions before 2.0.0 for Perl will throw an exception on unparseable lookup keys.
The FETCH, EXISTS and DELETE methods throw an exception when on malformed regular expressions.
Each method falls back to a regex match when the key is not already stored in the hash, compiling the caller's key with a bare qr// and no eval guard. A key that is not a valid regular expression pattern, such as a single unmatched bracket, dies.
An application that looks up externally supplied strings in a tied hash will die on an invalid key.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-08-22 00:16
Updated : 2026-08-27 20:18
NVD link : CVE-2026-77781
Mitre link : CVE-2026-77781
CVE.ORG link : CVE-2026-77781
JSON object : View
Products Affected
No product.
CWE
CWE-248
Uncaught Exception
