CVE-2026-2005
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pgvector-debugsource | errata.rockylinux.org | 0: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-upgrade | errata.rockylinux.org | 16.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-docs | errata.rockylinux.org | 18.3-1.el10.ppc64le |
| postgresql | errata.rockylinux.org | 16.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-devel | errata.rockylinux.org | 0: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-contrib | errata.rockylinux.org | 18.3-1.el10.ppc64le |
| postgresql-plpython3-debuginfo | errata.rockylinux.org | 16.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-server | errata.rockylinux.org | 16.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-pltcl | errata.rockylinux.org | 0: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_repack | errata.rockylinux.org | 0: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 |
| postgis | errata.rockylinux.org | 0: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-debuginfo | errata.rockylinux.org | 18.3-1.el10.s390x |
50 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | PostgreSQL | 18, 17, 16 |
| Red Hat | Red Hat Enterprise Linux AppStream AUS (v.8.4) | |
| Red Hat | Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) | |
| amazon:2023 | postgresql16-docs | 0 |
| Red Hat | Red Hat Enterprise Linux AppStream EUS (v.9.4) | |
| amazon:2023 | postgresql15-private-devel | 0 |
| amazon:2023 | postgresql17-upgrade | 0 |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | 8040020260306101701.522a0ee4 |
| amazon:2023 | postgresql15-plperl | 0 |
| amazon:2023 | postgresql16-server | 0 |
| Red Hat | Red Hat Enterprise Linux AppStream AUS (v. 8.2) | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| alpine | postgresql16 | 0 |
| Red Hat | Red Hat Enterprise Linux AppStream (v. 8) | |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 0:13.23-1.el9_0.1 |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat CodeReady Linux Builder EUS (v.9.6) | |
| Red Hat | Red Hat Update Infrastructure 5 | |
| amazon:2023 | postgresql17-plperl | 0 |
| amazon:2 | postgresql-devel | 0 |
…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
References
- https://access.redhat.com/errata/RHSA-2026:4528 advisory
- https://access.redhat.com/errata/RHSA-2026:4110 advisory
- https://access.redhat.com/errata/RHSA-2026:3730 advisory
- https://access.redhat.com/errata/RHSA-2026:8756 advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2005.json advisory
- https://access.redhat.com/errata/RHSA-2026:4441 advisory
- https://access.redhat.com/errata/RHSA-2026:19009 advisory
- https://access.redhat.com/errata/RHSA-2026:4063 advisory
- https://access.redhat.com/errata/RHSA-2026:4506 advisory
- https://access.redhat.com/errata/RHSA-2026:4509 advisory
- https://access.redhat.com/errata/RHSA-2026:4504 advisory
- https://access.redhat.com/errata/RHSA-2026:4075 advisory
- https://access.redhat.com/errata/RHSA-2026:4074 advisory
- https://access.redhat.com/errata/RHSA-2026:4515 advisory
- https://access.redhat.com/errata/RHSA-2026:4518 advisory
- https://access.redhat.com/errata/RHSA-2026:4254 advisory
- https://access.redhat.com/errata/RHSA-2026:4475 advisory
- https://access.redhat.com/errata/RHSA-2026:4548 advisory
- https://access.redhat.com/errata/RHSA-2026:4544 advisory
…and 14 more