# PostgreSQL.

Every CVE that names PostgreSQL among its affected products, newest first. Vendors and products are as the CNA wrote them.

## Records, newest first

- [PostgreSQL refint plan cache type confusion executes arbitrary code](https://agentprime.io/advisories/CVE-2026-14671.md)
  `CVE-2026-14671` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL logical decoding can dlopen arbitrary file](https://agentprime.io/advisories/CVE-2026-6471.md)
  `CVE-2026-6471` · CVE record: PostgreSQL · CVSS 7.2 High · Not analysed yet · Published 13 Aug 2026 · Tags: Broken access control
- [PostgreSQL fails to check type USAGE privilege](https://agentprime.io/advisories/CVE-2026-6470.md)
  `CVE-2026-6470` · CVE record: PostgreSQL · CVSS 4.3 Medium · Not analysed yet · Published 13 Aug 2026 · Tags: Broken access control
- [PostgreSQL ALTER TABLE ALTER TYPE resets extended statistics ownership](https://agentprime.io/advisories/CVE-2026-6469.md)
  `CVE-2026-6469` · CVE record: PostgreSQL · CVSS 3.8 Low · Not analysed yet · Published 13 Aug 2026 · Tags: CWE-708
- [PostgreSQL psql COPY FROM STDIN early failure processes data lines as psql commands](https://agentprime.io/advisories/CVE-2026-6464.md)
  `CVE-2026-6464` · CVE record: PostgreSQL · CVSS 8.1 High · Not analysed yet · Published 13 Aug 2026 · Tags: CWE-829
- [PostgreSQL pg_dump heap buffer overflow executes arbitrary code](https://agentprime.io/advisories/CVE-2026-19385.md)
  `CVE-2026-19385` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL psql \unrestrict lets superuser of pg_dump origin server execute arbitrary code in psql client](https://agentprime.io/advisories/CVE-2026-18408.md)
  `CVE-2026-18408` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: CWE-829
- [PostgreSQL ascii() function reads past end of buffer](https://agentprime.io/advisories/CVE-2026-18024.md)
  `CVE-2026-18024` · CVE record: PostgreSQL · CVSS 4.3 Medium · Not analysed yet · Published 13 Aug 2026 · Tags: CWE-126
- [PostgreSQL ECPG integer underflow can crash the client](https://agentprime.io/advisories/CVE-2026-16241.md)
  `CVE-2026-16241` · CVE record: PostgreSQL · CVSS 3.8 Low · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL type confusion in cursor CLOSE + DECLARE executes arbitrary code](https://agentprime.io/advisories/CVE-2026-16239.md)
  `CVE-2026-16239` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code](https://agentprime.io/advisories/CVE-2026-16238.md)
  `CVE-2026-16238` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL fuzzystrmatch writes effectively-arbitrary addresses, via integer wraparound](https://agentprime.io/advisories/CVE-2026-15742.md)
  `CVE-2026-15742` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL expression deparse allows SQL injection via EXTRACT argument](https://agentprime.io/advisories/CVE-2026-15741.md)
  `CVE-2026-15741` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: SQL injection
- [PostgreSQL improper enforcement of GSSAPI encryption when coupled with SSL](https://agentprime.io/advisories/CVE-2026-14681.md)
  `CVE-2026-14681` · CVE record: PostgreSQL · CVSS 4.2 Medium · Not analysed yet · Published 13 Aug 2026 · Tags: CWE-924
- [PostgreSQL type confusion via "internal" arguments](https://agentprime.io/advisories/CVE-2026-14680.md)
  `CVE-2026-14680` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL stack buffer overflow in argument match writes 0x0 and 0x1 to server memory](https://agentprime.io/advisories/CVE-2026-14679.md)
  `CVE-2026-14679` · CVE record: PostgreSQL · CVSS 8.2 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL pg_trgm picksplit reads past end of buffer](https://agentprime.io/advisories/CVE-2026-14678.md)
  `CVE-2026-14678` · CVE record: PostgreSQL · CVSS 4.3 Medium · Not analysed yet · Published 13 Aug 2026 · Tags: CWE-126
- [PostgreSQL 32-bit pltcl and plperl undersize allocations, via integer wraparound](https://agentprime.io/advisories/CVE-2026-14677.md)
  `CVE-2026-14677` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL pg_stat_statements heap buffer overflow executes arbitrary code](https://agentprime.io/advisories/CVE-2026-14676.md)
  `CVE-2026-14676` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL amcheck does not clear untrusted search path](https://agentprime.io/advisories/CVE-2026-14673.md)
  `CVE-2026-14673` · CVE record: PostgreSQL · CVSS 3.8 Low · Not analysed yet · Published 13 Aug 2026 · Tags: CWE-426
- [PostgreSQL observable response discrepancy with non-default scram_iterations provides user existence oracle](https://agentprime.io/advisories/CVE-2026-14672.md)
  `CVE-2026-14672` · CVE record: PostgreSQL · CVSS 5.3 Medium · Not analysed yet · Published 13 Aug 2026 · Tags: CWE-204
- [PostgreSQL plperl tied object heap buffer overflow executes arbitrary code](https://agentprime.io/advisories/CVE-2026-14670.md)
  `CVE-2026-14670` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL to_char heap buffer overflow executes arbitrary code](https://agentprime.io/advisories/CVE-2026-14669.md)
  `CVE-2026-14669` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL ctid type confusion in selectivity estimator discloses derivative of arbitrary read](https://agentprime.io/advisories/CVE-2026-14668.md)
  `CVE-2026-14668` · CVE record: PostgreSQL · CVSS 8.1 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL row security caching disregards role modifications](https://agentprime.io/advisories/CVE-2026-14666.md)
  `CVE-2026-14666` · CVE record: PostgreSQL · CVSS 4.2 Medium · Not analysed yet · Published 13 Aug 2026 · Tags: CWE-1250
- [PostgreSQL regexp heap buffer overflow executes arbitrary code](https://agentprime.io/advisories/CVE-2026-14664.md)
  `CVE-2026-14664` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL pgcrypto, for OpenSSL-disabled ciphers, silently encrypts to and decrypts from cleartext](https://agentprime.io/advisories/CVE-2026-14663.md)
  `CVE-2026-14663` · CVE record: PostgreSQL · CVSS 6.5 Medium · Not analysed yet · Published 13 Aug 2026 · Tags: CWE-313, CWE-345
- [PostgreSQL tsvector and tsquery undersize allocations, via integer wraparound](https://agentprime.io/advisories/CVE-2026-14662.md)
  `CVE-2026-14662` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 13 Aug 2026 · Tags: Memory corruption
- [PostgreSQL REFRESH PUBLICATION allows SQL injection via table name](https://agentprime.io/advisories/CVE-2026-6638.md)
  `CVE-2026-6638` · CVE record: PostgreSQL · CVSS 3.7 Low · Not analysed yet · Published 14 May 2026 · Tags: SQL injection
- [PostgreSQL refint allows stack buffer overflow and SQL injection](https://agentprime.io/advisories/CVE-2026-6637.md)
  `CVE-2026-6637` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 14 May 2026 · Tags: SQL injection, Memory corruption
- [PostgreSQL pg_restore_attribute_stats accepts values that cause query planning to read past end of stats array](https://agentprime.io/advisories/CVE-2026-6575.md)
  `CVE-2026-6575` · CVE record: PostgreSQL · CVSS 4.3 Medium · Not analysed yet · Published 14 May 2026 · Tags: CWE-126
- [PostgreSQL SSL/GSS init causes denial of service, via uncontrolled recursion](https://agentprime.io/advisories/CVE-2026-6479.md)
  `CVE-2026-6479` · CVE record: PostgreSQL · CVSS 7.5 High · Not analysed yet · Published 14 May 2026 · Tags: Denial of service
- [PostgreSQL discloses MD5-hashed passwords via covert timing channel](https://agentprime.io/advisories/CVE-2026-6478.md)
  `CVE-2026-6478` · CVE record: PostgreSQL · CVSS 6.5 Medium · Not analysed yet · Published 14 May 2026 · Tags: CWE-385
- [PostgreSQL libpq lo\_\* functions let server superuser overwrite client stack memory](https://agentprime.io/advisories/CVE-2026-6477.md)
  `CVE-2026-6477` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 14 May 2026 · Tags: Memory corruption, CWE-242
- [PostgreSQL pg_createsubscriber allows SQL injection via subscription name](https://agentprime.io/advisories/CVE-2026-6476.md)
  `CVE-2026-6476` · CVE record: PostgreSQL · CVSS 7.2 High · Not analysed yet · Published 14 May 2026 · Tags: SQL injection
- [PostgreSQL pg_basebackup and pg_rewind can overwrite unrelated files of origin superuser choice](https://agentprime.io/advisories/CVE-2026-6475.md)
  `CVE-2026-6475` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 14 May 2026 · Tags: CWE-61
- [PostgreSQL timeofday() can disclose portions of server memory](https://agentprime.io/advisories/CVE-2026-6474.md)
  `CVE-2026-6474` · CVE record: PostgreSQL · CVSS 4.3 Medium · Not analysed yet · Published 14 May 2026 · Tags: Memory corruption
- [PostgreSQL server undersizes allocations, via integer wraparound](https://agentprime.io/advisories/CVE-2026-6473.md)
  `CVE-2026-6473` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 14 May 2026 · Tags: Memory corruption
- [PostgreSQL CREATE TYPE does not check multirange schema CREATE privilege](https://agentprime.io/advisories/CVE-2026-6472.md)
  `CVE-2026-6472` · CVE record: PostgreSQL · CVSS 5.4 Medium · Not analysed yet · Published 14 May 2026 · Tags: Broken access control
- [PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory](https://agentprime.io/advisories/CVE-2026-2007.md)
  `CVE-2026-2007` · CVE record: PostgreSQL · CVSS 8.2 High · Not analysed yet · Published 12 Feb 2026 · Tags: Memory corruption
- [PostgreSQL missing validation of multibyte character length executes arbitrary code](https://agentprime.io/advisories/CVE-2026-2006.md)
  `CVE-2026-2006` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 12 Feb 2026 · Tags: CWE-129, CWE-1285
- [PostgreSQL pgcrypto heap buffer overflow executes arbitrary code](https://agentprime.io/advisories/CVE-2026-2005.md)
  `CVE-2026-2005` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 12 Feb 2026 · Tags: Memory corruption
- [PostgreSQL intarray missing validation of type of input to selectivity estimator executes arbitrary code](https://agentprime.io/advisories/CVE-2026-2004.md)
  `CVE-2026-2004` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 12 Feb 2026 · Tags: CWE-1287
- [PostgreSQL oidvector discloses a few bytes of memory](https://agentprime.io/advisories/CVE-2026-2003.md)
  `CVE-2026-2003` · CVE record: PostgreSQL · CVSS 4.3 Medium · Not analysed yet · Published 12 Feb 2026 · Tags: CWE-1287
- [PostgreSQL libpq undersizes allocations, via integer wraparound](https://agentprime.io/advisories/CVE-2025-12818.md)
  `CVE-2025-12818` · CVE record: PostgreSQL · CVSS 5.9 Medium · Not analysed yet · Published 13 Nov 2025 · Tags: Memory corruption
- [PostgreSQL CREATE STATISTICS does not check for schema CREATE privilege](https://agentprime.io/advisories/CVE-2025-12817.md)
  `CVE-2025-12817` · CVE record: PostgreSQL · CVSS 3.1 Low · Not analysed yet · Published 13 Nov 2025 · Tags: Broken access control
- [PostgreSQL pg_dump newline in object name executes arbitrary code in psql client and in restore target server](https://agentprime.io/advisories/CVE-2025-8715.md)
  `CVE-2025-8715` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 14 Aug 2025 · Tags: Other injection
- [PostgreSQL pg_dump lets superuser of origin server execute arbitrary code in psql client](https://agentprime.io/advisories/CVE-2025-8714.md)
  `CVE-2025-8714` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 14 Aug 2025 · Tags: CWE-829
- [PostgreSQL optimizer statistics can expose sampled data within a view, partition, or child table](https://agentprime.io/advisories/CVE-2025-8713.md)
  `CVE-2025-8713` · CVE record: PostgreSQL · CVSS 3.1 Low · Not analysed yet · Published 14 Aug 2025 · Tags: CWE-1230
- [PostgreSQL GB18030 encoding validation can read one byte past end of allocation for text that fails validation](https://agentprime.io/advisories/CVE-2025-4207.md)
  `CVE-2025-4207` · CVE record: PostgreSQL · CVSS 5.9 Medium · Not analysed yet · Published 8 May 2025 · Tags: CWE-126
- [PostgreSQL quoting APIs miss neutralizing quoting syntax in text that fails encoding validation](https://agentprime.io/advisories/CVE-2025-1094.md)
  `CVE-2025-1094` · CVE record: PostgreSQL · CVSS 8.1 High · Critical (CVSS 7+ and EPSS) · EPSS 0.90 · Not analysed yet · Published 13 Feb 2025 · Tags: CWE-149
- [PostgreSQL PL/Perl environment variable changes execute arbitrary code](https://agentprime.io/advisories/CVE-2024-10979.md)
  `CVE-2024-10979` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 14 Nov 2024 · Tags: CWE-15
- [PostgreSQL SET ROLE, SET SESSION AUTHORIZATION reset to wrong user ID](https://agentprime.io/advisories/CVE-2024-10978.md)
  `CVE-2024-10978` · CVE record: PostgreSQL · CVSS 4.2 Medium · Not analysed yet · Published 14 Nov 2024 · Tags: Privilege escalation
- [PostgreSQL libpq retains an error message from man-in-the-middle](https://agentprime.io/advisories/CVE-2024-10977.md)
  `CVE-2024-10977` · CVE record: PostgreSQL · CVSS 3.1 Low · Not analysed yet · Published 14 Nov 2024 · Tags: CWE-348
- [PostgreSQL row security below e.g. subqueries disregards user ID changes](https://agentprime.io/advisories/CVE-2024-10976.md)
  `CVE-2024-10976` · CVE record: PostgreSQL · CVSS 4.2 Medium · Not analysed yet · Published 14 Nov 2024 · Tags: CWE-1250
- [PostgreSQL relation replacement during pg_dump executes arbitrary SQL](https://agentprime.io/advisories/CVE-2024-7348.md)
  `CVE-2024-7348` · CVE record: PostgreSQL · CVSS 8.8 High · Not analysed yet · Published 8 Aug 2024 · Tags: Race condition
- [PostgreSQL pg_stats_ext and pg_stats_ext_exprs lack authorization checks](https://agentprime.io/advisories/CVE-2024-4317.md)
  `CVE-2024-4317` · CVE record: PostgreSQL · CVSS 3.1 Low · Not analysed yet · Published 9 May 2024 · Tags: Broken access control
- [PostgreSQL non-owner REFRESH MATERIALIZED VIEW CONCURRENTLY executes arbitrary SQL](https://agentprime.io/advisories/CVE-2024-0985.md)
  `CVE-2024-0985` · CVE record: PostgreSQL · CVSS 8.0 High · Not analysed yet · Published 8 Feb 2024 · Tags: CWE-271
- [Improper input validation in postgresql](https://agentprime.io/advisories/CVE-2023-2455.md)
  `CVE-2023-2455` · CVE record: postgresql · CVSS 5.4 Medium · Not analysed yet · Published 9 Jun 2023 · Tags: CWE-20
- [Improper input validation in postgresql](https://agentprime.io/advisories/CVE-2023-2454.md)
  `CVE-2023-2454` · CVE record: postgresql · CVSS 7.2 High · Not analysed yet · Published 9 Jun 2023 · Tags: CWE-20

Older: <https://agentprime.io/advisories/technology/postgresql.md?cursor=WyIyMDIzLTA2LTA5VDAwOjAwOjAwLjAwMDAwMFoiLCJDVkUtMjAyMy0yNDU0Il0>

## Filters and formats

Filters are query parameters on this URL: `q` (words, as in a web search engine: `"a phrase"`, `OR`, `-word`; an id; a package or product name), `severity` (low, medium, high or critical), `critical=1`, `kev=1`, `ecosystem` (npm, pypi, packagist, go, maven, rubygems, crates, nuget, hex), `kind=package`, `assigner` (a CNA’s short name), `min_score` and `state`. Each record’s title links to its Markdown page.

- The same list as JSON: <https://api.agentprime.io/v1/advisories?technology=postgresql>
- Every list: <https://agentprime.io/advisories.md>, critical: <https://agentprime.io/advisories/critical.md>; by weakness: <https://agentprime.io/advisories/tag/sql-injection.md> and the other tags in <https://agentprime.io/llms.txt>; by technology: `/advisories/technology/<slug>.md` (`fortinet-fortimail`)

---

The web page: <https://agentprime.io/advisories/technology/postgresql/>. Everything for agents: <https://agentprime.io/llms.txt>.
