Vulnerability · Published Aug 21, 2026 · Assigned by CPANSec
CVE-2026-77781Tie::Hash::Regex versions before 2.0.0 for Perl will throw an exception on unparseable lookup keys
High 7.5
In plain English
A high-severity security flaw in Tie-Hash-Regex. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libtie-hash-regex-perl | no fix listed | DEBIAN-CVE-2026-77781 |
| Debian:13 | libtie-hash-regex-perl | no fix listed | DEBIAN-CVE-2026-77781 |
| Debian:14 | libtie-hash-regex-perl | 1.14-3 | DEBIAN-CVE-2026-77781 |
| Ubuntu:22.04:LTS | libtie-hash-regex-perl | no fix listed | UBUNTU-CVE-2026-77781 |
| Ubuntu:24.04:LTS | libtie-hash-regex-perl | no fix listed | UBUNTU-CVE-2026-77781 |
| Ubuntu:26.04:LTS | libtie-hash-regex-perl | no fix listed | UBUNTU-CVE-2026-77781 |
| Ubuntu:26.10 | libtie-hash-regex-perl | no fix listed | UBUNTU-CVE-2026-77781 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Tie-Hash-Regex | 0 – before 2.0.0 |
Weakness: CWE-248 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H