Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-111879

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-111879

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/perl5-dbi/dbi",
    "modules": [
      "DBI"
    ],
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "1.656",
        "versionType": "custom"
      }
    ],
    "packageURL": "pkg:cpan/DBI",
    "packageName": "DBI",
    "programFiles": [
      "lib/DBD/DBM.pm",
      "lib/DBD/File.pm"
    ],
    "collectionURL": "https://cpan.org/modules",
    "defaultStatus": "unaffected",
    "programRoutines": [
      {
        "name": "DBD::DBM::Table::open_data"
      },
      {
        "name": "DBD::File::DataSource::File::open_data"
      }
    ]
  }
]
Related CVEs
CVE-2026-111879

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#44933 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement