CVE-2017-10788
published 2017-07-01CVE-2017-10788: The DBD::mysql module through 4.043 for Perl allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have…
PriorityP349critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
4.63%
90.7th percentile
The DBD::mysql module through 4.043 for Perl allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by triggering (1) certain error responses from a MySQL server or (2) a loss of a network connection to a MySQL server. The use-after-free defect was introduced by relying on incorrect Oracle mysql_stmt_close documentation and code examples.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| dbd-mysql_project | dbd-mysql | <= 4.043 | — |
| debian | libdbd-mysql-perl | < libdbd-mysql-perl 4.046-1 (bookworm) | libdbd-mysql-perl 4.046-1 (bookworm) |
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu5.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
libdbd-mysql-perl vulnerabilities
vendor_ubuntu·2025-04-07·CVSS 5.9
CVE-2016-1251 [MEDIUM] libdbd-mysql-perl vulnerabilities
Title: libdbd-mysql-perl vulnerabilities
Summary: Several security issues were fixed in libdbd-mysql-perl.
It was discovered that libdbd-mysql-perl did not correctly handle certain
SQL queries. An attacker could possibly use this issue to cause a denial
of service. (CVE-2016-1249)
It was discovered that libdbd-mysql-perl did not correctly handle certain
memory operations, which could lead to a use-after-free vulnerability. A
remote attacker could possibly use this issue to cause a denial of service
or execute arbitrary code. (CVE-2016-1251, CVE-2017-10788)
It was discovered that libdbd-mysql-perl did not properly enforce SSL
connections depending on the mysql_ssl setting. A machine-in-the-middle
attacker could possibly use this issue to spoof servers. (CVE-2017-10789)
Instructions: In
Ubuntu
DBD::mysql vulnerabilities
vendor_ubuntu·2022-04-01·CVSS 5.9
CVE-2016-1249 [MEDIUM] DBD::mysql vulnerabilities
Title: DBD::mysql vulnerabilities
Summary: Several security issues were fixed in DBD::mysql.
It was discovered that the DBD::mysql module, when configured with server-side
prepared statement support, was susceptible to operations that would result in
improper memory access. An attacker could possibly use this issue to cause
DBD::mysql to crash, resulting in a denial of service.
(CVE-2016-1249, CVE-2016-1251)
It was discovered that the DBD::mysql module was susceptible to an operation
that would result in improper memory access, introduced through incorrect
documentation and code examples. An attacker could possibly use this issue to
cause DBD::mysql to crash or potentially cause other, unspecified, impact.
(CVE-2017-10788)
It was discovered that the DBD::mysql module processed SSL/TLS
Red Hat
perl-DBD-MySQL: Use-after-free when calling mysql_stmt_error() after mysql_stmt_close()
vendor_redhat·2017-06-08·CVSS 9.8
CVE-2017-10788 [CRITICAL] CWE-416 perl-DBD-MySQL: Use-after-free when calling mysql_stmt_error() after mysql_stmt_close()
perl-DBD-MySQL: Use-after-free when calling mysql_stmt_error() after mysql_stmt_close()
The DBD::mysql module through 4.043 for Perl allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by triggering (1) certain error responses from a MySQL server or (2) a loss of a network connection to a MySQL server. The use-after-free defect was introduced by relying on incorrect Oracle mysql_stmt_close documentation and code examples.
Statement: Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classificat
Debian
CVE-2017-10788: libdbd-mysql-perl - The DBD::mysql module through 4.043 for Perl allows remote attackers to cause a ...
vendor_debian·2017·CVSS 9.8
CVE-2017-10788 [CRITICAL] CVE-2017-10788: libdbd-mysql-perl - The DBD::mysql module through 4.043 for Perl allows remote attackers to cause a ...
The DBD::mysql module through 4.043 for Perl allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by triggering (1) certain error responses from a MySQL server or (2) a loss of a network connection to a MySQL server. The use-after-free defect was introduced by relying on incorrect Oracle mysql_stmt_close documentation and code examples.
Scope: local
bookworm: resolved (fixed in 4.046-1)
bullseye: resolved (fixed in 4.046-1)
forky: resolved (fixed in 4.046-1)
sid: resolved (fixed in 4.046-1)
trixie: resolved (fixed in 4.046-1)
OSV
libdbd-mysql-perl vulnerabilities
osv·2025-04-07·CVSS 5.9
CVE-2016-1249 [MEDIUM] libdbd-mysql-perl vulnerabilities
libdbd-mysql-perl vulnerabilities
It was discovered that libdbd-mysql-perl did not correctly handle certain
SQL queries. An attacker could possibly use this issue to cause a denial
of service. (CVE-2016-1249)
It was discovered that libdbd-mysql-perl did not correctly handle certain
memory operations, which could lead to a use-after-free vulnerability. A
remote attacker could possibly use this issue to cause a denial of service
or execute arbitrary code. (CVE-2016-1251, CVE-2017-10788)
It was discovered that libdbd-mysql-perl did not properly enforce SSL
connections depending on the mysql_ssl setting. A machine-in-the-middle
attacker could possibly use this issue to spoof servers. (CVE-2017-10789)
GHSA
GHSA-hx52-v9vv-vhp2: The DBD::mysql module through 4
ghsa_unreviewed·2022-05-17
CVE-2017-10788 [CRITICAL] CWE-416 GHSA-hx52-v9vv-vhp2: The DBD::mysql module through 4
The DBD::mysql module through 4.043 for Perl allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by triggering (1) certain error responses from a MySQL server or (2) a loss of a network connection to a MySQL server. The use-after-free defect was introduced by relying on incorrect Oracle mysql_stmt_close documentation and code examples.
OSV
libdbd-mysql-perl vulnerabilities
osv·2022-04-01·CVSS 5.9
CVE-2016-1249 [MEDIUM] libdbd-mysql-perl vulnerabilities
libdbd-mysql-perl vulnerabilities
It was discovered that the DBD::mysql module, when configured with server-side
prepared statement support, was susceptible to operations that would result in
improper memory access. An attacker could possibly use this issue to cause
DBD::mysql to crash, resulting in a denial of service.
(CVE-2016-1249, CVE-2016-1251)
It was discovered that the DBD::mysql module was susceptible to an operation
that would result in improper memory access, introduced through incorrect
documentation and code examples. An attacker could possibly use this issue to
cause DBD::mysql to crash or potentially cause other, unspecified, impact.
(CVE-2017-10788)
It was discovered that the DBD::mysql module processed SSL/TLS settings in a
way that did not fully correlate with the resp
OSV
CVE-2017-10788: The DBD::mysql module through 4
osv·2017-07-01·CVSS 9.8
CVE-2017-10788 [CRITICAL] CVE-2017-10788: The DBD::mysql module through 4
The DBD::mysql module through 4.043 for Perl allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by triggering (1) certain error responses from a MySQL server or (2) a loss of a network connection to a MySQL server. The use-after-free defect was introduced by relying on incorrect Oracle mysql_stmt_close documentation and code examples.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-3635 mysql: C API unspecified vulnerability (CPU Jul 2017)
bugzilla·2017-07-19·CVSS 9.8
CVE-2017-3635 [CRITICAL] CVE-2017-3635 mysql: C API unspecified vulnerability (CPU Jul 2017)
CVE-2017-3635 mysql: C API unspecified vulnerability (CPU Jul 2017)
Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: C API). Supported versions that are affected are 5.5.56 and earlier, 5.6.36 and earlier and 5.7.18 and earlier. Difficult to exploit vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server.
External References:
http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html#AppendixMSQL
Discussion:
Created mariadb tracking bugs for this issue:
Affects: fedora-all [bug 1472717]
---
Created community-mysql tracking bugs f
Bugzilla
CVE-2017-10788 perl-DBD-MySQL: Use-after-free when calling mysql_stmt_error() after mysql_stmt_close()
bugzilla·2017-07-04·CVSS 9.8
CVE-2017-10788 [CRITICAL] CVE-2017-10788 perl-DBD-MySQL: Use-after-free when calling mysql_stmt_error() after mysql_stmt_close()
CVE-2017-10788 perl-DBD-MySQL: Use-after-free when calling mysql_stmt_error() after mysql_stmt_close()
The DBD::mysql module through 4.043 for Perl allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by triggering (1) certain error responses from a MySQL server or (2) a loss of a network connection to a MySQL server. The use-after-free defect was introduced by relying on incorrect Oracle mysql_stmt_close documentation and code examples.
Upstream bug:
https://github.com/perl5-dbi/DBD-mysql/issues/120
References:
http://seclists.org/oss-sec/2017/q2/443
Discussion:
Created perl-DBD-MySQL tracking bugs for this issue:
Affects: fedora-all [bug 1467608]
---
Patch:
https://github.com/perl5-dbi/DBD-mysql/fi
Bugzilla
CVE-2017-10788 CVE-2017-10789 perl-DBD-MySQL: various flaws [fedora-all]
bugzilla·2017-07-04·CVSS 9.8
CVE-2017-10788 [CRITICAL] CVE-2017-10788 CVE-2017-10789 perl-DBD-MySQL: various flaws [fedora-all]
CVE-2017-10788 CVE-2017-10789 perl-DBD-MySQL: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of F
2017-07-01
Published