BreachSpiderVerified, not vibes

CVE-2024-10977 in Postgresql

Low 3.7

Client use of server error message in PostgreSQL allows a server not trusted under current SSL or GSS settings to furnish arbitrary non-NUL bytes to the libpq application. For example, a man-in-the-middle attacker could send a long error message that a human or screen-scraper user of psql mistakes for valid query r...

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

CVSS 3.13.7
EPSS0.4%
EPSS percentile25th
FixSee advisory

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

Affected products and versions

VendorProductAffected versions
Postgresql Postgresql 17.0 ≥ 12.0, < 12.21 ≥ 13.0, < 13.17 ≥ 14.0, < 14.14 ≥ 15.0, < 15.9 ≥ 16.0, < 16.5

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: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Exploitation

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

Official description

Client use of server error message in PostgreSQL allows a server not trusted under current SSL or GSS settings to furnish arbitrary non-NUL bytes to the libpq application. For example, a man-in-the-middle attacker could send a long error message that a human or screen-scraper user of psql mistakes for valid query results. This is probably not a concern for clients where the user interface unambiguously indicates the boundary between one error message and other text. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-10977
BreachSpider IDBS-2024-GLOBAL-181888-L
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Published2024-11-14
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-345: CWE-345

CWE-348: CWE-348

Related attack patterns (CAPEC)

CAPEC-76 Manipulating Web Input to File System Calls via CWE-348

CAPEC-85 AJAX Footprinting via CWE-348

CAPEC-142 DNS Cache Poisoning via CWE-345, CWE-348

CAPEC-218 Spoofing of UDDI/ebXML Messages via CWE-345

CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-345

Show all 15

CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-345

CAPEC-388 Application API Button Hijacking via CWE-345

CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-345

CAPEC-73 User-Controlled Filename via CWE-348

CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-345

CAPEC-141 Cache Poisoning via CWE-345, CWE-348

CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-345

CAPEC-386 Application API Navigation Remapping via CWE-345

CAPEC-701 Browser in the Middle (BiTM) via CWE-345

CAPEC-148 Content Spoofing via CWE-345

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A low severity vulnerability affects Postgresql systems (CVE-2024-10977). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.

Vulnerability details: Client use of server error message in PostgreSQL allows a server not trusted under current SSL or GSS settings to furnish arbitrary non-NUL bytes to the libpq application. For example, a man-in-the-middle attacker could send a long error message that a human or screen-scraper user of psql mistakes for valid query results. This is probably not a concern for clients where the user interface unambiguously indicates the boundary between one error message and other text. Versions before PostgreSQL CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N.

Questions

What is CVE-2024-10977?

A low severity vulnerability affects Postgresql systems (CVE-2024-10977). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.

What is the CVSS score for CVE-2024-10977?

CVE-2024-10977 has CVSS 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N. EPSS: 0.4%.

Is CVE-2024-10977 actively exploited?

No confirmed active exploitation of CVE-2024-10977 as of 2026-09-25.

How do I remediate CVE-2024-10977?

Priority: MONITOR. Advisory: https://www.postgresql.org/support/security/CVE-2024-10977/ PSIRT: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

What systems are affected by CVE-2024-10977?

CVE-2024-10977 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-06-17.