CVE-2015-8949
Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows...
CVE-2015-8949 is a critical vulnerability (CVSS 9.8) in Dbd-mysql Project Dbd-mysql, published July 29, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.52%, the 91st percentile. Fixed in libdbd-mysql-perl 4.035-1.
Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows attackers to have unspecified impact by leveraging a call to mysql_errno after a failure of my_login.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows attackers to have unspecified impact by leveraging a call to mysql_errno after a failure of my_login.
- Record
CVE-2015-8949- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 10.0 High
AV:N/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-416
- Updated
- 2026-11-02
CVE List No score
Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows attackers to have unspecified impact by leveraging a call to mysql_errno after a failure of my_login.
- Record
CVE-2015-8949- Updated
- 2026-11-02
EUVDEUVD-2015-8805 No score
Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows attackers to have unspecified impact by leveraging a call to mysql_errno after a failure of my_login.
- Record
EUVD-2015-8805- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-48mj-69cx-pcqg
9.8
Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows...
Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows attackers to have unspecified impact by leveraging a call to mysql_errno after a failure of my_login.
- Record
GHSA-48mj-69cx-pcqg- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-416
- Updated
- 2026-11-02
OSV
9.8
Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows attackers to have unspecified impact by leveraging a call to mysql_errno after a failure of my_login.
- Record
CVE-2015-8949- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2015-8949
9.8
Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows attackers to have unspecified impact by leveraging a call to mysql_errno after a failure of my_login.
- Record
DEBIAN-CVE-2015-8949- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-8949
9.8
Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows attackers to have unspecified impact by leveraging a call to mysql_errno after a failure of my_login.
- Record
UBUNTU-CVE-2015-8949- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2016-0300 No score
Updated perl-DBD-mysql packages fix security vulnerability
Two use-after-free vulnerabilities were discovered in DBD::mysql. A remote attacker can take advantage of these flaws to cause a denial-of-service against an application using DBD::mysql (application crash), or potentially to execute arbitrary code with the privileges of the user running the application(CVE-2014-9906, CVE-2015-8949).
- Record
MGASA-2016-0300- Updated
- 2026-11-02
OSVUSN-3103-1 No score
libdbd-mysql-perl vulnerabilities
It was discovered that DBD::mysql incorrectly handled certain memory operations. A remote attacker could use this issue to cause DBD::mysql to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2014-9906)
Hanno Böck discovered that DBD::mysql incorrectly handled certain memory operations. A remote attacker could use this issue to cause DBD::mysql to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2015-8949)
Pali Rohár discovered that DBD::mysql incorrectly handled certain user supplied data. A remote attacker could use this issue to cause DBD::mysql to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2016-1246)
- Record
USN-3103-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libdbd-mysql-perlDebian:12 |
before 4.035-1 | 4.035-1 |
libdbd-mysql-perlDebian:13 |
before 4.035-1 | 4.035-1 |
libdbd-mysql-perlDebian:14 |
before 4.035-1 | 4.035-1 |
libdbd-mysql-perlDebian:7 |
before 4.021-1+deb7u1, plus listed versions 4.021-1 |
4.021-1+deb7u1 |
libdbd-mysql-perlDebian:8 |
before 4.028-2+deb8u1, plus listed versions 4.028-2 |
4.028-2+deb8u1 |
perl-DBD-mysqlMageia:5 |
before 4.28.0-3.1.mga5 | 4.28.0-3.1.mga5 |
libdbd-mysql-perlUbuntu:14.04:LTS |
before 4.025-1ubuntu0.1, plus listed versions 4.023-14.024-14.025-1 |
4.025-1ubuntu0.1 |
libdbd-mysql-perlUbuntu:16.04:LTS |
before 4.033-1ubuntu0.1, plus listed versions 4.028-24.033-14.033-1build14.033-1build2 |
4.033-1ubuntu0.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/perl5-dbi/DBD-mysql/commit/cf0aa7751f6ef8445e9310a64b14dc81460ca156
blog.fuzzing-project.org/50-Use-after-free-in-my_login-function-of-DBDmysql-Perl-module.html
github.com/perl5-dbi/DBD-mysql/blob/4.033_01/Changes
github.com/perl5-dbi/DBD-mysql/pull/45
debian.org/security/2016/dsa-3635
openwall.com/lists/oss-security/2016/07/27/1
Show 14 moreShow less
openwall.com/lists/oss-security/2016/07/25/13
securityfocus.com/bid/92118
security.gentoo.org/glsa/201701-51
nvd.nist.gov/vuln/detail/CVE-2015-8949
github.com/advisories/GHSA-48mj-69cx-pcqg
security-tracker.debian.org/tracker/CVE-2015-8949
advisories.mageia.org/MGASA-2016-0300.html
bugs.mageia.org/show_bug.cgi?id=19050
ubuntu.com/security/CVE-2015-8949
seclists.org/oss-sec/2016/q3/150
ubuntu.com/security/notices/USN-3103-1
cve.org/CVERecord?id=CVE-2015-8949
ubuntu.com/security/CVE-2014-9906
ubuntu.com/security/CVE-2016-1246