Skip to content
OpenAdvisories
High · 7.5 CVE-2026-77781 EUVD-2026-64205GHSA-fwmp-gxj5-29mj

Tie::Hash::Regex versions before 2.0.0 for Perl will throw an exception on unparseable lookup keys

Published Aug 21, 2026 · Updated Aug 27, 2026 · Assigned by CPANSec

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 products

VendorProductAffectedFixed
— Tie-Hash-Regex < 2.0.0 2.0.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libtie-hash-regex-perl 1.14-3 —
Debian 13 libtie-hash-regex-perl No fix yet —
Debian 12 libtie-hash-regex-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libtie-hash-regex-perl No fix yet —
Ubuntu 26.04 LTS libtie-hash-regex-perl No fix yet —
Ubuntu 24.04 LTS libtie-hash-regex-perl No fix yet —
Ubuntu 22.04 LTS libtie-hash-regex-perl No fix yet —
Ubuntu 20.04 LTS libtie-hash-regex-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libtie-hash-regex-perl No fix yet —
Ubuntu 16.04 LTS libtie-hash-regex-perl No fix yet —

References