CVE
CVE-2026-6477
CNA 原文 · 原文(英文)
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.
受影响版本
- ≥ 18.0, < 18.4修复版本 18.4
- ≥ 17.0, < 17.10修复版本 17.10
- ≥ 16.0, < 16.14修复版本 16.14
- ≥ 15.0, < 15.18修复版本 15.18
- < 14.23修复版本 14.23
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- www.postgresql.org/support/security/CVE-2026-6477/ · Patch, Vendor Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。