CVE-2024-10977

PostgreSQL libpq retains an error message from man-in-the-middle

LOW
3.7
CVSS Score
Published: November 14, 2024 at 01:00 PM UTC
Updated: June 17, 2026 at 06:56 AM UTC
1 product affected across 1 vendorPostgreSQL

Using PostgreSQL by N/A?

Get instant alerts when new vulnerabilities affect PostgreSQL - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW3.7
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 12.2112.0 ≤ v < 12.2113 ≤ v < 13.1713.0 ≤ v < 13.1714 ≤ v < 14.1414.0 ≤ v < 14.1415 ≤ v < 15.915.0 ≤ v < 15.916 ≤ v < 16.516.0 ≤ v < 16.517 ≤ v < 17.1131415161717.017.0 beta117.0 beta217.0 beta317.0 rc1
Affected range stops below 12.21, so it looks safe — our inference, not a vendor statement
Affected range stops below 13.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 14.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 15.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 16.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

Vendor Advisory
Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
https://www.postgresql.org/support/security/CVE-2024-10977/
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/11/msg00011.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-348CWE-345

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card