StackPatch is liveSee product

Back to CVE digest
CVE-2026-6474 · cross-distro fix matrix

CVE-2026-6474: It was discovered that PostgreSQL did not correctly enforce authorization

Affects 4 Linux releases across 50 (distro × package) combinations. First disclosed: 2026-05-14.

CVSS v3:MEDIUM · 4.3(NVD-published)

Fix per ecosystem

Each block below is a distro release where CVE-2026-6474 has a known fix. Run the listed command on that distro to remediate.

Ubuntu jammy

Source: Ubuntu USN

  • postgresql-14→ fixed in14.23-0ubuntu0.22.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-14
  • libecpg-compat3→ fixed in14.23-0ubuntu0.22.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libecpg-compat3
  • libecpg-dev→ fixed in14.23-0ubuntu0.22.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libecpg-dev
  • libecpg6→ fixed in14.23-0ubuntu0.22.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libecpg6
  • libpgtypes3→ fixed in14.23-0ubuntu0.22.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libpgtypes3
  • libpq-dev→ fixed in14.23-0ubuntu0.22.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libpq-dev
  • libpq5→ fixed in14.23-0ubuntu0.22.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libpq5
  • postgresql-client-14→ fixed in14.23-0ubuntu0.22.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-client-14
  • postgresql-doc-14→ fixed in14.23-0ubuntu0.22.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-doc-14
  • postgresql-plperl-14→ fixed in14.23-0ubuntu0.22.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-plperl-14
  • postgresql-plpython3-14→ fixed in14.23-0ubuntu0.22.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-plpython3-14
  • postgresql-pltcl-14→ fixed in14.23-0ubuntu0.22.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-pltcl-14
  • postgresql-server-dev-14→ fixed in14.23-0ubuntu0.22.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-server-dev-14

Ubuntu noble

Source: Ubuntu USN

  • postgresql-16→ fixed in16.14-0ubuntu0.24.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-16
  • libecpg-compat3→ fixed in16.14-0ubuntu0.24.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libecpg-compat3
  • libecpg-dev→ fixed in16.14-0ubuntu0.24.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libecpg-dev
  • libecpg6→ fixed in16.14-0ubuntu0.24.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libecpg6
  • libpgtypes3→ fixed in16.14-0ubuntu0.24.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libpgtypes3
  • libpq-dev→ fixed in16.14-0ubuntu0.24.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libpq-dev
  • libpq5→ fixed in16.14-0ubuntu0.24.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libpq5
  • postgresql-client-16→ fixed in16.14-0ubuntu0.24.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-client-16
  • postgresql-doc-16→ fixed in16.14-0ubuntu0.24.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-doc-16
  • postgresql-plperl-16→ fixed in16.14-0ubuntu0.24.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-plperl-16
  • postgresql-plpython3-16→ fixed in16.14-0ubuntu0.24.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-plpython3-16
  • postgresql-pltcl-16→ fixed in16.14-0ubuntu0.24.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-pltcl-16
  • postgresql-server-dev-16→ fixed in16.14-0ubuntu0.24.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-server-dev-16

Ubuntu questing

Source: Ubuntu USN

  • postgresql-17→ fixed in17.10-0ubuntu0.25.10.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-17
  • libecpg-compat3→ fixed in17.10-0ubuntu0.25.10.1USN-8294-1
    sudo apt-get install --only-upgrade -y libecpg-compat3
  • libecpg-dev→ fixed in17.10-0ubuntu0.25.10.1USN-8294-1
    sudo apt-get install --only-upgrade -y libecpg-dev
  • libecpg6→ fixed in17.10-0ubuntu0.25.10.1USN-8294-1
    sudo apt-get install --only-upgrade -y libecpg6
  • libpgtypes3→ fixed in17.10-0ubuntu0.25.10.1USN-8294-1
    sudo apt-get install --only-upgrade -y libpgtypes3
  • libpq-dev→ fixed in17.10-0ubuntu0.25.10.1USN-8294-1
    sudo apt-get install --only-upgrade -y libpq-dev
  • libpq5→ fixed in17.10-0ubuntu0.25.10.1USN-8294-1
    sudo apt-get install --only-upgrade -y libpq5
  • postgresql-client-17→ fixed in17.10-0ubuntu0.25.10.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-client-17
  • postgresql-doc-17→ fixed in17.10-0ubuntu0.25.10.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-doc-17
  • postgresql-plperl-17→ fixed in17.10-0ubuntu0.25.10.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-plperl-17
  • postgresql-plpython3-17→ fixed in17.10-0ubuntu0.25.10.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-plpython3-17
  • postgresql-pltcl-17→ fixed in17.10-0ubuntu0.25.10.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-pltcl-17
  • postgresql-server-dev-17→ fixed in17.10-0ubuntu0.25.10.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-server-dev-17

Ubuntu resolute

Source: Ubuntu USN

  • postgresql-18→ fixed in18.4-0ubuntu0.26.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-18
  • libecpg-compat3→ fixed in18.4-0ubuntu0.26.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libecpg-compat3
  • libecpg-dev→ fixed in18.4-0ubuntu0.26.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libecpg-dev
  • libecpg6→ fixed in18.4-0ubuntu0.26.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libecpg6
  • libpgtypes3→ fixed in18.4-0ubuntu0.26.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libpgtypes3
  • libpq-dev→ fixed in18.4-0ubuntu0.26.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libpq-dev
  • libpq-oauth→ fixed in18.4-0ubuntu0.26.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libpq-oauth
  • libpq5→ fixed in18.4-0ubuntu0.26.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y libpq5
  • postgresql-18-jit→ fixed in18.4-0ubuntu0.26.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-18-jit
  • postgresql-client-18→ fixed in18.4-0ubuntu0.26.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-client-18
  • postgresql-doc-18→ fixed in18.4-0ubuntu0.26.04.1USN-8294-1
    sudo apt-get install --only-upgrade -y postgresql-doc-18
Are YOU affected by CVE-2026-6474?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2026-6474dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. From $9/mo, 14-day free trial, cancel anytime.

See StackPatch (from $9/mo)