CVE-2025-8713: Postgresql 9.3 · PostgreSQL optimizer statistics allow a user to read sampled data within a view that
Affects postgresql-9.3Source GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 3.1 Low · fixed in 14.19-0ubuntu0.22.04.1 : update postgresql-9.3 when convenient.
Data as of 24 Nov 2026, 19:43 UTC
- Patch
- Available – fixed in 14.19-0ubuntu0.22.04.1, 16.10-0ubuntu0.24.04.1, 17.6-1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu to 14.19-0ubuntu0.22.04.1 (postgresql-14 package) or 16.10-0ubuntu0.24.04.1 (postgresql-16 package) or 17.6-1 (postgresql-17 package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10postgresql-17pkg:deb/ubuntu/postgresql-17?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSpostgresql-16pkg:deb/ubuntu/postgresql-16?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpostgresql-14pkg:deb/ubuntu/postgresql-14?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSpostgresql-12pkg:deb/ubuntu/postgresql-12?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSpostgresql-10pkg:deb/ubuntu/postgresql-10?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTSpostgresql-9.5pkg:deb/ubuntu/postgresql-9.5?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
PostgreSQL optimizer statistics allow a user to read sampled data within a view that the user cannot access. Separately, statistics allow a user to read sampled data that a row security policy intended to hide. PostgreSQL maintains statistics for tables by sampling data available in columns; this data is consulted during the query planning process. Prior to this release, a user could craft a leaky operator that bypassed view access control lists (ACLs) and bypassed row security policies in partitioning or table inheritance hierarchies. Reachable statistics data notably included histograms and most-common-values lists. CVE-2017-7484 and CVE-2019-10130 intended to close this class of vulnerability, but this gap remained. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.
References
- ubuntu.com/security/CVE-2025-8713 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-8713 (opens in a new tab)
- postgresql.org/about/news/postgresql-176-1610-1514-1419-1322-and-18-beta-3-released-3118/ (opens in a new tab)
- postgresql.org/support/security/CVE-2025-8713/ (opens in a new tab)
- ubuntu.com/security/notices/USN-7741-1 (opens in a new tab)