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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 50.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12libtie-hash-regex-perlno fix listedDEBIAN-CVE-2026-77781
Debian:13libtie-hash-regex-perlno fix listedDEBIAN-CVE-2026-77781
Debian:14libtie-hash-regex-perl1.14-3DEBIAN-CVE-2026-77781
Ubuntu:22.04:LTSlibtie-hash-regex-perlno fix listedUBUNTU-CVE-2026-77781
Ubuntu:24.04:LTSlibtie-hash-regex-perlno fix listedUBUNTU-CVE-2026-77781
Ubuntu:26.04:LTSlibtie-hash-regex-perlno fix listedUBUNTU-CVE-2026-77781
Ubuntu:26.10libtie-hash-regex-perlno fix listedUBUNTU-CVE-2026-77781

Affected products (as reported)

VendorProductVersions
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

References