Summary
It was discovered that the Perl DBI module incorrectly opened files outside
of the folder specified in the data source name. A remote attacker could
possibly use this issue to obtain sensitive information. This issue only
affected Ubuntu 14.04 LTS. (CVE-2014-10402)
It was discovered that the Perl DBI module incorrectly handled certain long
strings. A local attacker could possibly use this issue to cause the DBI
module to crash, resulting in a denial of service. This issue only affected
Ubuntu 14.04 LTS. (CVE-2020-14393)
It was discovered that the Perl DBI module did not validate the package
name in the Profile attribute before evaluating it. An attacker able to
influence the Profile attribute could possibly use this issue to execute
arbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04
LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04
LTS, and Ubuntu 26.04 LTS. (CVE-2026-14380)
It was discovered that the Perl DBI module did not allocate enough memory
when preparsing SQL statements that contained an extremely large number of
placeholders, leading to a heap-based buffer overflow. An attacker could
possibly use this issue to cause applications using the Perl DBI module to
crash, resulting in a denial of service, or possibly execute arbitrary
code. This issue was caused by an incomplete fix for CVE-2026-10879. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS.
(CVE-2026-14739)
It was discovered that the Perl DBI module incorrectly handled SQL
statements that started with a comment when preparsing them, leading to an
out-of-bounds read. An attacker could possibly use this issue to cause
applications using the Perl DBI module to crash, resulting in a denial of
service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS,
Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and
Ubuntu 26.04 LTS. (CVE-2026-14740)
It was discovered that the DBI::SQL::Nano engine in the Perl DBI module
inverted the <= and >= operators when comparing text values. An attacker
could possibly use this issue to bypass access restrictions in applications
that relied on these comparisons to filter data. This issue only affected
Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS,
Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-15043)
It was discovered that the DBD::File driver in the Perl DBI module did not
check whether table files were symbolic links. A local attacker could
possibly use this issue to read or write files outside of the data
directory. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS,
Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and
Ubuntu 26.04 LTS. (CVE-2026-15392)
It was discovered that DBI::ProfileData in the Perl DBI module did not
limit the path index read from profile data files. An attacker could
possibly use this issue with a specially crafted profile data file to cause
applications using the Perl DBI module to consume excessive memory, leading
to a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu
16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu
24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-60081)
It was discovered that the Perl DBI module did not check that statement
handles were consistent with row data, leading to an out-of-bounds read. An
attacker could possibly use this issue to cause applications using the Perl
DBI module to crash, resulting in a denial of service, or obtain sensitive
information. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS,
Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and
Ubuntu 26.04 LTS. (CVE-2026-60082)
Harsh Raj Singhania discovered that the Perl DBI module did not correctly
validate certain attributes. An attacker could possibly use this issue to
execute arbitrary code. This issue only affected Ubuntu 26.10.
(CVE-2026-78030)
It was discovered that the Perl DBI module did not correctly handle numeric
values when casting them to SQL_NUMERIC. An attacker could possibly use
this issue to cause applications using the Perl DBI module to crash,
resulting in a denial of service. (CVE-2026-88815)
Harsh Raj Singhania discovered that the Perl DBI module did not correctly
handle certain string operations. An attacker could possibly use this issue
to cause a denial of service. This issue only affected Ubuntu 26.10.
(CVE-2026-88816)
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · 22.04 LTS 22.04:LTS | libdbi-perl | 1.643-3ubuntu0.5 |
| Ubuntu · 24.04 LTS 24.04:LTS | libdbi-perl | 1.643-4ubuntu0.5 |
| Ubuntu · 26.04 LTS 26.04:LTS | libdbi-perl | 1.647-1ubuntu0.26.04.5 |
| Ubuntu · 26.10 | libdbi-perl | 1.652-2ubuntu0.1 |
| Ubuntu · Pro 14.04 LTS Pro:14.04:LTS | libdbi-perl | 1.630-1ubuntu0.1~esm10 |
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | libdbi-perl | 1.634-1ubuntu0.2+esm6 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | libdbi-perl | 1.640-1ubuntu0.3+esm5 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | libdbi-perl | 1.643-1ubuntu0.1+esm5 |
Vulnerabilities 12
-
Critical 9.8
DBI versions before 1.650 for Perl have a heap overflow when preparsing SQL statements with an extreme number of placeholders
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…
-
Critical 9.8
DBI::SQL::Nano versions from 1.42 before 1.651 for Perl have inverted <= and >= SQL operators on text
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 met…
-
Critical 9.8
DBI versions before 1.653 for Perl load arbitrary modules via unvalidated dbm_type and dbm_mldbm attributes in DBD::DBM
DBI versions before 1.653 for Perl load arbitrary modules via unvalidated dbm_type and dbm_mldbm attributes in DBD::DBM. DBD::DBM passes the dbm_type and dbm_mldbm connect attributes to require without checking that the value names a module. require treats a …
-
Critical 9.1
DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment
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 l…
-
Critical 9.1
DBI versions before 1.651 for Perl do not enforce statement handle consistency with the row
DBI versions before 1.651 for Perl do not enforce statement handle consistency with the row. When the statement handle had no fields but the source row was non-empty, the internal row-buffer helper would read from a negative array index. This could be trigger…
-
High 8.8
DBI versions before 1.650 for Perl are vulnerable to code injection via caller-influenced Profile
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 eva…
-
High 7.7
DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location
DBD::File versions before 1.651 for Perl do not ensure the table file is not a symlink to an untrusted location. The complete_table_name method builds the absolute table file path without checking whether the file is a symbolic link. A link inside the data di…
-
High 7.5
DBI::ProfileData versions before 1.651 for Perl do not limit the path index
DBI::ProfileData versions before 1.651 for Perl do not limit the path index. The path index column of profile dump files is used to allocate an array of data for the parser. An unbounded value allows an attacker to specify a large index and consume available …
-
High 7.5
DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in FetchHashKeyName
DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in FetchHashKeyName. fetchrow_hashref uses the string pointer of the FetchHashKeyName attribute as the key name without stringifying it first. When FetchHashKeyName has been set to…
-
Medium 6.2
DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in sql_type_cast_svpv
DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in sql_type_cast_svpv. When casting to SQL_NUMERIC, sql_type_cast_svpv passes the string pointer and length of the SV to grok_number without stringifying it first. An integer (IV) …
-
Unscored —
An issue was discovered in the DBI module through 1.643 for Perl. DBD::File drivers can open files from folders other t…
-
Unscored —
A buffer overflow was found in perl-DBI < 1.643 in DBI.xs. A local attacker who is able to supply a string longer than …
References
-
report
https://ubuntu.com/security/CVE-2014-10402
-
report
https://ubuntu.com/security/CVE-2020-14393
-
report
https://ubuntu.com/security/CVE-2026-14380
-
report
https://ubuntu.com/security/CVE-2026-14739
-
report
https://ubuntu.com/security/CVE-2026-14740
-
report
https://ubuntu.com/security/CVE-2026-15043
-
report
https://ubuntu.com/security/CVE-2026-15392
-
report
https://ubuntu.com/security/CVE-2026-60081
-
report
https://ubuntu.com/security/CVE-2026-60082
-
report
https://ubuntu.com/security/CVE-2026-78030
-
report
https://ubuntu.com/security/CVE-2026-88815
-
report
https://ubuntu.com/security/CVE-2026-88816