The DBI is the standard database interface module for Perl. It defines a set of methods, variables and conventions that provide a consistent database interface independent of the actual database being used. It is important to remember that the DBI is just an interface. The DBI is a layer of "glue" between an application and one or more database driver modules. It is the driver modules which do most of the real work. The DBI provides a standard interface and framework for the drivers to operate within.
Security Fix(es):
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.(CVE-2026-111879)
{
"severity": "Medium"
}{
"aarch64": [
"perl-DBI-1.643-14.oe2403sp1.aarch64.rpm",
"perl-DBI-debuginfo-1.643-14.oe2403sp1.aarch64.rpm",
"perl-DBI-debugsource-1.643-14.oe2403sp1.aarch64.rpm"
],
"noarch": [
"perl-DBI-help-1.643-14.oe2403sp1.noarch.rpm"
],
"src": [
"perl-DBI-1.643-14.oe2403sp1.src.rpm"
],
"x86_64": [
"perl-DBI-1.643-14.oe2403sp1.x86_64.rpm",
"perl-DBI-debuginfo-1.643-14.oe2403sp1.x86_64.rpm",
"perl-DBI-debugsource-1.643-14.oe2403sp1.x86_64.rpm"
]
}