Skip to main content

PostgreSQL EUVDEUVD-2026-124502

| CVE-2026-116322 MEDIUM
Improper Locking (CWE-667)
2026-11-12 PostgreSQL GHSA-j4qg-6655-x9r7
5.3
CVSS 3.1 · Vendor: PostgreSQL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to PostgreSQL 18 over network
  2. Delivery
    Issue cancel request during startup
  3. Exploit
    Time authentication_timeout to fire under spinlock
  4. Execution
    Trigger improper-locking fault
  5. Impact
    Server restarts (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Proper locking
Exploitation Conditions

Exploitation targets PostgreSQL major version 18, minor versions before 18.7 (versions before 18 are entirely unaffected). The condition described by the vendor is an improper-locking fault reached by arranging for the authentication_timeout to arrive while the server holds a spinlock during cancel handling - meaning the attacker must initiate a connection/cancel sequence against a server where authentication_timeout is in effect (it is enabled by default). Per the CVSS vector (AV:N/AC:L/PR:N/UI:N), no authentication, no user interaction, and no non-default configuration are required for the network trigger. Limiting factors: impact is restricted to a server restart (availability only, no data compromise); the flaw requires reaching the specific cancel-handling timing window, and the precise degree of timing control an attacker needs is not detailed in the available sources.

Impact

This is a moderate-severity availability issue (CVSS 5.3, A:L only; C:N/I:N) in PostgreSQL major version 18. The CVSS vector AV:N/AC:L/PR:N/UI:N confirms a remote, unauthenticated trigger with no user interaction, and the impact is confined to a server restart (temporary denial of service) rather than code execution or data exposure. There is no EPSS score, no CISA KEV listing, and no public exploit identified at time of analysis, so there is no evidence of active or widespread exploitation. The vuln.today decision label is 'this_month,' indicating prioritized but non-emergency remediation rather than act_now/emergency. Net assessment: a real but bounded operational risk - a crash/restart DoS against a very widely deployed database - not a confidentiality or integrity breach. The CWE-667 (improper locking) root cause and the specific trigger (an authentication_timeout firing while a spinlock is held during cancel handling) are drawn from the vendor description; the precise exploit mechanics beyond that are not detailed in the available sources, so treat exploitability nuance as inferred rather than confirmed.

Exploit ScenarioDerived

A remote, unauthenticated client initiates a connection and query-cancel sequence to a PostgreSQL 18 (pre-18.7) server, arranging for the authentication_timeout to elapse while the backend holds a spinlock during cancel handling. The resulting improper-locking condition forces the PostgreSQL server to restart, interrupting all active sessions. No public exploit code is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 12, 2026

Improper locking in PostgreSQL 18 startup processing lets an unauthenticated remote client force a server restart by timing the authentication_timeout to expire while the server holds a spinlock during cancel handling. Only major version 18 is affected, specifically minor versions before 18.7; all releases prior to 18 are unaffected. The vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (score 5.3), so the impact is limited to availability - a restart, with no confidentiality or integrity loss; no CISA KEV entry or working public exploit was identified in the supplied data, and the flaw requires reaching a specific cancel-handling timing window whose attacker controllability is not detailed by the sources.

RemediationAI

Upgrade PostgreSQL 18.x to 18.7, the fixed minor release per the vendor advisory at https://www.postgresql.org/support/security/CVE-2026-116322/; no patch is applicable to releases before 18 because they are not affected, and 18.7 is the only fixed version identified in the available data, so no backport for earlier major branches is listed. Run a minor-version upgrade rather than a dump/restore, and verify the running binary version after restarting the postmaster, since the fix only takes effect once the server is restarted on the new binaries. Operators who cannot upgrade immediately should note that updating is the complete fix; the vulnerability depends on the default-enabled authentication_timeout interacting with cancel handling during startup, so reducing exposure means limiting who can reach the PostgreSQL port at the network layer and being aware that any such restriction has the side effect of blocking legitimate client connectivity. No other vendor-stated workaround is provided in the available sources.

Affected VersionsENISA

PostgreSQL 18 <18.7

Affected Packages

euvd postgresql fix: 18.7

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

PostgreSQL performs backend startup and authentication handling within its multi-process, postmaster-supervised architecture, and cancel handling runs on these startup paths. The root cause is classified as CWE-667 (Improper Locking): a spinlock is held while the cancel-handling code runs, and the authentication_timeout timer - enabled by default - can arrive in that window, producing the locking fault that restarts the server. Because the path is exercised by ordinary network connection and cancel traffic (AV:N/AC:L/PR:N/UI:N), no credentials or user interaction are needed to reach it. Containment is entirely by version boundary: PostgreSQL 18 minor releases below 18.7 are in scope, while every release before 18.0 lacks the affected startup handling and is unaffected. The precise degree of timing control an attacker requires is not described in the available sources, so the trigger mechanics beyond the vendor's stated authentication_timeout/spinlock interaction remain unquantified.

Know when PostgreSQL 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

Vendor (PostgreSQL) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Remote unauthenticated trigger with no user interaction (AV:N/PR:N/UI:N); impact is a temporary server restart only, so C:N/I:N/A:L and scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (PostgreSQL).

CVSS VectorVendor: PostgreSQL

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch available
Nov 12, 2026 - 15:02 EUVD
CVE Published
Nov 12, 2026 - 14:15 cve.org
MEDIUM 5.3

DescriptionCVE.org

Improper locking in PostgreSQL startup processing allows an unauthenticated network client to trigger a server restart, via arranging for authentication_timeout to arrive while it holds a spinlock during cancel handling. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
High
PostgreSQL is a top-tier enterprise database deployed across countless production environments
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy