All vulnerabilities

Servers and applications

CVE-2026-6477

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…

Severity
High 8.8
Published
14 May 2026
Last changed
25 Aug 2026
Added to UpHeron
16 Oct 2026
Fixed in
14.23, 15.18, 16.14, 17.10, 18.4
Sources
NVD

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cpe:a:postgresql:postgresql
  • Every version before 14.23
  • From 15.0 before 15.18
  • From 16.0 before 16.14
  • From 17.0 before 17.10
  • From 18.0 before 18.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-6477
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-6477