CVE-2024-10977
published low CVSS 3.1 · 3.1PostgreSQL libpq retains an error message from man-in-the-middle
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | PostgreSQL17 to < 17.1 · 16 to < 16.5 · 15 to < 15.9 · 14 to < 14.14 · 13 to < 13.17 · 0 to < 12.21 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL13-2024-008 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL14-2024-014 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL14-2024-015 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-786 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | postgresql17 | Fixed | 17.1-r0 | Package fix record |
| Debian | bookworm | postgresql-15 | Advisory build | 15.9-0+deb12u1 | DSA-5812-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-787 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | libecpg6aarch64 | Advisory build | 17.2-3.5.1 | SUSE-SU-2024:4052-1 |
| Alpine Linux | v3.17 | postgresql13 | Fixed | 13.17-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql14 | Fixed | 14.14-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql15 | Fixed | 15.9-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql13 | Fixed | 13.17-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql14 | Fixed | 14.14-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql15 | Fixed | 15.9-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql13 | Fixed | 13.17-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql14 | Fixed | 14.14-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql15 | Fixed | 15.9-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql16 | Fixed | 16.5-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql14 | Fixed | 14.14-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql15 | Fixed | 15.9-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql16 | Fixed | 16.5-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql15 | Fixed | 15.9-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql16 | Fixed | 16.5-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql17 | Fixed | 17.1-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql15 | Fixed | 15.9-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql16 | Fixed | 16.5-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql17 | Fixed | 17.1-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql16 | Fixed | 16.5-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql17 | Fixed | 17.1-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql16 | Fixed | 16.5-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql17 | Fixed | 17.1-r0 | Package fix record |
| Debian | bullseye | postgresql-13 | Advisory build | 13.17-0+deb11u1 | DLA-3954-1 |
| SUSE / openSUSE | SLE-12-SP5 | libecpg6aarch64 | Advisory build | 17.2-3.5.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | libecpg6ppc64le | Advisory build | 17.2-3.5.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | libecpg6ppc64le | Advisory build | 17.2-3.5.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | libecpg6s390x | Advisory build | 17.2-3.5.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | libecpg6s390x | Advisory build | 17.2-3.5.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | libecpg6s390x | Advisory build | 32bit-17.2-3.5.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | libecpg6x86_64 | Advisory build | 17.2-3.5.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | libecpg6x86_64 | Advisory build | 17.2-3.5.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | libecpg6x86_64 | Advisory build | 32bit-17.2-3.5.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | libecpg6-32bits390x | Advisory build | 17.2-3.5.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | libecpg6-32bitx86_64 | Advisory build | 17.2-3.5.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpq5aarch64 | Advisory build | 17.2-3.5.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpq5aarch64 | Advisory build | 17.2-3.5.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpq5ppc64le | Advisory build | 17.2-3.5.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpq5ppc64le | Advisory build | 17.2-3.5.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpq5s390x | Advisory build | 17.2-3.5.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpq5s390x | Advisory build | 17.2-3.5.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpq5s390x | Advisory build | 32bit-17.2-3.5.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpq5x86_64 | Advisory build | 17.2-3.5.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpq5x86_64 | Advisory build | 17.2-3.5.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpq5x86_64 | Advisory build | 32bit-17.2-3.5.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpq5-32bits390x | Advisory build | 17.2-3.5.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpq5-32bitx86_64 | Advisory build | 17.2-3.5.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresqlnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresqlnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-contribnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-contribnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-develnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-docsnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-docsnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-plperlnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-plperlnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-plpythonnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-plpythonnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-pltclnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-pltclnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-servernoarch | Advisory build | 17-4.29.1 | SUSE-SU-2024:4052-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-servernoarch | Advisory build | 17-4.29.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql-server-develnoarch | Advisory build | 17-4.29.1 | SUSE-SU-2025:01799-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12aarch64 | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12ppc64le | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12s390x | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12x86_64 | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-contribaarch64 | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-contribppc64le | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-contribs390x | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-contribx86_64 | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-docsnoarch | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-plperlaarch64 | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-plperlppc64le | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-plperls390x | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-plperlx86_64 | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-plpythonaarch64 | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-plpythonppc64le | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-plpythons390x | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-plpythonx86_64 | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-pltclaarch64 | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-pltclppc64le | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-pltcls390x | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-pltclx86_64 | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-serveraarch64 | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-serverppc64le | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-servers390x | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql12-serverx86_64 | Advisory build | 12.22-3.63.1 | SUSE-SU-2024:4097-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql13aarch64 | Advisory build | 13.18-3.55.2 | SUSE-SU-2024:4114-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql13ppc64le | Advisory build | 13.18-3.55.2 | SUSE-SU-2024:4114-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql13s390x | Advisory build | 13.18-3.55.2 | SUSE-SU-2024:4114-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql13x86_64 | Advisory build | 13.18-3.55.2 | SUSE-SU-2024:4114-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql13-contribaarch64 | Advisory build | 13.18-3.55.2 | SUSE-SU-2024:4114-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql13-contribppc64le | Advisory build | 13.18-3.55.2 | SUSE-SU-2024:4114-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql13-contribs390x | Advisory build | 13.18-3.55.2 | SUSE-SU-2024:4114-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql13-contribx86_64 | Advisory build | 13.18-3.55.2 | SUSE-SU-2024:4114-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresql13-docsnoarch | Advisory build | 13.18-3.55.2 | SUSE-SU-2024:4114-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.1 / 10
- Severity
- low
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | PostgreSQL | 17 to < 17.1 (affected · rpm)16 to < 16.5 (affected · rpm)15 to < 15.9 (affected · rpm)14 to < 14.14 (affected · rpm)13 to < 13.17 (affected · rpm)0 to < 12.21 (affected · rpm)Default: unaffected | PostgreSQL · cna |
Weaknesses
1- CWE-348 Use of Less Trusted Source
References
2Provider assertions
3PostgreSQL · cna
PostgreSQL libpq retains an error message from man-in-the-middle
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0db00ae76df051bf784e7e6a132fb02510f8bd6d25ea46979c98b8884801a4ef
- Ingested
- 23 Sep 2026, 08:16:56 UTC
- Source record
- Official CVE record