Skip to main content

DBD::DBM EUVDEUVD-2026-83584

| CVE-2026-78030 CRITICAL
Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') (CWE-470)
2026-09-14 vendor:ubuntu
9.8
CVSS 3.1 · Vendor: vendor:ubuntu
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Influence dbm_type/dbm_mldbm attribute value
  2. Delivery
    Supply filesystem path to attacker .pm
  3. Exploit
    DBD::DBM require() loads literal path
  4. Execution
    Planted module executes in Perl process
  5. Impact
    Arbitrary code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V15 - Secure Coding and Architecture Reflection safety, class allowlisting
Exploitation Conditions

Requires an application built on Perl DBI's DBD::DBM driver that allows external/untrusted input to influence the dbm_type or dbm_mldbm connection attributes (the DBM tie module or MLDBM serializer). Because require()/Module::Load treat a path-shaped string as a literal filename and never consult @INC, the attacker-supplied value must point to a loadable .pm that already exists on the filesystem (or one the attacker can plant, e.g. via an upload directory) - the fix's test shows both '/path/Evil' (loaded via Module::Load when suffixed) and '/path/Evil.pm' cases. Limiting factors: only affects DBD::DBM (a niche driver), requires the application to expose these attributes to untrusted data (not the default for typical DBI usage where connection params are developer-controlled), and requires an executable .pm gadget to be reachable on disk. Not exploitable against applications that fix dbm_type/dbm_mldbm to constant, developer-chosen module names.

Impact

CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H, 9.8 critical) from vendor ubuntu portrays this as trivial remote unauthenticated code execution, but that rating overstates real-world risk for a library-level flaw. This is a CWE-470 unsafe-reflection bug in Perl DBI's DBD::DBM driver: the dbm_type and dbm_mldbm connection attributes reach require()/Module::Load, which treats a path-shaped string as a literal filename (bypassing @INC), so influence over either attribute loads and executes an arbitrary .pm from disk. Exploitation is not self-contained: it requires (1) an application that passes untrusted input into these DBD::DBM attributes and (2) a loadable/plantable .pm gadget somewhere on the filesystem - neither is guaranteed, and DBD::DBM is a niche driver rarely exposed to untrusted input. No EPSS score, no CISA KEV listing, and no weaponized public exploit are present in the input; the fix commit ships a regression test (t/53dbm_module_name.t) that demonstrates the loading mechanism but is not an attack tool. Net: a genuine code-execution primitive worth patching, but the blanket 9.8 (PR:N/AC:L) is optimistic for a flaw whose exploitability is entirely gated by application-specific data flow - treat AC as higher and prioritize based on whether any deployed Perl app actually feeds external input to dbm_type/dbm_mldbm.

Exploit ScenarioDerived

A Perl web application uses DBD::DBM and derives the dbm_type or dbm_mldbm attribute (serializer/tie module) from user-supplied or request-influenced data. An attacker sets that value to a filesystem path such as '/tmp/uploads/Evil' or '/var/www/cache/Evil.pm'; because require() treats the path-shaped string as a literal file, DBD::DBM loads and executes that .pm in the process context. A regression test in the fix demonstrates the load mechanism, but no standalone weaponized exploit was identified in the provided data.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Sep 20, 2026

Externally influenced connection attributes in Perl's DBD::DBM driver (part of the DBI distribution) can cause the process to load and therefore execute arbitrary Perl module files from anywhere the process can read, because the driver passed attacker-reachable values straight to require() and Module::Load. Affected are DBI/DBD::DBM releases prior to 1.653, and this is only reachable in applications that let untrusted input control the dbm_type or dbm_mldbm connection attributes rather than hardcoding module names. The vendor-supplied CVSS 3.1 base of 9.8 (AV:N/AC:L/PR:N/UI:N) overstates real-world risk; the independent assessment rates the same impact as AV:N/AC:H/PR:N/UI:N (high attack complexity) because exploitation additionally requires an application that exposes these attributes to untrusted data and a loadable .pm gadget already present on disk. No public exploit code was identified at time of analysis and the issue is not confirmed actively exploited (not in CISA KEV), and the reporter is the Ubuntu vendor channel with an ENISA EUVD record (EUVD-2026-83584).

Earlier versions of this analysis (1)
v1 Sep 14, 2026 - 10:09

CVE-2026-78030 has no publicly available description, CVSS score, CWE classification, or affected version data at time of analysis. The sole intelligence signal is a vendor:ubuntu reporter tag. No meaningful technical characterization of the vulnerability is possible from the provided data.

RemediationAI

Apply the vendor-released patch: upgrade the DBI distribution to DBI 1.653 or later (CPAN release notes: https://metacpan.org/release/HMBRAND/DBI-1.653/changes), which is the release containing commit 315c6ce703b8b3cbe9188062d9ec80730293554a; the fix enforces a module-name grammar check on dbm_type/dbm_mldbm and switches loading to Module::Load, and it adds Params::Util 1.100 as a dependency, so packaging must include that prerequisite (an inlined fallback exists if Params::Util is missing). Where upgrading is not immediately possible, the decisive compensating control is to never let untrusted input reach the dbm_type or dbm_mldbm connection attributes: hardcode them to constant, developer-chosen module names (for example dbm_type=SDBM_File) at every DBI->connect/DBI->connect_cached call site, and validate any configuration-sourced value against a strict allowlist matching ^[^\W\d]\w*(?:::\w+)*$ before use - this closes the flaw entirely because the attack path requires attacker-influenced attribute values. Do not rely on swapping require() for Module::Load alone or on the MLDBM::Serializer:: prefix as containment, since the upstream test demonstrates that Module::Load still loads path-shaped '*.pm' strings verbatim and that '::' rewriting permits directory traversal; applying either half-measure without the grammar check leaves the load primitive intact and merely raises the bar. Additional hardening for applications that must accept such attributes from lower-trust sources: drop write permissions on upload/temp directories that could host a planted .pm (the exploit needs a loadable gadget already reachable on disk), and review @INC for attacker-writable entries, recognising that restricting @INC does not help here because require()/Module::Load bypass it for path-shaped values. Vendor advisories to track: GHSA-wqmw-wqwx-3fr7, https://vuldb.com/vuln/407940, https://seclists.org/oss-sec/2026/q3/840 and http://www.openwall.com/lists/oss-security/2026/09/19/4; no vendor-released patch was identified beyond DBI 1.653 in the provided data, and no public exploit code was identified at time of analysis.

Affected ProductsAI

The DBD::DBM driver as distributed within the Perl DBI distribution (GitHub perl5-dbi/dbi, CPAN distribution DBI) is affected in versions prior to the fixed release DBI 1.653; the upstream security advisory is GHSA-wqmw-wqwx-3fr7 in the perl5-dbi/dbi repository, the fix commit is 315c6ce703b8b3cbe9188062d9ec80730293554a (https://github.com/perl5-dbi/dbi/commit/315c6ce703b8b3cbe9188062d9ec80730293554a.patch), and the release notes confirming the fix are at https://metacpan.org/release/HMBRAND/DBI-1.653/changes. The report originated from the Ubuntu vendor channel (vendor:ubuntu), so downstream distributions packaging libdbi-perl - and any OS vendor that backported the DBI module - should track their own patched package version rather than the CPAN version; no CPE strings were supplied in the source data, so exact packaged version ranges must be confirmed against each distributor's advisory, and the broader EUVD/VulDB records are EUVD-2026-83584 and https://vuldb.com/vuln/407940. Only deployments that actually use DBD::DBM are in scope; applications using DBI without the DBM driver are not affected.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-470 (Use of Externally-Controlled Input to Select Classes or Code, i.e. unsafe reflection) in DBD::DBM, the pure-Perl DBM driver shipped inside the Perl DBI distribution. DBD::DBM resolves its dbm_type (the tie module, e.g. SDBM_File, GDBM_File) and dbm_mldbm (the MLDBM serializer) attributes into code at runtime. Before the fix, DBD::DBM::Table::init_table_meta used '$INC{"$tie_type.pm"} or require "$tie_type.pm"' and the MLDBM path likewise required strings built from user-controlled values; crucially, Perl's require() treats a path-shaped string (anything containing a literal '/') as a literal filename and never consults @INC, so a caller who influences either attribute can have the process load a .pm from an arbitrary filesystem location. The upstream regression test (t/53dbm_module_name.t) documents the nuance that a naive loader swap to Module::Load is insufficient on its own: Module::Load treats anything outside [\w:'] as a filename and requires it verbatim, so '/path/Evil' fails only because no such file exists while '/path/Evil.pm' loads. The same test shows the MLDBM::Serializer:: prefix provides only apparent containment, since the old 's|::|/|g' rewrite leaves literal '/' untouched and MLDBM ships an MLDBM/Serializer/ directory into @INC, so a traversal out of that prefix (with every intermediate component existing) escapes the intended namespace. The patch introduces a strict module-name grammar check (DBD::DBM::_CLASS, derived from Params::Util::_CLASS, pattern ^[^\W\d]\w*(?:::\w+)*$) applied before loading, and replaces require with Module::Load::load for the validated name; Params::Util 1.100 is added as a prerequisite (the code carries an inlined SPDX-attributed fallback from Params::Util::PP 1.102 when the module is absent). Note the vendor tag 'Information Disclosure' mischaracterises the flaw: the code-path consequence is attacker-influenced module loading/execution, not disclosure.

Know when Perl gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vendor:ubuntu) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Code execution gives C:H/I:H/A:H, but AC:H because exploitation depends on the application exposing dbm_type/dbm_mldbm to untrusted input and a loadable .pm gadget existing on disk.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (vendor:ubuntu).

CVSS VectorVendor: vendor:ubuntu

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Analysis Updated
Sep 20, 2026 - 01:28 vuln.today
v2 - CVSS changed
CVSS changed
Sep 20, 2026 - 01:22 NVD
9.8 (CRITICAL)

DescriptionCVE.org

[Unknown description]

Technical POC Analysis

CWE-470: Use of Externally-Controlled Input to Select Classes or Code (Unsafe Reflection).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A code-execution flaw in the Perl DBI distribution's DBD::DBM driver (all releases prior to 1.653) affects any application that lets untrusted input populate the dbm_type or dbm_mldbm connection attributes, allowing an unauthenticated remote party to cause the affected process to load and execute arbitrary Perl module files it can read. Reachability is limited to applications that pass attacker-controlled values into those attributes instead of hardcoding module names, and exploitation additionally requires a loadable .pm file already present on disk, so the bulk of DBI deployments used across internal tooling and legacy services are not directly exposed. Leadership should care because a successful attack yields code execution with the privileges of the affected Perl service, and no vendor-released patch was identified at time of analysis.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: hardcode the dbm_type and dbm_mldbm connection attributes so untrusted input cannot reach require() or Module::Load; allowlist permitted driver and module names at the application boundary; restrict write access to Perl library and @INC directories to privileged accounts; remove unnecessary loadable .pm files that could serve as gadgets; and migrate applications off the DBD::DBM driver where feasible.

Threat Intelligence Overview

EPSS Score
0.7%
Top 47% exploitable
Prevalence
High
Perl DBI ships with nearly all Perl installs; DBD::DBM path is niche
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Perl

View all
CVE-2012-6329 HIGH POC
7.5 Jan 04

The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand

CVE-2017-12814 CRITICAL POC
9.8 Sep 28

Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before

CVE-2015-8608 CRITICAL POC
9.8 Feb 07

The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of

CVE-2018-18314 CRITICAL POC
9.8 Dec 07

Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated

CVE-2018-18312 CRITICAL POC
9.8 Dec 05

Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid

CVE-2026-13221 CRITICAL POC
9.1 Jul 13

Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a

CVE-2018-18313 CRITICAL POC
9.1 Dec 07

Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa

CVE-2016-2381 HIGH
7.5 Apr 08

Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e

CVE-2023-31484 HIGH POC
8.1 Apr 29

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS

CVE-2016-6185 HIGH POC
7.8 Aug 02

The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig

CVE-2018-12015 HIGH POC
7.5 Jun 07

In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha

CVE-2020-10543 HIGH
8.2 Jun 05

Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy