Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HMBRAND | DBI | < 1.650 | 1.650 |
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.650-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 25.10 | 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.4.1 | SUSE-SU-2026:22623-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.4.1 | SUSE-SU-2026:22623-1 |
| SLE Micro 6.2 | perl-DBI | 1.647.0-160000.4.1 | SUSE-SU-2026:22592-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.650.0-1.1 | openSUSE-SU-2026:11234-1 |
| openSUSE Leap 16.0 | perl-DBI | 1.647.0-160000.4.1 | openSUSE-SU-2026:21293-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.650-1.amzn2023.0.1 | ALAS2023-2026-1982 |
| Amazon Linux 2 | perl-DBI | 1.627-4.amzn2.0.4 | ALAS2-2026-3825 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | perl-DBI | 1.650-1 | — |
Advisories 9
- SUSE-SU-2026:3461-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Aug 4, 2026
- SUSE-SU-2026:3415-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 30, 2026
- SUSE-SU-2026:3283-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 28, 2026
- ALAS2-2026-3825 Important: perl-DBI security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 20, 2026
- ALAS2023-2026-1982 Important: perl-DBI security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 20, 2026
- SUSE-SU-2026:22623-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 17, 2026
- SUSE-SU-2026:22592-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 16, 2026
- openSUSE-SU-2026:21293-1 Security update for perl-DBI SUSE / openSUSE Security Updates · Jul 13, 2026
- openSUSE-SU-2026:11234-1 perl-DBI-1.650.0-1.1 on GA media SUSE / openSUSE Security Updates · Jul 10, 2026