VulnSea

PostgreSQL vulnerabilities

CVEs whose affected-version data names the PostgreSQL package. Each record lists the affected and patched versions; check a specific version with the dependency checker or POST /api/sbom.

42 CVEsRSS

CVE-2026-6473High· 8.8
5mo ago

Integer wraparound in multiple PostgreSQL server features allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds

Integer wraparound in multiple PostgreSQL server features allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds. This may execute arbitrary code as the operating system user running …

▾ Twilightpostgresql · postgresqlEPSS 1.0%via NVD
CVE-2026-2007High· 8.2
8mo ago

Heap buffer overflow in PostgreSQL pg_trgm allows a database user to achieve unknown impacts via a crafted input string

Heap buffer overflow in PostgreSQL pg_trgm allows a database user to achieve unknown impacts via a crafted input string. The attacker has limited control over the byte patterns to be written, but we have not ruled out the viability of a…

▾ Twilightpostgresql · postgresqlEPSS 0.55%via NVD
CVE-2026-2006High· 8.8
8mo ago

Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun

Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun. That suffices to execute arbitrary code as the operating system user running…

▾ Twilightpostgresql · postgresqlEPSS 1.2%via NVD
CVE-2026-2005High· 8.8PoC
8mo ago

Heap buffer overflow in PostgreSQL pgcrypto allows a ciphertext provider to execute arbitrary code as the operating system user running the database

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.

▾ Midnightpostgresql · postgresqlEPSS 1.4%via NVD
CVE-2026-2004High· 8.8
8mo ago

Missing validation of type of input in PostgreSQL intarray extension selectivity estimator function allows an object creator to execute arbitrary code as the operating system user running the database

Missing validation of type of input in PostgreSQL intarray extension selectivity estimator function allows an object creator to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 1…

▾ Twilightpostgresql · postgresqlEPSS 1.3%via NVD
CVE-2025-1094High· 8.1PoC
1y ago

Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patter…

Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patter…

▾ MidnightEPSS 90%via NVD
CVE-2023-5869High· 8.8
2y ago

Postgresql: buffer overrun from integer overflow in array modification

A flaw was found in PostgreSQL that allows authenticated database users to execute arbitrary code through missing overflow checks during SQL array value modification. This issue exists due to an integer overflow during array modification…

▾ TwilightRed Hat · advanced-cluster-security/rhacs-central-db-rhel8EPSS 4.3%via CVEORG
CVE-2023-5868Medium· 4.3
2y ago

A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments

A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments. Handling 'unknown'-type values from string l…

▾ Sunlitpostgresql · postgresqlEPSS 2.8%via NVD
CVE-2023-39417High· 7.5
3y ago

IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or "")

IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or ""). If an administrator has installed files of a vu…

▾ Twilightpostgresql · postgresqlEPSS 1.7%via NVD
CVE-2022-2625None
4y ago

A vulnerability was found in PostgreSQL

A vulnerability was found in PostgreSQL. This attack requires permission to create non-temporary objects in at least one schema, the ability to lure or wait for an administrator to create or update an affected extension in that schema, a…

▾ SunlitEPSS 2.2%via CVEORG
CVE-2018-1115Critical· 9.1⚖ disputed
8y ago

postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rotate() function doesn't follow the same ACLs than pg_rorate_logfile

postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rotate() function doesn't follow the same ACLs than pg_rorate_logfile. If the adminpack is added to a database, an attacker able t…

▾ Midnightpostgresql · postgresqlEPSS 3.8%via NVD
CVE-2017-12172Medium· 6.7
8y ago

PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20, and 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run…

PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20, and 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run…

▾ Sunlitpostgresql · postgresqlEPSS 0.59%via NVD
PostgreSQL vulnerabilities (CVEs) — page 2 · VulnSea