CVE-2026-77781
published high CVSS 3.1 · 7.5Tie::Hash::Regex versions before 2.0.0 for Perl will throw an exception on unparseable lookup keys
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Tie-Hash-Regex0 to < 2.0.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Tie-Hash-Regex | 0 to < 2.0.0 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-248 CWE-248 Uncaught Exception
References
3Provider assertions
3CPANSec · cna
Tie::Hash::Regex versions before 2.0.0 for Perl will throw an exception on unparseable lookup keys
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1aa9d83eabc0d43b883b93babbc467746d5093c4fdec47f513f0335251632198
- Ingested
- 23 Sep 2026, 09:32:39 UTC
- Source record
- Official CVE record