CVE-2026-2005: Heap-based Buffer Overflow in PostgreSQL
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.
AI Analysis
Technical Summary
This vulnerability is a heap buffer overflow in the pgcrypto component of PostgreSQL that enables an attacker controlling ciphertext input to execute arbitrary code as the OS user running the database server. The flaw affects multiple major PostgreSQL versions before specific patch levels (18.2, 17.8, 16.12, 15.16, and 14.21). Red Hat advisories confirm the vulnerability and provide updated packages to remediate the issue. The CVSS 3.1 vector indicates network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows arbitrary code execution with the privileges of the database server user, potentially leading to full compromise of the database environment and underlying system. The vulnerability impacts confidentiality, integrity, and availability of the affected systems.
Mitigation Recommendations
Official patches are available from PostgreSQL and Red Hat for affected versions. Users should apply updates to PostgreSQL versions 18.2, 17.8, 16.12, 15.16, or 14.21 or later as provided by their vendor. Refer to the Red Hat security advisories (e.g., RHSA-2026:4441) for detailed update instructions. No additional mitigation steps are indicated beyond applying these official fixes.
CVE-2026-2005: Heap-based Buffer Overflow in PostgreSQL
Description
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.
CVSS v3.1
Score 8.8high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability is a heap buffer overflow in the pgcrypto component of PostgreSQL that enables an attacker controlling ciphertext input to execute arbitrary code as the OS user running the database server. The flaw affects multiple major PostgreSQL versions before specific patch levels (18.2, 17.8, 16.12, 15.16, and 14.21). Red Hat advisories confirm the vulnerability and provide updated packages to remediate the issue. The CVSS 3.1 vector indicates network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows arbitrary code execution with the privileges of the database server user, potentially leading to full compromise of the database environment and underlying system. The vulnerability impacts confidentiality, integrity, and availability of the affected systems.
Mitigation Recommendations
Official patches are available from PostgreSQL and Red Hat for affected versions. Users should apply updates to PostgreSQL versions 18.2, 17.8, 16.12, 15.16, or 14.21 or later as provided by their vendor. Refer to the Red Hat security advisories (e.g., RHSA-2026:4441) for detailed update instructions. No additional mitigation steps are indicated beyond applying these official fixes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-02-05T18:17:55.613Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-2005","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4441","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3887","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19010","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19009","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4064","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4024","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4059","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4063","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4506","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4509","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4504","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4505","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4516","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4075","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4074","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4515","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4518","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4254","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4475","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4548","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4544","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4524","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4546","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4547","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4528","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3896","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4110","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:3730","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8756","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4943","vendor":"Red Hat"}]
Threat ID: 698dd351c9e1ff5ad8d5def2
Added to database: 02/12/2026, 13:19:13 UTC
Last enriched: 07/15/2026, 08:35:29 UTC
Last updated: 08/08/2026, 12:41:09 UTC
Views: 2115
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.