Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-77781: CWE-248 Uncaught Exception

0
Medium
VulnerabilityCVE-2026-77781cvecve-2026-77781cwe-248
Published: 08/21/2026 (08/21/2026, 23:57:02 UTC)
Source: CVE Database V5

Description

Tie::Hash::Regex versions before 2.0.0 for Perl contain a vulnerability where malformed regular expression keys cause the FETCH, EXISTS, and DELETE methods to throw uncaught exceptions. This occurs because these methods compile the lookup key as a regex without proper error handling, causing the application to die if the key is invalid. This affects applications that use externally supplied strings as keys in tied hashes.

Affected software

GitHub Actionsmore threats →cve
Tie-Hash-Regex
pkg:github/Tie-Hash-Regex
Affected versions
<2.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/22/2026, 00:22:03 UTC

Technical Analysis

The Tie::Hash::Regex Perl module versions prior to 2.0.0 have a vulnerability (CWE-248) where the FETCH, EXISTS, and DELETE methods throw exceptions on malformed regular expression keys. These methods attempt to compile the caller's key using a bare qr// operator without an eval guard, so if the key is not a valid regex pattern (e.g., contains an unmatched bracket), the operation dies. This can cause applications that look up externally supplied strings in such tied hashes to terminate unexpectedly due to uncaught exceptions.

Potential Impact

Applications using Tie::Hash::Regex versions before 2.0.0 that perform lookups with externally supplied strings may crash or terminate unexpectedly when those strings are invalid regular expressions. This can lead to denial of service conditions in affected applications.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using externally supplied strings as keys in Tie::Hash::Regex tied hashes or implement input validation to ensure keys are valid regular expressions before lookup.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-08-21T11:41:39.920Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a88e84dacd9273b49ea557b

Added to database: 08/22/2026, 00:07:41 UTC

Last enriched: 08/22/2026, 00:22:03 UTC

Last updated: 08/22/2026, 00:22:03 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses