Security update for postgresql13
Description
This update for postgresql13 fixes the following issues: Security fixes: - CVE-2025-12817: Fixed missing check for CREATE privileges on the schema in CREATE STATISTICS allowed table owners to create statistics in any schema, potentially leading to unexpected naming conflicts (bsc#1253332) - CVE-2025-12818: Fixed several places in libpq were not sufficiently careful about computing the required size of a memory allocation. Sufficiently large inputs could cause integer overflow, resulting in an undersized buffer, which would then lead to writing past the end of the buffer (bsc#1253333) Other fixes: - Update to 13.23 * https://www.postgresql.org/about/news/p-3171/ * https://www.postgresql.org/docs/release/13.23
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This advisory covers two PostgreSQL vulnerabilities fixed in Red Hat Enterprise Linux 9.4 Extended Update Support. CVE-2025-12817 is a privilege check bypass where the CREATE STATISTICS command fails to verify schema CREATE privileges, potentially allowing unauthorized statistics creation. CVE-2025-12818 is an integer wraparound issue in libpq that causes undersized memory allocations, which could lead to memory corruption or related issues. Red Hat has released updated PostgreSQL packages (version 13.23-1.el9_4) addressing these flaws.
Potential Impact
The vulnerabilities could allow unauthorized users to create statistics without proper schema privileges (CVE-2025-12817) and cause memory allocation errors due to integer wraparound in libpq (CVE-2025-12818). The overall security impact is rated Moderate by Red Hat. There are no known exploits in the wild at this time.
Mitigation Recommendations
Red Hat has released updated PostgreSQL packages for Red Hat Enterprise Linux 9.4 Extended Update Support that fix these vulnerabilities. Users should apply the security update as described in the Red Hat advisory (RHSA-2026:0262) and the referenced update article (https://access.redhat.com/articles/11258). No additional mitigations are specified or required beyond applying the official patches.
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:0262
- Cve Count
- 2
- Additional Cves
- ["CVE-2025-12818"]
- State
- PUBLISHED
Threat ID: 6a3da1cc4853345fc1822d21
Added to database: 06/25/2026, 21:46:52 UTC
Last enriched: 06/25/2026, 22:04:24 UTC
Last updated: 10/06/2026, 06:48:12 UTC
Views: 160
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.