{"id":"CVE-2015-8949","aliases":["DEBIAN-CVE-2015-8949","DLA-576-1","DSA-3635-1","EUVD-2015-8805","GHSA-48mj-69cx-pcqg","MGASA-2016-0300","UBUNTU-CVE-2015-8949","USN-3103-1"],"status":"published","title":"Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows...","description":"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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.04523,"percentile":0.91604,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-416"],"published":"2016-07-29T00:00:00Z","modified":"2026-09-09T07:01:47Z","fixes":[{"ecosystem":"Debian:12","package":"libdbd-mysql-perl","fixed_in":["4.035-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libdbd-mysql-perl","fixed_in":["4.035-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libdbd-mysql-perl","fixed_in":["4.035-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"libdbd-mysql-perl","fixed_in":["4.025-1ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"libdbd-mysql-perl","fixed_in":["4.033-1ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libdbd-mysql-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.035-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libdbd-mysql-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.035-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libdbd-mysql-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.035-1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"libdbd-mysql-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.021-1+deb7u1"}]}],"versions":["4.021-1"],"bundled":2},{"source":"osv","ecosystem":"Debian:8","package":"libdbd-mysql-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.028-2+deb8u1"}]}],"versions":["4.028-2"],"bundled":2},{"source":"osv","ecosystem":"Mageia:5","package":"perl-DBD-mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.28.0-3.1.mga5"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libdbd-mysql-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.025-1ubuntu0.1"}]}],"versions":["4.023-1","4.024-1","4.025-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libdbd-mysql-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.033-1ubuntu0.1"}]}],"versions":["4.028-2","4.033-1","4.033-1build1","4.033-1build2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libdbd-mysql-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.025-1ubuntu0.1"}]}],"versions":["4.023-1","4.024-1","4.025-1"],"bundled":3}],"products":[{"vendor":"dbd-mysql_project","product":"dbd-mysql"},{"vendor":"debian","product":"debian_linux"}],"references":[{"url":"https://github.com/perl5-dbi/DBD-mysql/commit/cf0aa7751f6ef8445e9310a64b14dc81460ca156","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","fix","report"]},{"url":"https://blog.fuzzing-project.org/50-Use-after-free-in-my_login-function-of-DBDmysql-Perl-module.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/perl5-dbi/DBD-mysql/blob/4.033_01/Changes","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","advisory"]},{"url":"https://github.com/perl5-dbi/DBD-mysql/pull/45","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","fix","report"]},{"url":"http://www.debian.org/security/2016/dsa-3635","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/07/27/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2016/07/25/13","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.securityfocus.com/bid/92118","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/201701-51","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-8949"},{"url":"https://github.com/advisories/GHSA-48mj-69cx-pcqg"},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-8949","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2016-0300.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=19050","tags":["report"]},{"url":"https://www.debian.org/security/2016/dsa-3635","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2015-8949","tags":["report"]},{"url":"http://seclists.org/oss-sec/2016/q3/150","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3103-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-8949","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2014-9906","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-1246","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2015-8949","description":"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.","status":"published","published":"2016-08-19T21:00:00Z","modified":"2024-08-06T08:36:30.797Z","updated_at":"2026-11-02T14:35:41.26549Z"}],"euvd":[{"id":"EUVD-2015-8805","description":"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.","status":"published","published":"2016-08-19T21:00:00Z","modified":"2024-08-06T08:36:30Z","updated_at":"2026-11-03T01:57:25.349664Z"}],"ghsa":[{"id":"GHSA-48mj-69cx-pcqg","title":"Use-after-free vulnerability in the my_login function in DBD::mysql before 4.033_01 allows...","description":"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.","status":"published","published":"2022-05-17T02:37:56Z","modified":"2023-01-27T05:05:33Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:42:42.951341Z"}],"nvd":[{"id":"CVE-2015-8949","description":"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.","status":"published","published":"2016-08-19T21:59:02.26Z","modified":"2026-06-17T00:35:32.807Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:03:16.97467Z"}],"osv":[{"id":"CVE-2015-8949","description":"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.","status":"published","published":"2016-08-19T21:59:02Z","modified":"2026-04-16T06:23:58.962956984Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:01.068991Z"},{"id":"DEBIAN-CVE-2015-8949","description":"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.","status":"published","published":"2016-08-19T21:59:02.26Z","modified":"2026-09-09T07:01:47.097635778Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:27.04239Z"},{"id":"UBUNTU-CVE-2015-8949","description":"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.","status":"published","published":"2016-08-19T00:00:00Z","modified":"2026-02-04T03:01:18.804242Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:11.100633Z"},{"id":"DLA-576-1","title":"libdbd-mysql-perl - security update","status":"published","published":"2016-07-30T00:00:00Z","modified":"2026-03-09T02:09:51.897845Z","updated_at":"2026-11-02T15:46:13.207219Z"},{"id":"DSA-3635-1","title":"libdbd-mysql-perl - security update","status":"published","published":"2016-07-29T00:00:00Z","modified":"2026-03-09T01:18:23.418508Z","updated_at":"2026-11-02T15:46:16.199525Z"},{"id":"MGASA-2016-0300","title":"Updated perl-DBD-mysql packages fix security vulnerability","description":"Two use-after-free vulnerabilities were discovered in DBD::mysql. A remote\nattacker can take advantage of these flaws to cause a denial-of-service\nagainst an application using DBD::mysql (application crash), or\npotentially to execute arbitrary code with the privileges of the user\nrunning the application(CVE-2014-9906, CVE-2015-8949).\n","status":"published","published":"2016-09-16T09:27:13Z","modified":"2026-04-16T06:26:04.107583886Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"USN-3103-1","title":"libdbd-mysql-perl vulnerabilities","description":"It was discovered that DBD::mysql incorrectly handled certain memory\noperations. A remote attacker could use this issue to cause DBD::mysql to\ncrash, resulting in a denial of service, or possibly execute arbitrary\ncode. (CVE-2014-9906)\n\nHanno Böck discovered that DBD::mysql incorrectly handled certain memory\noperations. A remote attacker could use this issue to cause DBD::mysql to\ncrash, resulting in a denial of service, or possibly execute arbitrary\ncode. (CVE-2015-8949)\n\nPali Rohár discovered that DBD::mysql incorrectly handled certain user\nsupplied data. A remote attacker could use this issue to cause DBD::mysql\nto crash, resulting in a denial of service, or possibly execute arbitrary\ncode. (CVE-2016-1246)\n","status":"published","published":"2016-10-13T13:54:06Z","modified":"2026-02-10T04:41:02Z","updated_at":"2026-11-02T16:58:10.303275Z"}]}}
