Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to PostgreSQL with low-privilege account
-
DeliveryInsert crafted rule row with out-of-range Weight value
-
ExploitTrigger address_standardizer rules processing
-
ExecutionOOB read in load_value array
-
PersistPostgreSQL backend crashes
-
ImpactAll cluster sessions terminated
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) the address_standardizer PostgreSQL extension is installed and in use; (2) the attacker holds a database account with INSERT or UPDATE privileges on the rules tables consumed by address_standardizer; (3) address_standardizer processes the tampered rules table at some point after the malicious row is inserted. Limiting factors: authentication is required (PR:L), the extension must be actively deployed and the rules API must be in use - deployments using PostGIS without address_standardizer are entirely unaffected. There is no remote unauthenticated path; the vulnerability is not reachable through SQL injection into the address parsing functions themselves unless the attacker also controls the rules table. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N, score 7.1) accurately captures the impact: a low-privileged but authenticated network attacker achieves high availability impact with no confidentiality or integrity consequence. The attack complexity is genuinely low once the attacker controls a rules-table row - no race condition or special timing required. EPSS data is not provided; given that the affected surface requires database write privileges and the product is a niche geocoding extension, opportunistic mass exploitation is unlikely. The blast radius is notable: crashing the backend terminates all sessions cluster-wide, not just the attacker's. No public exploit code or CISA KEV listing exists at time of analysis. The principal real-world risk is insider threat or a compromised low-privilege database account targeting PostgreSQL service availability. Severity is genuine but scoped: deployments not using address_standardizer's rules API are unaffected. |
| Exploit ScenarioDerived | An attacker with a low-privilege PostgreSQL account inserts a rules row containing a Weight value of -1 or an integer exceeding NUMBER_OF_WEIGHTS into the rules table consumed by address_standardizer. When address_standardizer next processes that rules table, rules_add_rule() in gamma.c uses the out-of-range value as an array subscript into load_value, triggering an out-of-bounds memory read that crashes the PostgreSQL backend process and immediately terminates all client sessions across the cluster. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 13, 2026
Out-of-bounds read in PostGIS address_standardizer through 3.7.0 allows authenticated database users to crash the entire PostgreSQL cluster by supplying rule rows with out-of-range Weight values. The Weight field is consumed directly as an array index into the load_value array inside rules_add_rule() (src/gamma.c:338) without any bounds validation, so a Weight of -1 or >= NUMBER_OF_WEIGHTS triggers an OOB read that terminates the PostgreSQL backend process and drops all active cluster sessions. No public exploit code has been identified at time of analysis; patch commits are available upstream.
RemediationAI
Upstream fix available via PR #6 (https://github.com/postgis/address_standardizer/pull/6) and commits a5cb4b1360a040973092f13b1af97a718e7e104a and e987949e0fccff6a0e7a6d3f86814d5c7a01f481, targeting version 3.7.1; a tagged release version has not been independently confirmed at time of analysis, so monitor the upstream repository for the 3.7.1 release. As a compensating control, restrict INSERT and UPDATE privileges on rules tables to trusted administrative accounts only, preventing unprivileged users from planting malicious Weight values - this directly eliminates the attack surface without disabling the extension. Alternatively, audit existing rules tables for Weight values outside the valid range (0 to NUMBER_OF_WEIGHTS - 1) using a SQL query before upgrading.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
address_standardizer is a standalone PostgreSQL extension (formerly part of PostGIS) that parses free-form postal addresses into structured components using caller-supplied rules tables. The rules engine in src/gamma.c reads Weight values from those tables and uses them directly as indexes into the fixed-size load_value array without a bounds check. The root cause is CWE-125 (Out-of-bounds Read): the function trusts caller-controlled data as a safe array subscript. Because the rules tables are populated by SQL INSERT statements, any database user with write access to the rules schema can plant a malicious Weight value. The affected code paths are documented in the references at gamma.c:301-311 and analyze.c:860. Affected CPE: cpe:2.3:a:postgis:address_standardizer:*:*:*:*:*:*:*:* up to and including version 3.7.0.
Know when Postgis gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Low-privilege authenticated database access required to write rules tables; no confidentiality or integrity impact; crash causes high availability loss cluster-wide.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
PostGIS address_standardizer through 3.7.0 fails to validate the Weight parameter from caller-supplied rules tables before using it as an array index. Attackers can craft malicious rule rows with out-of-range Weight values to trigger out-of-bounds reads in the load_value array, causing the PostgreSQL backend process to crash and terminate all cluster sessions.
Executive ViewAI
PostGIS address_standardizer through version 3.7.0 allows any authenticated database user to crash the entire PostgreSQL cluster, terminating all active sessions and rendering dependent applications unable to access data. Organizations running geospatial databases face critical availability risk from a single malicious or compromised database account triggering complete service outage.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Out-of-bounds write in the PostGIS address_standardizer extension through 3.7.0 allows a low-privileged database user to
Out-of-bounds read in PostGIS before 3.7.0beta2 enables low-privileged database users to disclose server process memory
EUVD-2026-76997
GHSA-pjx8-ww25-pcf8
NVD
CVE.org
EPSS
VulDB
Exploit-DB