---
id: "CVE-2026-116333"
page: "https://infrastack.ai/live/CVE-2026-116333"
kind: "vulnerability"
aliases: ["CVE-2026-116333"]
title: "PostgreSQL: parallel B-tree scans let an object creator read server memory"
severity: "medium"
cvss: 6.5
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["database", "postgresql", "runtime", "self-hosted"]
not_affected_if: ["managed-hosting-patched", "no-untrusted-object-creators", "versions-before-17"]
published_at: "2026-11-12T15:17:41+00:00"
first_seen_at: "2026-11-12T15:41:55+00:00"
updated_at: "2026-11-12T15:43:52+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-116333", "first_seen_at": "2026-11-12T15:41:55+00:00"}]
exploit_sources: []
---

# PostgreSQL: parallel B-tree scans let an object creator read server memory

Link for people: https://infrastack.ai/live/CVE-2026-116333 (this .md is for agents)

A buffer over-read in PostgreSQL's parallel B-tree index scans lets a user who can create database objects read chosen server memory addresses. It is triggered by a function wrongly marked PARALLEL SAFE or STABLE, which makes parallel workers build different scan-key arrays.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Run `SELECT version();` in psql and compare against the fixed versions below.
- Check whether any function is marked PARALLEL SAFE or STABLE in a way that is wrong for its behaviour, for example with `SELECT proname, proparallel, provolatile FROM pg_proc;`.

## Fix

- PostgreSQL 18: move to `18.7` or later.
- PostgreSQL 17: move to `17.12` or later.

## Timeline

- 2026-11-12T15:41:55+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-116333

## From the sources

Buffer over-read in PostgreSQL parallel B-tree scans allows an object creator to read attacker-chosen server-memory addresses, via a function incorrectly marked PARALLEL SAFE or STABLE to make participating workers build different scan-key arrays.  Within major versions 17-18, minor versions before PostgreSQL 18.7 and 17.12 are affected.  Versions before PostgreSQL 17 are unaffected.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
