CVE-2016-1249: The DBD::mysql module before 4.039 for Perl, when using server-side prepared statement support, allows attacke
CVE-2016-1249 is a medium-severity flaw (CVSS 5.9) affecting dbd-mysql. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.4% (top 16%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2017-02-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2016-1249?
dbd-mysql: upgrade to newer than 4.038_01. Exact commands for each OS are on this page.
Is CVE-2016-1249 being exploited?
CVE-2016-1249 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2016-1249 affect?
CVE-2016-1249 affects dbd-mysql. Severity is medium (CVSS 5.9). 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
How urgent is CVE-2016-1249?
Priority 52/100. Remotely exploitable, no login, no user action; On your watchlist
Software pages
MySQL vulnerabilities · Perl vulnerabilities
Related CVEs
- CVE-2017-10789 MEDIUM 5.9 UPGRADE The DBD::mysql module through 4.043 for Perl uses the mysql_ssl=1 setting to mean that SSL is optional (even t
- CVE-2017-10788 CRITICAL 9.8 UPGRADE The DBD::mysql module through 4.043 for Perl allows remote attackers to cause a denial of service (use-after-f
- CVE-2016-1251 HIGH 8.1 DOWNGRADE There is a vulnerability of type use-after-free affecting DBD::mysql (aka DBD-mysql or the Database Interface
- CVE-2016-1246 HIGH 7.5 UPGRADE MITIGATE Buffer overflow in the DBD::mysql module before 4.037 for Perl allows context-dependent attackers to cause a d
- CVE-2015-8949 CRITICAL 9.8 DOWNGRADE MITIGATE Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows attackers to have u