BreachSpiderVerified, not vibes

CVE-2016-3065 in Postgresql

Critical 9.1 Fix available

The (1) brin_page_type and (2) brin_metapage_info functions in the pageinspect extension in PostgreSQL before 9.5.x before 9.5.2 allows attackers to bypass intended access restrictions and consequently obtain sensitive server memory information or cause a denial of service (server crash) via a crafted bytea value in...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.09.1
EPSS4.1%
EPSS percentile91th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Postgresql Postgresql 9.5 9.5.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

The (1) brin_page_type and (2) brin_metapage_info functions in the pageinspect extension in PostgreSQL before 9.5.x before 9.5.2 allows attackers to bypass intended access restrictions and consequently obtain sensitive server memory information or cause a denial of service (server crash) via a crafted bytea value in a BRIN index page.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2016-3065
BreachSpider IDBS-2016-GLOBAL-258090-C
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Published2016-04-11
Last modified2026-05-06
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-264: Permissions, Privileges, and Access Controls

Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2016. A critical vulnerability affects Postgresql systems (CVE-2016-3065). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: The (1) brin_page_type and (2) brin_metapage_info functions in the pageinspect extension in PostgreSQL before 9.5.x before 9.5.2 allows attackers to bypass intended access restrictions and consequently obtain sensitive server memory information or cause a denial of service (server crash) via a crafted bytea value in a BRIN index page. CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.

Questions

What is CVE-2016-3065?

This vulnerability was disclosed in 2016. A critical vulnerability affects Postgresql systems (CVE-2016-3065). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2016-3065?

CVE-2016-3065 has CVSS 9.1 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H. EPSS: 4.1%.

Is CVE-2016-3065 actively exploited?

No confirmed active exploitation of CVE-2016-3065 as of 2026-05-30.

How do I remediate CVE-2016-3065?

Priority: MEDIUM. Advisory: http://www.postgresql.org/about/news/1656/ PSIRT: [email protected]

What systems are affected by CVE-2016-3065?

CVE-2016-3065 affects Postgresql Postgresql.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Postgresql","product":"Postgresql","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-05-06.