CVEMETERBack to radar
OFFICIAL RECORD · PostgreSQL

CVE-2026-120152

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 4.3 · medium

PostgreSQL pg_show_all_settings() use-after-free discloses memory

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.295% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 4.3 · published by PostgreSQL
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Assessment source · checked 2026-11-19T12:01:40.378Z

CVSS 3.1 · 4.3 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Assessment source · checked 2026-11-19T16:01:04.061Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T18:36:01.564ZCISA KEV
cvssverified2026-11-19T12:01:40.378ZCVE Program
epssverified2026-11-19T18:27:15.839ZFIRST EPSS
patchesverified2026-11-19T12:52:08.472ZOSV
affectedverified2026-11-19T12:01:40.378ZCVE Program
lifecycleverified2026-11-19T12:01:40.378ZCVE Program

Affected versions and configuration

n/a PostgreSQL; default status: unaffected: 18 to < 18.7 [affected; scheme: rpm]; 17 to < 17.12 [affected; scheme: rpm]; 16 to < 16.16 [affected; scheme: rpm]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "postgresql-16",
    "debian": "https://tracker.debian.org/pkg/postgresql-16",
    "source": "https://ubuntu.com/security/cve?package=postgresql-16",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=postgresql-16",
    "statuses": [
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "upstream"
      }
    ]
  }
]
Archived source JSON
OSV · osv · full conditions
{
  "id": "DEBIAN-CVE-2026-120152",
  "aliases": [],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "17.12-0+deb13u1"
            }
          ]
        }
      ],
      "package": {
        "name": "postgresql-17",
        "purl": "pkg:deb/debian/postgresql-17?arch=source&distro=trixie",
        "ecosystem": "Debian:13"
      },
      "versions": [
        "17.10-0+deb13u1",
        "17.11-0+deb13u1",
        "17.5-1",
        "17.6-0+deb13u1",
        "17.6-1",
        "17.7-0+deb13u1",
        "17.8-0+deb13u1",
        "17.9-0+deb13u1"
      ],
      "database_specific": {
        "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-120152.json"
      },
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
    }
  ],
  "upstream": [
    "CVE-2026-120152"
  ],
  "withdrawn": null,
  "references": [
    {
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-120152",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "DEBIAN-CVE-2026-120152",
  "aliases": [],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "package": {
        "name": "postgresql-15",
        "purl": "pkg:deb/debian/postgresql-15?arch=source&distro=bookworm",
        "ecosystem": "Debian:12"
      },
      "versions": [
        "15.10-0+deb12u1",
        "15.11-0+deb12u1",
        "15.12-0+deb12u1",
        "15.12-0+deb12u2",
        "15.13-0+deb12u1",
        "15.14-0+deb12u1",
        "15.15-0+deb12u1",
        "15.16-0+deb12u1",
        "15.17-0+deb12u1",
        "15.18-0+deb12u1",
        "15.19-0+deb12u1",
        "15.20-0+deb12u1",
        "15.3-0+deb12u1",
        "15.3-1",
        "15.4-0+deb12u1",
        "15.4-1",
        "15.4-2",
        "15.4-3",
        "15.5-0+deb12u1",
        "15.6-0+deb12u1",
        "15.7-0+deb12u1",
        "15.8-0+deb12u1",
        "15.9-0+deb12u1"
      ],
      "database_specific": {
        "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-120152.json"
      },
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
    }
  ],
  "upstream": [
    "CVE-2026-120152"
  ],
  "withdrawn": null,
  "references": [
    {
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-120152",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "n/a",
      "product": "PostgreSQL",
      "versions": [
        {
          "status": "affected",
          "version": "18",
          "lessThan": "18.7",
          "versionType": "rpm"
        },
        {
          "status": "affected",
          "version": "17",
          "lessThan": "17.12",
          "versionType": "rpm"
        },
        {
          "status": "affected",
          "version": "16",
          "lessThan": "16.16",
          "versionType": "rpm"
        }
      ],
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-120152",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-11-12T21:11:31.172233Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-11-12T21:43:08.510Z"
      }
    }
  ]
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryDebian:13 / 13postgresql-17unknown17.12-0+deb13u1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history