VDB

CVE-2026-2005

CVE-2026-2005 PUBLISHED CVSS 8.8 HIGH

PostgreSQL pgcrypto heap buffer overflow executes arbitrary code

Reported by postgresql · Published February 12, 2026

Heap buffer overflow in PostgreSQL pgcrypto allows a ciphertext provider to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
pgvector-debugsourceerrata.rockylinux.org0:0.6.2-2.module+el9.7.0+40060+39463e08.s390x, 0:0.6.2-2.module+el9.7.0+40060+39463e08.ppc64le, 0:0.6.2-2.module+el9.7.0+40060+39463e08.aarch64, 0:0.6.2-2.module+el9.7.0+40012+a654bbaa.s390x, 0:0.6.2-2.module+el9.7.0+40012+a654bbaa.ppc64le, 0:0.6.2-2.module+el9.7.0+40012+a654bbaa.aarch64
postgresql-upgradeerrata.rockylinux.org16.13-1.el10, 0:16.13-1.module+el8.10.0+40101+1be82829.x86_64, 0:16.13-1.el10_1.ppc64le, 0:15.17-1.module+el8.10.0+40100+bfc24177.x86_64, 0:13.23-2.module+el8.10.0+40099+4f03416d.x86_64, 0:12.22-6.module+el8.10.0+40098+2ca729e4.x86_64
postgresql18-docserrata.rockylinux.org18.3-1.el10.ppc64le
postgresqlerrata.rockylinux.org16.13-1.el10, 0:16.13-1.module+el9.7.0+40102+9b5cec96.src, 0:16.13-1.module+el9.7.0+40102+9b5cec96.ppc64le, 0:16.13-1.module+el8.10.0+40101+1be82829.x86_64, 0:16.13-1.module+el8.10.0+40101+1be82829.src, 0:16.13-1.el10_1.ppc64le, 0:15.17-1.module+el9.7.0+40097+c6c51561.src, 0:15.17-1.module+el9.7.0+40097+c6c51561.ppc64le, 0:15.17-1.module+el8.10.0+40100+bfc24177.x86_64, 0:15.17-1.module+el8.10.0+40100+bfc24177.src, 0:13.23-2.module+el8.10.0+40099+4f03416d.x86_64, 0:13.23-2.module+el8.10.0+40099+4f03416d.src, 0:13.23-2.el9_7.src, 0:13.23-2.el9_7.ppc64le, 0:12.22-6.module+el8.10.0+40098+2ca729e4.x86_64, 0:12.22-6.module+el8.10.0+40098+2ca729e4.src
postgresql-private-develerrata.rockylinux.org0:16.13-1.module+el9.7.0+40102+9b5cec96.x86_64, 0:16.13-1.module+el8.10.0+40101+1be82829.x86_64, 0:16.13-1.module+el8.10.0+40101+1be82829.aarch64, 0:15.17-1.module+el9.7.0+40097+c6c51561.x86_64, 0:15.17-1.module+el8.10.0+40100+bfc24177.x86_64, 0:15.17-1.module+el8.10.0+40100+bfc24177.aarch64, 0:13.23-2.el9_7.x86_64
postgresql18-contriberrata.rockylinux.org18.3-1.el10.ppc64le
postgresql-plpython3-debuginfoerrata.rockylinux.org16.13-1.el10, 0:16.13-1.module+el8.10.0+40101+1be82829.x86_64, 0:16.13-1.module+el8.10.0+40101+1be82829.aarch64, 0:16.13-1.el10_1.ppc64le, 0:15.17-1.module+el8.10.0+40100+bfc24177.x86_64, 0:15.17-1.module+el8.10.0+40100+bfc24177.aarch64, 0:13.23-2.module+el8.10.0+40099+4f03416d.x86_64, 0:13.23-2.module+el8.10.0+40099+4f03416d.aarch64, 0:12.22-6.module+el8.10.0+40098+2ca729e4.x86_64, 0:12.22-6.module+el8.10.0+40098+2ca729e4.aarch64
postgresql-servererrata.rockylinux.org16.13-1.el10, 0:16.13-1.module+el9.7.0+40102+9b5cec96.aarch64, 0:16.13-1.module+el8.10.0+40101+1be82829.x86_64, 0:16.13-1.el10_1.ppc64le, 0:16.13-1.el10_1.aarch64, 0:15.17-1.module+el9.7.0+40097+c6c51561.aarch64, 0:15.17-1.module+el8.10.0+40100+bfc24177.x86_64, 0:13.23-2.module+el8.10.0+40099+4f03416d.x86_64, 0:13.23-2.el9_7.aarch64, 0:12.22-6.module+el8.10.0+40098+2ca729e4.x86_64
postgresql-pltclerrata.rockylinux.org0:16.13-1.module+el9.7.0+40102+9b5cec96.ppc64le, 0:16.13-1.module+el8.10.0+40101+1be82829.aarch64, 0:15.17-1.module+el9.7.0+40097+c6c51561.ppc64le, 0:15.17-1.module+el8.10.0+40100+bfc24177.aarch64, 0:13.23-2.module+el8.10.0+40099+4f03416d.aarch64, 0:13.23-2.el9_7.ppc64le, 0:12.22-6.module+el8.10.0+40098+2ca729e4.aarch64
pg_repackerrata.rockylinux.org0:1.5.1-1.module+el9.7.0+40060+39463e08.src, 0:1.5.1-1.module+el9.7.0+40060+39463e08.ppc64le, 0:1.5.1-1.module+el9.7.0+40012+a654bbaa.src, 0:1.5.1-1.module+el9.7.0+40012+a654bbaa.ppc64le, 0:1.4.8-2.module+el9.7.0+40011+28af63c9.src, 0:1.4.8-2.module+el9.7.0+40011+28af63c9.ppc64le
postgiserrata.rockylinux.org0:3.5.3-3.module+el9.7.0+40012+a654bbaa.src, 0:3.5.3-3.module+el9.7.0+40012+a654bbaa.s390x
postgresql18-docs-debuginfoerrata.rockylinux.org18.3-1.el10.s390x

50 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/aPostgreSQL18, 17, 16
Red HatRed Hat Enterprise Linux AppStream AUS (v.8.4)
Red HatRed Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4)
amazon:2023postgresql16-docs0
Red HatRed Hat Enterprise Linux AppStream EUS (v.9.4)
amazon:2023postgresql15-private-devel0
amazon:2023postgresql17-upgrade0
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On8040020260306101701.522a0ee4
amazon:2023postgresql15-plperl0
amazon:2023postgresql16-server0
Red HatRed Hat Enterprise Linux AppStream AUS (v. 8.2)
Red HatRed Hat Enterprise Linux 7
alpinepostgresql160
Red HatRed Hat Enterprise Linux AppStream (v. 8)
Red HatRed Hat Enterprise Linux 9.0 Update Services for SAP Solutions0:13.23-1.el9_0.1
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat CodeReady Linux Builder EUS (v.9.6)
Red HatRed Hat Update Infrastructure 5
amazon:2023postgresql17-plperl0
amazon:2postgresql-devel0

…and 114 more

Timeline

  • Feb 12, 2026 CVE Published
  • Feb 13, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 25, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (41 in total, the first dated here)
  • Apr 5, 2026 Security Advisory (38 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-2005
vulnetix vdb fixes CVE-2026-2005

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-2005/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›