Red Hat Security Advisory: postgresql18 security update
PostgreSQL is an advanced Object-Relational database management system (DBMS). The base postgresql package contains the client programs that you'll need to access a PostgreSQL DBMS server, as well as HTML documentation for the whole system. These client programs can be located on the same machine as the PostgreSQL server, or on a remote machine that accesses a PostgreSQL server over a network connection. The PostgreSQL server can be found in the postgresql-server sub-package. Security Fix(es): * postgresql: PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory (CVE-2026-2007) * postgresql: PostgreSQL oidvector discloses a few bytes of memory (CVE-2026-2003) * postgresql: PostgreSQL missing validation of multibyte character length executes arbitrary code (CVE-2026-2006) * postgresql: PostgreSQL intarray missing validation of type of input to selectivity estimator executes arbitrary code (CVE-2026-2004) * postgresql: PostgreSQL pgcrypto heap buffer overflow executes arbitrary code (CVE-2026-2005) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
AI Analysis
Technical Summary
This advisory covers five security vulnerabilities in PostgreSQL 18 on Red Hat Enterprise Linux 10. The issues include a heap buffer overflow in pg_trgm (CVE-2026-2007), a memory disclosure in oidvector (CVE-2026-2003), missing validation of multibyte character length allowing arbitrary code execution (CVE-2026-2006), missing validation of input type in intarray selectivity estimator allowing arbitrary code execution (CVE-2026-2004), and a heap buffer overflow in pgcrypto leading to arbitrary code execution (CVE-2026-2005). These vulnerabilities could allow attackers to execute arbitrary code or disclose memory contents. Red Hat has released updated postgresql18 packages for RHEL 10 to fix these issues.
Potential Impact
The vulnerabilities can lead to arbitrary code execution and memory disclosure on affected systems running PostgreSQL 18 on Red Hat Enterprise Linux 10. This poses a high security risk as attackers could potentially execute malicious code with the privileges of the PostgreSQL server process or gain unauthorized access to sensitive memory contents.
Mitigation Recommendations
Red Hat has released updated postgresql18 packages for Red Hat Enterprise Linux 10 that address these vulnerabilities. Users should apply the security update as described in the Red Hat advisory RHSA-2026:19009 to remediate these issues. For detailed update instructions, refer to https://access.redhat.com/articles/11258. No additional mitigations are specified beyond applying the official update.
Red Hat Security Advisory: postgresql18 security update
Description
PostgreSQL is an advanced Object-Relational database management system (DBMS). The base postgresql package contains the client programs that you'll need to access a PostgreSQL DBMS server, as well as HTML documentation for the whole system. These client programs can be located on the same machine as the PostgreSQL server, or on a remote machine that accesses a PostgreSQL server over a network connection. The PostgreSQL server can be found in the postgresql-server sub-package. Security Fix(es): * postgresql: PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory (CVE-2026-2007) * postgresql: PostgreSQL oidvector discloses a few bytes of memory (CVE-2026-2003) * postgresql: PostgreSQL missing validation of multibyte character length executes arbitrary code (CVE-2026-2006) * postgresql: PostgreSQL intarray missing validation of type of input to selectivity estimator executes arbitrary code (CVE-2026-2004) * postgresql: PostgreSQL pgcrypto heap buffer overflow executes arbitrary code (CVE-2026-2005) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This advisory covers five security vulnerabilities in PostgreSQL 18 on Red Hat Enterprise Linux 10. The issues include a heap buffer overflow in pg_trgm (CVE-2026-2007), a memory disclosure in oidvector (CVE-2026-2003), missing validation of multibyte character length allowing arbitrary code execution (CVE-2026-2006), missing validation of input type in intarray selectivity estimator allowing arbitrary code execution (CVE-2026-2004), and a heap buffer overflow in pgcrypto leading to arbitrary code execution (CVE-2026-2005). These vulnerabilities could allow attackers to execute arbitrary code or disclose memory contents. Red Hat has released updated postgresql18 packages for RHEL 10 to fix these issues.
Potential Impact
The vulnerabilities can lead to arbitrary code execution and memory disclosure on affected systems running PostgreSQL 18 on Red Hat Enterprise Linux 10. This poses a high security risk as attackers could potentially execute malicious code with the privileges of the PostgreSQL server process or gain unauthorized access to sensitive memory contents.
Mitigation Recommendations
Red Hat has released updated postgresql18 packages for Red Hat Enterprise Linux 10 that address these vulnerabilities. Users should apply the security update as described in the Red Hat advisory RHSA-2026:19009 to remediate these issues. For detailed update instructions, refer to https://access.redhat.com/articles/11258. No additional mitigations are specified beyond applying the official update.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2026:19009
- Cve Count
- 5
- Additional Cves
- ["CVE-2026-2004","CVE-2026-2005","CVE-2026-2006","CVE-2026-2007"]
- Cvss Version
- null
Threat ID: 6a3da1c64853345fc182047f
Added to database: 06/25/2026, 21:46:46 UTC
Last enriched: 07/12/2026, 11:49:32 UTC
Last updated: 07/31/2026, 19:24:46 UTC
Views: 56
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.
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.