Use of inherently dangerous function PQfn(..., result_is_int=0, ...) in PostgreSQL libpq lo_export(), lo_read(), lo_lseek64(), and lo_tell64() functions allows the server superuser to overwrite a client stack buffer with an arbitrarily-large response. Like gets(), PQfn(..., result_is_int=0, ...) stores arbitrary-length, server-determined data into a buffer of unspecified size. Because both the \lo_export command in psql and pg_dump call lo_read(), the server superuser can overwrite pg_dump or psql stack memory. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.
CVE-2026-6477
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-05-14. a secondary CVSS source baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.8
- EG Score
- 8.8HIGHmedium confidence
- EG Risk
- 40EG Risk 40/100
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation0% × 40%Automatability0% × 15% - EPSS PROB
- 0.5%
- EPSS %ILE
- 37th
- KEV
- Not listed
Published
May 14, 2026
Last Modified
August 25, 2026
Advisory Details (1)
Auto-updated May 14, 2026PostgreSQL: CVE-2026-6477: PostgreSQL libpq lo_* functions let server superuser overwrite client stack memory
https://www.postgresql.org/support/security/CVE-2026-6477/Vendor Advisories for CVE-2026-6477(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:74674Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Base Images 3.4.3 (Neuron)
- RHSA-2026:74463Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Base Images 3.2.3 (ROCm 7.0)
- RHSA-2026:74462Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Base Images 3.2.3 (CUDA 12.9)
- RHSA-2026:74461Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Base Images 3.2.3 (Spyre)
- RHSA-2026:74460Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Base Images 3.2.3 (CPU)
- RHSA-2026:74459Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Base Images 3.2.3 (ROCm 6.4)
- RHSA-2026:74458Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Base Images 3.2.3 (TPU)
- RHSA-2026:73962Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Base Images 3.0.3 (cuda)
- +12 more
Patch Availability(30)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(14 across 9 ecosystems)
Alpine:v3.20(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql15 | — |
| — |
| postgresql16 | — |
| — |
Alpine:v3.21(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql16 | — |
| — |
| postgresql17 | — |
| — |
Alpine:v3.22(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql16 | — |
| — |
| postgresql17 | — |
| — |
Alpine:v3.23(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql17 | — |
| — |
| postgresql18 | — |
| — |
Alpine:v3.24(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql17 | — |
| — |
| postgresql18 | — |
| — |
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql-13 | 13.10-0+deb11u1 ... 13.9-0+deb11u1 (25 versions) |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql-15 | 15.10-0+deb12u1 ... 15.9-0+deb12u1 (20 versions) |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql-17 | 17.5-1 ... 17.9-0+deb13u1 (6 versions) |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| postgresql-18 | 18.0-1 ... 18~~devel.20250502-1 (19 versions) |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(25)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Microsoft MSRCCVE-2026-64772026-05-16
PostgreSQL libpq lo_* functions let server superuser overwrite client stack memory
- Red HatRHSA-2026:21182IMPORTANT2026-05-14
RHSA-2026:21182 — Important
- Red HatRHSA-2026:22878IMPORTANT2026-05-14
RHSA-2026:22878 — Important
- Red HatRHSA-2026:26181IMPORTANT2026-05-14
RHSA-2026:26181 — Important
- Red HatRHSA-2026:26203IMPORTANT2026-05-14
RHSA-2026:26203 — Important
- Red HatRHSA-2026:26204IMPORTANT2026-05-14
RHSA-2026:26204 — Important
- Red HatRHSA-2026:26524IMPORTANT2026-05-14
RHSA-2026:26524 — Important
- Red HatRHSA-2026:26525IMPORTANT2026-05-14
RHSA-2026:26525 — Important
- Red HatRHSA-2026:26561IMPORTANT2026-05-14
RHSA-2026:26561 — Important
- Red HatRHSA-2026:27718IMPORTANT2026-05-14
RHSA-2026:27718 — Important
- Red HatRHSA-2026:27738IMPORTANT2026-05-14
RHSA-2026:27738 — Important
- Red HatRHSA-2026:27741IMPORTANT2026-05-14
RHSA-2026:27741 — Important
- Red HatRHSA-2026:27742IMPORTANT2026-05-14
RHSA-2026:27742 — Important
- Red HatRHSA-2026:27743IMPORTANT2026-05-14
RHSA-2026:27743 — Important
- Red HatRHSA-2026:28037IMPORTANT2026-05-14
RHSA-2026:28037 — Important
- Red HatRHSA-2026:28143IMPORTANT2026-05-14
RHSA-2026:28143 — Important
- Red HatRHSA-2026:28208IMPORTANT2026-05-14
RHSA-2026:28208 — Important
- Red HatRHSA-2026:28999IMPORTANT2026-05-14
RHSA-2026:28999 — Important
- Red HatRHSA-2026:29212IMPORTANT2026-05-14
RHSA-2026:29212 — Important
- Red HatRHSA-2026:29815IMPORTANT2026-05-14
RHSA-2026:29815 — Important
- Red HatRHSA-2026:29904IMPORTANT2026-05-14
RHSA-2026:29904 — Important
- Red HatRHSA-2026:29953IMPORTANT2026-05-14
RHSA-2026:29953 — Important
- Red HatRHSA-2026:32983IMPORTANT2026-05-14
RHSA-2026:32983 — Important
- Red HatRHSA-2026:32994IMPORTANT2026-05-14
RHSA-2026:32994 — Important
- Red HatRHSA-2026:33441IMPORTANT2026-05-14
RHSA-2026:33441 — Important
Data Freshness Timeline
(refreshed 7× in last 7d / 22× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 346 total refreshes for this CVE.
- 2026-10-09 20:07 UTCEPSS rescore
- 2026-10-08 17:13 UTCEPSS rescore
- 2026-10-07 23:48 UTCEPSS rescore
- 2026-10-06 15:18 UTCEPSS rescore
- 2026-10-05 17:43 UTCEPSS rescore
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-02 17:56 UTCEPSS rescore
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-09-30 15:03 UTCEPSS rescore
- 2026-09-28 13:52 UTCEPSS rescore
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-21 21:09 UTCEPSS rescore
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 03:12 UTCEPSS rescore
- 2026-09-12 15:02 UTCEPSS rescore
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:37 UTCEPSS rescore
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-05 15:31 UTCEPSS rescore
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-26 14:47 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 13:24 UTCEG score recompute
- 2026-08-25 13:24 UTCVendor advisory
- 2026-08-25 13:24 UTCGHSA enrichment
- 2026-08-25 12:20 UTCEG score recompute
- 2026-08-25 12:20 UTCVendor advisory
- 2026-08-25 12:20 UTCGHSA enrichment
- 2026-08-23 17:41 UTCEG score recompute
- 2026-08-23 17:41 UTCVendor advisory
- 2026-08-23 17:41 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 01:52 UTCEG score recompute
- 2026-08-22 01:52 UTCVendor advisory
- 2026-08-22 01:52 UTCGHSA enrichment
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-20 22:56 UTCEPSS rescore
- 2026-08-20 19:40 UTCEG score recompute
- 2026-08-20 19:40 UTCVendor advisory
- 2026-08-20 19:40 UTCGHSA enrichment
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 10:26 UTCEG score recompute
- 2026-08-17 10:26 UTCVendor advisory
- 2026-08-17 10:26 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 03:58 UTCEG score recompute
- 2026-08-16 03:58 UTCVendor advisory
- 2026-08-16 03:58 UTCGHSA enrichment
- 2026-08-16 02:15 UTCEPSS rescore
- 2026-08-15 01:31 UTCEPSS rescore
- 2026-08-15 00:30 UTCVendor advisory
- 2026-08-15 00:30 UTCGHSA enrichment
- 2026-08-14 13:27 UTCEG score recompute
- 2026-08-14 13:27 UTCVendor advisory
- 2026-08-14 13:27 UTCGHSA enrichment
- 2026-08-14 12:29 UTCEG score recompute
- 2026-08-14 12:29 UTCVendor advisory
- 2026-08-14 12:29 UTCGHSA enrichment
- 2026-08-14 02:26 UTCEG score recompute
- 2026-08-14 02:26 UTCVendor advisory
- 2026-08-14 02:26 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 02:04 UTCVendor advisory
- 2026-08-13 02:04 UTCGHSA enrichment
- 2026-08-12 15:01 UTCEG score recompute
- 2026-08-12 15:01 UTCVendor advisory
- 2026-08-12 15:01 UTCGHSA enrichment
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 15:26 UTCEG score recompute
- 2026-08-11 15:26 UTCVendor advisory
- 2026-08-11 15:25 UTCGHSA enrichment
- 2026-08-11 00:53 UTCEG score recompute
- 2026-08-11 00:53 UTCVendor advisory
- 2026-08-11 00:53 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 11:29 UTCVendor advisory
- 2026-08-10 11:29 UTCGHSA enrichment
- 2026-08-09 23:57 UTCEG score recompute
- 2026-08-09 23:57 UTCVendor advisory
- 2026-08-09 23:57 UTCGHSA enrichment
- 2026-08-09 13:47 UTCEPSS rescore
- 2026-08-09 12:54 UTCVendor advisory
- 2026-08-09 12:54 UTCGHSA enrichment
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownAlpine:v3.20:postgresql16
Same vendor
10 shownredhat:RHSA-2026:21182 · redhat:RHSA-2026:22878
Frequently asked(5)
What is CVE-2026-6477?
When was CVE-2026-6477 disclosed?
Is CVE-2026-6477 actively exploited?
What is the CVSS score of CVE-2026-6477?
How do I remediate CVE-2026-6477?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-6477
Is Your Infrastructure Affected by CVE-2026-6477?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.