# CVE-2026-111879: DBI versions before 1.656 for Perl hang on a later open of a DBD::DBM table because a failed open_data does not release the table's lock

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-10-20T21:24:00.036Z
- Modified: 2026-10-30T13:18:28.580Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## Description

DBI versions before 1.656 for Perl hang on a later open of a DBD::DBM table because a failed open_data does not release the table's lock.

open_data creates the table's lock file and takes an exclusive flock on it for a CREATE, before the checks that can croak: a dbm_mldbm value that is not a module name, a failing tie, or a missing data file. The croak unwinds before the table object is blessed, so nothing releases the lock, and the meta data holding the open descriptor stays cached on the database handle.

The dbm_mldbm and dbm_type values come from the DSN or the connect attributes, so a caller that chooses the serializer or the storage backend can trigger the failure.

The flock has no timeout, so a later open of that table (even through a separate database handle) blocks for as long as the handle holding the stale lock lives, in the same process or any other.

(As written by CVE List.)

## Affected

- DBI: before 1.656

## References

- <https://github.com/perl5-dbi/dbi/security/advisories/GHSA-8cx8-9vj9-9x7j> (vendor-advisory)
- <https://github.com/perl5-dbi/dbi/commit/99bbf2ab9d137e6f042a770bd3bbba3bc0b3a901.patch> (patch)
- <https://metacpan.org/release/HMBRAND/DBI-1.656/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/10/20/38>

## Sources

- CVE List: [CVE-2026-111879](https://www.cve.org/CVERecord?id=CVE-2026-111879), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-111879](https://nvd.nist.gov/vuln/detail/CVE-2026-111879), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-111879 · Whole record: https://cve.day/CVE-2026-111879.json · Rebuilt by cve.day 2026-11-25T22:59:46.266Z
