Skip to main content
CVE-2026-6477VulnerabilityPublished Updated

Postgresql 9.3: Use of inherently dangerous function PQfn(..., result_is_int=0, ...) in PostgreSQL libpq lo_export()

Affects postgresql-9.3Source GCVE Database

0
Compare
Authoritative record:CVE-2026-6477· High 8.8

Not known to be exploited · CVSS 8.8 High · fixed in 14.23-0ubuntu0.22.04.1 : patch postgresql-9.3 soon.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.

Sources agree

CVSS scores by source
CNA (PostgreSQL)CVSS 3.18.8
ADP (redhat-SADP)CVSS 3.18.4
EPSS
0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 14.23-0ubuntu0.22.04.1, 16.14-0ubuntu0.24.04.1, 17.10-0ubuntu0.25.10.1 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSpostgresql-18pkg:deb/ubuntu/postgresql-18?arch=source&distro=resoluteOther threatsAffected
  • <18.4-0ubuntu0.26.04.1
Fixed in
  • 18.4-0ubuntu0.26.04.1
Ubuntu 25.10postgresql-17pkg:deb/ubuntu/postgresql-17?arch=source&distro=questingOther threatsAffected
  • <17.10-0ubuntu0.25.10.1
Fixed in
  • 17.10-0ubuntu0.25.10.1
Ubuntu 24.04 LTSpostgresql-16pkg:deb/ubuntu/postgresql-16?arch=source&distro=nobleOther threatsAffected
  • <16.14-0ubuntu0.24.04.1
Fixed in
  • 16.14-0ubuntu0.24.04.1
Ubuntu 22.04 LTSpostgresql-14pkg:deb/ubuntu/postgresql-14?arch=source&distro=jammyOther threatsAffected
  • <14.23-0ubuntu0.22.04.1
Fixed in
  • 14.23-0ubuntu0.22.04.1
Ubuntu 20.04 LTSpostgresql-12pkg:deb/ubuntu/postgresql-12?arch=source&distro=focalOther threatsAffected
  • 12.0-1 – 12.22-0ubuntu0.20.04.4
26 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSpostgresql-10pkg:deb/ubuntu/postgresql-10?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 10.1-1 – 10.23-0ubuntu0.18.04.2+esm3
26 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…