Description
There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:
- DBI::SQL::Nano versions from 1.42 before 1.651 for Perl have inverted <= and >= SQL operators on text.
DBI::SQL::Nano, DBI's built-in mini-SQL engine, evaluated WHERE predicates incorrectly in some cases. In
the non-numeric string branch of the is_matched method, <= was evaluated using Perl's ge operator, and >=
was evaluated using Perl's le operator. SQL::Nano is the fallback query engine for DBI's file-backed
drivers (DBD::File, DBD::DBM, CSV-style drivers) whenever SQL::Statement is not installed, and is forced
whenever DBI_SQL_NANO=1. Queries over such tables use these predicates directly. The impact depends on the
context. Where an application relies on a WHERE clause to filter file-backed data for policy or
authorization, an inverted <=/>= comparison silently returns the wrong rows. (CVE-2026-15043)
- DBI 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.
(CVE-2026-14380)
- DBI versions before 1.650 for Perl have a heap overflow when preparsing SQL statements with an extreme
number of placeholders. The fix for CVE-2026-10879 did not allocate enough memory to handle approximately
1.2-million placeholders. DBI version 1.650 sets a hard limit of 99,999 placeholders. (CVE-2026-14739)
- DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL
comment. The preparse method normalises SQL and removes comments. When the SQL starts with a comment line,
the deletion of that line during normalisation led to an out-of-bounds read by one byte. The result is a
fault on memory-hardened builds and nondeterministic newline retention on normal builds. (CVE-2026-14740)
Solution
Update the perl-dbi library and its related packages to version 1.651-r0 or later.
Plugin Details
Supported Sensors: Agentless Assessment
Risk Information
Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C
Vulnerability Information
Exploit Ease: No known exploits are available
Vulnerability Publication Date: 7/7/2026