CVE-2026-145816
MediumCVSS 6.5Summary
plv8 through 3.2.5 contains an out-of-bounds read vulnerability that allows low-privileged roles to crash the database server by passing unvalidated argument indexes to window function accessors. Attackers who can create a plv8 WINDOW function can call winobj.get_func_arg_current, get_func_arg_in_partition, or get_func_arg_in_frame with out-of-range indexes to repeatedly segfault backends and terminate all sessions.
Risk Assessment
The ability for a low-privileged user to crash the database server leads to denial of service and disruption of critical application availability.
Recommendation
Update plv8 to a version later than 3.2.5, which fixes the out-of-bounds read vulnerability.
Other vulnerabilities in plv8
Original NVD description (English source)
plv8 through 3.2.5 contains an out-of-bounds read vulnerability that allows low-privileged roles to crash the database server by passing unvalidated argument indexes to window function accessors. Attackers who can create a plv8 WINDOW function can call winobj.get_func_arg_current, get_func_arg_in_partition, or get_func_arg_in_frame with out-of-range indexes to repeatedly segfault backends and terminate all sessions.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

