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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | DBI | < 1.656 | 1.656 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libdbi-perl | 1.656-1 | — |
| Debian 13 | libdbi-perl | No fix yet | — |
| Debian 12 | libdbi-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libdbi-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libdbi-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libdbi-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libdbi-perl | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libdbi-perl | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libdbi-perl | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libdbi-perl | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libdbi-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-DBI | 1.656.0-1.1 | openSUSE-SU-2026:12201-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | perl-DBI +1 | 1.656-1.amzn2023.0.1 | ALAS2023-2026-3414 |
| Amazon Linux 2 | perl-DBI | 1.627-4.amzn2.0.9 | ALAS2-2026-4077 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | perl-DBI | 1.656-1 | — |
Advisories 3
- ALAS2023-2026-3414 Moderate: perl-DBI security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 9, 2026
- ALAS2-2026-4077 Moderate: perl-DBI security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Nov 9, 2026
- openSUSE-SU-2026:12201-1 perl-DBI-1.656.0-1.1 on GA media SUSE / openSUSE Security Updates · Oct 21, 2026