CVE Vulnerabilities

CVE-2015-8949

Use After Free

Published: Aug 19, 2016 | Modified: Apr 12, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
10 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C
RedHat/V2
2.6 LOW
AV:N/AC:H/Au:N/C:P/I:N/A:N
RedHat/V3
9.8 LOW
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM

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.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Dbd-mysql Dbd-mysql_project 4.033 (including) 4.033 (including)
Debian_linux Debian 8.0 (including) 8.0 (including)
Libdbd-mysql-perl Ubuntu esm-apps/xenial *
Libdbd-mysql-perl Ubuntu esm-infra-legacy/trusty *
Libdbd-mysql-perl Ubuntu precise *
Libdbd-mysql-perl Ubuntu trusty *
Libdbd-mysql-perl Ubuntu trusty/esm *
Libdbd-mysql-perl Ubuntu upstream *
Libdbd-mysql-perl Ubuntu wily *
Libdbd-mysql-perl Ubuntu xenial *

Potential Mitigations

References