Vulnerability · Published Oct 20, 2026 · Assigned by CPANSec

CVE-2026-111879DBI 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

Medium 6.5

In plain English

A medium-severity security flaw in DBI. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 74.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libdbi-perlno fix listedDEBIAN-CVE-2026-111879
Debian:13libdbi-perlno fix listedDEBIAN-CVE-2026-111879
Debian:14libdbi-perl1.656-1DEBIAN-CVE-2026-111879
Ubuntu:22.04:LTSlibdbi-perlno fix listedUBUNTU-CVE-2026-111879
Ubuntu:24.04:LTSlibdbi-perlno fix listedUBUNTU-CVE-2026-111879
Ubuntu:26.04:LTSlibdbi-perlno fix listedUBUNTU-CVE-2026-111879
Ubuntu:26.10libdbi-perlno fix listedUBUNTU-CVE-2026-111879

Affected products (as reported)

VendorProductVersions
DBI 0 – before 1.656

Weakness: CWE-667 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References