Read the docs

Use after free in PostgreSQL COPY errors discloses server memory

Priority LOW 20CWE-416Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
Partial Red Hat: 1 fixed, 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

PostgreSQL versions from 17 before 17.12 and from 18 before 18.7 are affected. A use after free in COPY FROM error reporting (CWE-416) lets a database user with low privileges disclose portions of server memory over the network. The flaw is triggered by a longer input row that follows an ignored or nullified conversion error, and file_fdw reaches the same code path in version 18. Versions before PostgreSQL 17 are not affected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-14

Description from the CNA

Use after free in PostgreSQL COPY FROM error reporting allows a database user to disclose portions of server memory, via a longer input row following an ignored or nullified conversion error. file_fdw reaches the same code path in affected version 18. Within major versions 17-18, minor versions before PostgreSQL 18.7 and 17.12 are affected. Versions before PostgreSQL 17 are unaffected.

Why it matters now

EPSS 0.00295 22nd percentileScored 2026-11-16
Fix Partial PostgreSQL: 18.7, 17.12Red Hat: 1 advisoryRed Hat: 1 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—PostgreSQL18 to before 18.7; 17 to before 17.1218.7, 17.12Patch availableCNA
  • PostgreSQL Vendor— Affected 18 to before 18.7; 17 to before 17.12 Fixed in 18.7, 17.12 Patch available CNA

Remediation

Upgrade PostgreSQL 17 to 17.12 and PostgreSQL 18 to 18.7. Red Hat publishes RHSA-2026:99821 for Red Hat Hardened Images. Red Hat lists Red Hat Hardened Images as affected without a fix and gives no fix plan (none available).

Written with Claude Haiku 5.5 from the sources below · 2026-11-14

  • Fix · CNA PostgreSQL Fixed in 18.7, 17.12

Red Hat 1 advisory

  • RHSA-2026:99821 Released 2026-11-12 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images libpq-18.7-0.1.hum1@aarch64, libpq-18.7-0.1.hum1@s390x, libpq-18.7-0.1.hum1@src +4

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    PostgreSQL 17.12, 18.7

    4 records Highest priority Priority MEDIUM 1 MEDIUM, 3 LOW

    Other records, highest priority first

    • TI-2026-90375 Type confusion in PostgreSQL record types lets users run codePriority MEDIUM 41
    • TI-2026-90362 SQL injection in PostgreSQL reindexdb lets object creators run SQLPriority LOW 35
    • TI-2026-90370 Buffer over-read in PostgreSQL parallel B-tree scansPriority LOW 29

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Hardened ImagesAffectedNo fix yet
Red Hat Hardened ImagesFixed RHSA-2026:99821

Timeline

  1. 2026-11-12 Threatist record created from CVE-2026-116310
  2. 2026-11-12 Alias added: GHSA-ph4f-5226-ph6w
  3. 2026-11-12 Affected versions changed · Red Hat
  4. 2026-11-12 CVSS score added · Red Hat
  5. 2026-11-13 Fix available: RHSA-2026:99821 · Red Hat
  6. 2026-11-14 Fix available: Red Hat Hardened Images · Red Hat

References

Sources