Description
The DBD::mysql module before 4.039 for Perl, when using server-side prepared statement support, allows attackers to cause a denial of service (out-of-bounds read) via vectors involving an unaligned number of placeholders in WHERE condition and output fields in SELECT expression.
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 | libdbd-mysql-perl | 4.039-1 | — |
| Debian 13 | libdbd-mysql-perl | 4.039-1 | — |
| Debian 12 | libdbd-mysql-perl | 4.039-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | libdbd-mysql-perl | 4.033-1ubuntu0.1+esm1 | USN-5344-1 |
| Ubuntu Pro 14.04 LTS | libdbd-mysql-perl | 4.025-1ubuntu0.1+esm1 | USN-7417-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | perl-DBD-mysql | 4.021-11.1 | SUSE-SU-2017:0123-1 |
| SLES 12 SP1 | perl-DBD-mysql | 4.021-11.1 | SUSE-SU-2017:0123-1 |
| SLES 11 SP4 | perl-DBD-mysql | 4.008-9.1 | SUSE-SU-2017:0122-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | perl-DBD-mysql | 4.021-11.1 | SUSE-SU-2017:0123-1 |
| SLES for SAP 12 SP1 | perl-DBD-mysql | 4.021-11.1 | SUSE-SU-2017:0123-1 |
| SLES for SAP 11 SP4 | perl-DBD-mysql | 4.008-9.1 | SUSE-SU-2017:0122-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-DBD-mysql | 4.041-2.1 | openSUSE-SU-2024:10186-1 |
Advisories 6
- USN-5344-1 libdbd-mysql-perl vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-7417-1 libdbd-mysql-perl vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2017:0122-1 Security update for perl-DBD-mysql SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0123-1 Security update for perl-DBD-mysql SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10186-1 perl-DBD-mysql-4.041-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-0715 Perl: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 7, 2025
References
- [oss-security] 20161115 CVE-2016-1249: Out-of-bounds read by DBD::mysql >= version 2.9003 mailing-list
- https://github.com/perl5-dbi/DBD-mysql/commit/793b72b1a0baa5070adacaac0e12fd995a6fbabe
- 94350 vdb-entry
- http://cpansearch.perl.org/src/CAPTTOFU/DBD-mysql-4.039/Changes
- GLSA-201701-51 vendor-advisory