CVE Vulnerabilities

CVE-2019-19344

Use After Free

Published: Jan 21, 2020 | Modified: Jan 14, 2025
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:N/I:N/A:P
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

There is a use-after-free issue in all samba 4.9.x versions before 4.9.18, all samba 4.10.x versions before 4.10.12 and all samba 4.11.x versions before 4.11.5, essentially due to a call to realloc() while other local variables still point at the original buffer.

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
Samba Samba 4.9.0 (including) 4.9.18 (excluding)
Samba Samba 4.10.0 (including) 4.10.12 (excluding)
Samba Samba 4.11.0 (including) 4.11.5 (excluding)
Samba Ubuntu devel *
Samba Ubuntu disco *
Samba Ubuntu eoan *
Samba Ubuntu trusty *
Samba Ubuntu upstream *

Potential Mitigations

References