CVE & CISA-KEV Catalog

CVE-2024-10977

LOW
3.1
CVSS v3
NVD

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.

How to fix

Remediation Available
postgresql15Amazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-contribAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-contrib-debuginfoAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-debuginfoAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-debugsourceAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-docsAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-docs-debuginfoAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-llvmjitAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-llvmjit-debuginfoAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-plperlAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-plperl-debuginfoAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-plpython3Amazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-plpython3-debuginfoAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-pltclAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-pltcl-debuginfoAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-private-develAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-private-libsAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-private-libs-debuginfoAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-serverAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-server-debuginfoAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-server-develAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-server-devel-debuginfoAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-staticAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-testAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-test-debuginfoAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-test-rpm-macrosAmazon
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-upgradeAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-upgrade-debuginfoAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-upgrade-develAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1
postgresql15-upgrade-devel-debuginfoAmazon
Fixed in:0:15.9-1.amzn2023.0.1
Fixed in:0:15.9-1.amzn2023.0.1

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N

Exploit Intelligence

0.37%probability of exploitation in 30 days
31stpercentile

Low risk: more likely to be exploited than 31% of all known CVEs.

References

Vendor Advisory1
Other references1

Related Vulnerabilities

Other CWE-348 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-59951Critical9.14.3%--
CVE-2022-31813Critical9.83.5%-Fix
CVE-2024-45410Critical9.81.5%-Fix
CVE-2021-21373High7.51.2%-Fix
CVE-2021-21374High8.11.0%-Fix
CVE-2022-2255High7.50.9%-Fix

Common questions

How do I fix CVE-2024-10977?

Published advisories record a fix for 69 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2024-10977 being actively exploited?

Not that we know of. CVE-2024-10977 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.37% is the estimated probability that it will be exploited in the next 30 days. That is higher than 31% of all scored CVEs.

How severe is CVE-2024-10977?

CVE-2024-10977 has a CVSS v3 base score of 3.1, rated low. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2024-10977 affect?

Published advisories record a fix for postgresql15 (Amazon), postgresql15-contrib (Amazon), postgresql15-contrib-debuginfo (Amazon), postgresql15-debuginfo (Amazon), and 65 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2024-10977
CVE-2024-10977 severity badge

Markdown

[![CVE-2024-10977](https://tridentstack.com/cve/badge/CVE-2024-10977.svg)](https://tridentstack.com/cve/CVE-2024-10977)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-10977"><img src="https://tridentstack.com/cve/badge/CVE-2024-10977.svg" alt="CVE-2024-10977"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.