A flaw was found in MariaDB Connector/J. When processing database response packets, the driver allocates memory based on server-declared lengths before verifying that sufficient data remains in the packet. A malicious database server or an attacker positioned in the middle of network communication can send crafted response packets with manipulated length values to trigger uncontrolled memory allocations. This flaw can exhaust available system memory, leading to an OutOfMemoryError and a Denial of Service (DoS) for the client application.
Exploitability
AV:NAC:HPR:NUI:NScope
S:UImpact
C:NI:NA:H5.9/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H