Description
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 directory can point to a table file at any path outside of the configured f_dir and f_dir_search directories.
Callers of file-based drivers can read or write files outside of the data directory.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HMBRAND | DBD::File | < 1.651 | 1.651 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libdbi-perl | 1.651-1 | — |
| Debian 13 | libdbi-perl | 1.652-2~deb13u1 | — |
| Debian 12 | libdbi-perl | 1.643-4+deb12u2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libdbi-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libdbi-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libdbi-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libdbi-perl | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libdbi-perl | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libdbi-perl | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libdbi-perl | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libdbi-perl | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | perl-DBI | 1.647.0-150600.12.18.1 | SUSE-SU-2026:3415-1 |
| SLES 15 SP6 | perl-DBI | 1.647.0-150600.12.18.1 | SUSE-SU-2026:3415-1 |
| SLES 15 SP5 | perl-DBI | 1.642-150200.3.19.1 | SUSE-SU-2026:3283-1 |
| SLES 15 SP4 | perl-DBI | 1.642-150200.3.19.1 | SUSE-SU-2026:3283-1 |
| SLES 12 SP5 | perl-DBI | 1.628-5.21.1 | SUSE-SU-2026:3461-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | perl-DBI | 1.647.0-160000.5.1 | SUSE-SU-2026:22845-1 |
| SLES for SAP 15 SP6 | perl-DBI | 1.647.0-150600.12.18.1 | SUSE-SU-2026:3415-1 |
| SLES for SAP 15 SP5 | perl-DBI | 1.642-150200.3.19.1 | SUSE-SU-2026:3283-1 |
| SLES for SAP 15 SP4 | perl-DBI | 1.642-150200.3.19.1 | SUSE-SU-2026:3283-1 |
| SLES 16.0 | perl-DBI | 1.647.0-160000.5.1 | SUSE-SU-2026:22845-1 |
| SLE Micro 6.2 | perl-DBI | 1.647.0-160000.5.1 | SUSE-SU-2026:22926-1 |
| SLE HPC 15 SP5 | perl-DBI | 1.642-150200.3.19.1 | SUSE-SU-2026:3283-1 |
| SLE HPC 15 SP4 | perl-DBI | 1.642-150200.3.19.1 | SUSE-SU-2026:3283-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-DBI | 1.651.0-1.1 | openSUSE-SU-2026:11298-1 |
| openSUSE Leap 16.0 | perl-DBI | 1.647.0-160000.5.1 | openSUSE-SU-2026:21412-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | perl-dbi | 1.651-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | perl-DBI +1 | 1.651-1.amzn2023.0.1 | ALAS2023-2026-2006 |
| Amazon Linux 2 | perl-DBI | 1.627-4.amzn2.0.6 | ALAS2-2026-3851 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | perl-DBI | 1.651-1 | — |
Advisories 10
- WID-SEC-2026-3043 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 17, 2026
- ALAS2-2026-3851 Important: perl-DBI security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 4, 2026
- SUSE-SU-2026:3461-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Aug 4, 2026
- ALAS2023-2026-2006 Important: perl-DBI security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 4, 2026
- SUSE-SU-2026:3415-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 30, 2026
- SUSE-SU-2026:22926-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 29, 2026
- SUSE-SU-2026:22845-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 28, 2026
- SUSE-SU-2026:3283-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 28, 2026
- openSUSE-SU-2026:21412-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 24, 2026
- openSUSE-SU-2026:11298-1 perl-DBI-1.651.0-1.1 on GA media SUSE / openSUSE Security Updates · Jul 18, 2026