
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-144604 is an out-of-bounds read vulnerability in PostGIS's RASTER_reclass function that allows low-privileged, authenticated database users to crash the PostgreSQL server cluster. It affects PostGIS through version 3.7.0 and was disclosed on December 4, 2026. A crafted reclass expression (e.g., '(:1') causes the function to read past the end of its token array, triggering a SIGSEGV signal that restarts the database cluster and terminates all active sessions. The vulnerability carries a CVSS v3.1 base score of 6.5 (Medium) and a CVSS v4.0 base score of 7.1 (High) (Github Advisory).
The root cause is an out-of-bounds read (CWE-125) in the RASTER_reclass function within raster/rt_pg/rtpg_mapalgebra.c. When parsing a reclass range expression, the code at lines 3829–3870 of the 3.7.0 source checks c < 1 before accessing dash_set[c+1], but fails to verify that c + 1 < dash_n — meaning a bracket-only token like '(' or '[' with no following element causes an out-of-bounds array read (PostGIS Source). The fix, committed by Aleksander Alekseev, adds the guard c + 1 < dash_n to the conditional before accessing the next token (PostGIS Commit). Exploitation requires only a low-privileged database role with the ability to call ST_Reclass over a network connection — no special configuration or elevated privileges are needed beyond basic database access.
Successful exploitation results in a complete denial of service for the entire PostgreSQL cluster: the SIGSEGV crash forces a cluster restart, immediately dropping all active database sessions for all users — not just the attacker's session (Github Advisory). There is no confidentiality or integrity impact; the vulnerability is purely an availability issue. In multi-tenant or shared database environments, a single low-privileged user can disrupt all other tenants and applications relying on the same PostgreSQL instance.
No public proof-of-concept exploit code has been identified, and there is no evidence of in-the-wild exploitation at the time of disclosure (Github Advisory). The EPSS score is 0.0, reflecting a very low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Despite the lack of active exploitation, the attack is trivially reproducible by any authenticated database user with access to ST_Reclass, requiring only a single malformed SQL call.
ST_Reclass function in a PostGIS-enabled database running version 3.7.0 or earlier.SELECT PostGIS_Full_Version(); to verify the target is vulnerable (≤ 3.7.0).ST_Reclass with a reclass expression consisting only of a bracket, such as:SELECT ST_Reclass(rast, 1, '(:1', '8BUI', 0) FROM some_raster_table LIMIT 1;RASTER_reclass C function parses the expression, encounters the lone bracket token, and reads past the end of the dash_set token array, triggering a SIGSEGV.FATAL: terminating connection due to administrator command or LOG: server process (PID XXXX) was terminated by signal 11: Segmentation fault immediately following a query involving ST_Reclass or RASTER_reclass.LOG: database system is shut down and subsequent LOG: database system was shut down restart messages in rapid, unexpected succession.log_min_duration_statement is enabled) showing calls to ST_Reclass with reclass expressions containing only bracket characters (e.g., '(:1', '[:1', '):', ']:').postgres postmaster process observable via system process monitoring or service management logs (e.g., systemd journal entries for the PostgreSQL service).Upgrade PostGIS to a version later than 3.7.0 that includes the fix from commit ab5b0255a487b5859db3ce94636f46446158b379, which adds a bounds check (c + 1 < dash_n) before accessing the next token in the reclass expression parser (PostGIS Commit). As a temporary workaround until patching is possible, revoke EXECUTE permission on ST_Reclass from all non-essential database roles using REVOKE EXECUTE ON FUNCTION ST_Reclass(...) FROM <role>;. Additionally, monitor PostgreSQL logs for unexpected cluster restarts and investigate any associated ST_Reclass calls.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."