{"api_version":"1","generated_at":"2026-08-22T06:15:01+00:00","cve":"CVE-2026-77781","urls":{"html":"https://cve.report/CVE-2026-77781","api":"https://cve.report/api/cve/CVE-2026-77781.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-77781","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-77781"},"summary":{"title":"Tie::Hash::Regex versions before 2.0.0 for Perl will throw an exception on unparseable lookup keys","description":"Tie::Hash::Regex versions before 2.0.0 for Perl will throw an exception on unparseable lookup keys.\n\nThe FETCH, EXISTS and DELETE methods throw an exception when on malformed regular expressions.\n\nEach 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.\n\nAn application that looks up externally supplied strings in a tied hash will die on an invalid key.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-08-22 00:16:46","updated_at":"2026-08-22 04:18:18"},"problem_types":["CWE-248","CWE-248 CWE-248 Uncaught Exception"],"metrics":[],"references":[{"url":"https://metacpan.org/release/DAVECROSS/Tie-Hash-Regex-2.0.0/source/Changes","name":"https://metacpan.org/release/DAVECROSS/Tie-Hash-Regex-2.0.0/source/Changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/davorg-cpan/tie-hash-regex/commit/4239732cb76233543e2ded8ff5e0f238af152e0c.patch","name":"https://github.com/davorg-cpan/tie-hash-regex/commit/4239732cb76233543e2ded8ff5e0f238af152e0c.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/08/22/2","name":"http://www.openwall.com/lists/oss-security/2026/08/22/2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-77781","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77781","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to Tie::Hash::Regex version 2.0.0 or later.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"For deployments that cannot be upgraded, ensure that calls to check the existence of keys, fetch values from keys or delete keys are wrapped in an eval block.","time":"","lang":"en"}],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-08-22T04:12:19.600Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/08/22/2"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Tie::Hash::Regex"],"packageName":"Tie-Hash-Regex","packageURL":"pkg:cpan/Tie-Hash-Regex","programFiles":["lib/Tie/Hash/Regex.pm"],"programRoutines":[{"name":"Tie::Hash::Regex::FETCH"},{"name":"Tie::Hash::Regex::EXISTS"},{"name":"Tie::Hash::Regex::DELETE"}],"repo":"https://github.com/davorg-cpan/tie-hash-regex","versions":[{"lessThan":"2.0.0","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"Tie::Hash::Regex versions before 2.0.0 for Perl will throw an exception on unparseable lookup keys.\n\nThe FETCH, EXISTS and DELETE methods throw an exception when on malformed regular expressions.\n\nEach 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.\n\nAn application that looks up externally supplied strings in a tied hash will die on an invalid key."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-248","description":"CWE-248 Uncaught Exception","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-08-21T23:57:02.918Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["release-notes"],"url":"https://metacpan.org/release/DAVECROSS/Tie-Hash-Regex-2.0.0/source/Changes"},{"tags":["patch"],"url":"https://github.com/davorg-cpan/tie-hash-regex/commit/4239732cb76233543e2ded8ff5e0f238af152e0c.patch"}],"solutions":[{"lang":"en","value":"Upgrade to Tie::Hash::Regex version 2.0.0 or later."}],"source":{"discovery":"UNKNOWN"},"title":"Tie::Hash::Regex versions before 2.0.0 for Perl will throw an exception on unparseable lookup keys","workarounds":[{"lang":"en","value":"For deployments that cannot be upgraded, ensure that calls to check the existence of keys, fetch values from keys or delete keys are wrapped in an eval block."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-77781","datePublished":"2026-08-21T23:57:02.918Z","dateReserved":"2026-08-21T11:41:39.920Z","dateUpdated":"2026-08-22T04:12:19.600Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-22 00:16:46","lastModifiedDate":"2026-08-22 04:18:18","problem_types":["CWE-248","CWE-248 CWE-248 Uncaught Exception"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"77781","Ordinal":"1","Title":"Tie::Hash::Regex versions before 2.0.0 for Perl will throw an ex","CVE":"CVE-2026-77781","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"77781","Ordinal":"1","NoteData":"Tie::Hash::Regex versions before 2.0.0 for Perl will throw an exception on unparseable lookup keys.\n\nThe FETCH, EXISTS and DELETE methods throw an exception when on malformed regular expressions.\n\nEach 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.\n\nAn application that looks up externally supplied strings in a tied hash will die on an invalid key.","Type":"Description","Title":"Tie::Hash::Regex versions before 2.0.0 for Perl will throw an ex"}]}}}