PostgreSQL · published 2026-11-12

CVE-2026-120152PostgreSQL pg_show_all_settings() use-after-free discloses memory

Routine No exploitation evidence; EPSS 0.3%.

CVE-2026-120152 is not known to be exploited in the wild. EPSS estimates a 0.3% chance of exploitation in the next 30 days, higher than 22% of all CVEs. This PostgreSQL vulnerability: CVSS 4.3 (v3.1). Fixed upstream in PostgreSQL 18.7, 17.12, 16.16, 15.20 (+1 more); patched packages are out for Debian; Ubuntu and Red Hat Enterprise Linux still have unfixed releases. Routine: patch when convenient.

Share this

Remediation#

Fixed upstream in PostgreSQL 18.7, 17.12, 16.16, 15.20, 14.25.

Linux distribution packages

If you run the distro’s package rather than an upstream build, this is the version to look for.

DistroReleasePackageStatus
Debian13 trixiepostgresql-17Fixed in 17.12-0+deb13u1
12 bookwormpostgresql-15Not affected
Ubuntu26.04 LTSpostgresql-18No fix yet
24.04 LTSpostgresql-16No fix yet
22.04 LTSpostgresql-14No fix yet
20.04 LTSpostgresql-12No fix yet
Red Hat Enterprise LinuxRHEL 10postgresql16No fix yet
RHEL 10postgresql18No fix yet
RHEL 10postgresql19Not affected
RHEL 9postgresqlNo fix yet
RHEL 8postgresqlNo fix yet
RHEL 7postgresqlNo fix yet
RHEL 6postgresqlWon’t fix

From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.

Patch events

  1. This monthSecurity release

    DatabasePostgreSQL

    PostgreSQL security releases: 18.7, 17.12, 16.16, 15.20, 14.25

    Upgrade to 18.717.1216.1615.2014.25

    Why: Vendor security release for server software (most severe: CVE-2026-116326).

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)0.3% (23th pct)FIRST EPSS v2026.06.15
CVSS base score4.3 (v3.1)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CNA / CISA ADP
SSVC exploitationnoneCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impactpartialCISA Vulnrichment

Affected versions (from the CVE record)#

Description (from the CVE record)#

Use after free in PostgreSQL pg_show_all_settings() allows a database user to retrieve memory contents, via loading a module while the function is scanning custom-variable placeholders that the module replaces and frees. Within major versions 16-18, minor versions before PostgreSQL 18.7, 17.12, and 16.16 are affected. Versions before PostgreSQL 16 are unaffected.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →