CVE-2026-14380

NameCVE-2026-14380
DescriptionDBI versions before 1.650 for Perl are vulnerable to code injection via caller-influenced Profile. When a string is assigned to a DBI handle's Profile attribute, DBI splits it into path, package and arguments, and interpolates the package part in a string eval with no validation of the package name. Any caller-influenced value that reaches the Profile attribute is therefore arbitrary Perl code execution, including calls to run system commands. The Profile attribute can be set from three different sources that can carry untrusted data: the DBI_PROFILE environment variable, a direct attribute assignment, and a DSN driver-attribute clause dbi:Driver(Profile=>SPEC):db. An attacker controlling any of those inputs runs arbitrary Perl in the host process. The strongest remote position is a network-exposed DBI::Gofer / DBI::ProxyServer whose per-request DSN reaches the Profile attribute, letting a client execute code on the broker host.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1141667

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libdbi-perl (PTS)bullseye1.643-3vulnerable
bullseye (security)1.643-3+deb11u1vulnerable
bookworm1.643-4vulnerable
bookworm (security)1.643-4+deb12u1vulnerable
trixie1.647-1vulnerable
trixie (security)1.647-1+deb13u1vulnerable
forky1.649-1vulnerable
sid1.650-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libdbi-perlsource(unstable)1.650-11141667

Notes

https://lists.security.metacpan.org/cve-announce/msg/41625527/
https://github.com/perl5-dbi/dbi/security/advisories/GHSA-ch8w-hxc2-v557
Fixed by: https://github.com/perl5-dbi/dbi/commit/b73d5d9901767fc1d16b6661ef08fbed4532e259 (1.650)

Search for package or bug name: Reporting problems