CVSS 3.1
8.8 highCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (8.8). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2025-8715 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-8715?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-8715?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-8715 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | postgresql-13 | 13.22-0+deb11u1 | DLA-4273-1 |
| Debian | 12 | postgresql-15 | 15.14-0+deb12u1 | DEBIAN-CVE-2025-8715 |
| Debian | 13 | postgresql-17 | 17.6-0+deb13u1 | DEBIAN-CVE-2025-8715 |
| Ubuntu | 20.04:LTS | postgresql-12 | no fix listed | UBUNTU-CVE-2025-8715 |
| Ubuntu | 22.04:LTS | postgresql-14 | 14.19-0ubuntu0.22.04.1 | UBUNTU-CVE-2025-8715 USN-7741-1 |
| Ubuntu | 24.04:LTS | postgresql-16 | 16.10-0ubuntu0.24.04.1 | UBUNTU-CVE-2025-8715 USN-7741-1 |
| Ubuntu | 25.10 | postgresql-17 | 17.6-1 | UBUNTU-CVE-2025-8715 |
| Ubuntu | Pro:14.04:LTS | postgresql-9.3 | no fix listed | UBUNTU-CVE-2025-8715 |
| Ubuntu | Pro:16.04:LTS | postgresql-9.5 | no fix listed | UBUNTU-CVE-2025-8715 |
| Ubuntu | Pro:18.04:LTS | postgresql-10 | no fix listed | UBUNTU-CVE-2025-8715 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.4.6-3.module+el8.9.0+19330+c97ddbdf | RHSA-2025:15115 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.4.6-3.module+el8.9.0+20664+9c30cf7f | RHSA-2025:15021 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.4.8-1.module+el8.9.0+19797+c4ce5969 | RHSA-2025:15022 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.5.1-1.module+el8.10.0+22551+c0330dc9 | RHSA-2025:14899 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.4.0-7.module+el8.10.0+22214+9beb89d6 | RHSA-2025:15115 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.5.0-1.module+el8.9.0+20664+9c30cf7f | RHSA-2025:15021 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.7.0-1.module+el8.9.0+19797+c4ce5969 | RHSA-2025:15022 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:16.0-1.module+el8.10.0+20413+d8116364 | RHSA-2025:14899 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:0.10.0-2.module+el8.9.0+19330+c97ddbdf | RHSA-2025:15115 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:0.10.0-2.module+el8.9.0+20664+9c30cf7f | RHSA-2025:15021 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:1.9.7-1.Final.module+el8.9.0+19797+c4ce5969 | RHSA-2025:15022 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:2.4.0-1.Final.module+el8.10.0+20413+d8116364 | RHSA-2025:14899 |
| 61 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 more | postgresql15 | 15.14-150200.5.44.1 | SUSE-SU-2025:03030-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 12 more | postgresql17 | 17.6-150200.5.16.1 | SUSE-SU-2025:02995-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 more | postgresql16 | 16.10-150200.5.32.1 | SUSE-SU-2025:02981-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 12 more | postgresql14 | 14.19-150200.5.61.1 | SUSE-SU-2025:03031-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 5 more | postgresql13 | 13.22-150200.5.75.2 | SUSE-SU-2025:02994-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Package Hub 15 SP6 and 3 more | postgresql17 | 17.6-150600.13.16.1 | SUSE-SU-2025:02986-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Legacy 15 SP7, Linux Enterprise Module for Package Hub 15 SP6 and 3 more | postgresql16 | 16.10-150600.16.21.1 | SUSE-SU-2025:03005-1 SUSE-SU-2025:03005-2 |
| SUSE | Linux Enterprise Module for Legacy 15 SP6, Linux Enterprise Module for Legacy 15 SP7 | postgresql15 | 15.14-150600.16.20.1 | SUSE-SU-2025:03018-1 |
| SUSE | Linux Enterprise Module for Legacy 15 SP6, Linux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7 | postgresql14 | 14.19-150600.16.20.1 | SUSE-SU-2025:03019-1 |
| SUSE | Linux Enterprise Module for Legacy 15 SP7 | postgresql14 | 14.19-150600.16.20.1 | SUSE-SU-2025:03019-2 |
| SUSE | Linux Enterprise Module for Legacy 15 SP7 | postgresql15 | 15.14-150600.16.20.1 | SUSE-SU-2025:03018-2 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | postgresql13 | 13.22-3.66.1 | SUSE-SU-2025:03003-1 |
| 4 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.6 | postgresql13 | 13.22-150600.14.11.1 | SUSE-SU-2025:02842-1 |
| openSUSE | Leap 15.6 | postgresql14 | 14.19-150600.16.20.1 | SUSE-SU-2025:03019-1 |
| openSUSE | Leap 15.6 | postgresql15 | 15.14-150600.16.20.1 | SUSE-SU-2025:03018-1 |
| openSUSE | Leap 15.6 | postgresql16 | 16.10-150600.16.21.1 | SUSE-SU-2025:03005-1 SUSE-SU-2025:03005-2 |
| openSUSE | Leap 15.6 | postgresql17 | 17.6-150600.13.16.1 | SUSE-SU-2025:02986-1 |
| openSUSE | Tumbleweed | postgresql13 | 13.22-1.1 | openSUSE-SU-2025:15450-1 |
| openSUSE | Tumbleweed | postgresql14 | 14.19-1.1 | openSUSE-SU-2025:15451-1 |
| openSUSE | Tumbleweed | postgresql15 | 15.14-1.1 | openSUSE-SU-2025:15452-1 |
| openSUSE | Tumbleweed | postgresql16 | 16.10-1.1 | openSUSE-SU-2025:15453-1 |
| openSUSE | Tumbleweed | postgresql17 | 17.6-1.1 | openSUSE-SU-2025:15455-1 |
| AlmaLinux | 8 | pg_repack | 1.4.6-3.module_el8.6.0+2760+1746ec94 | ALSA-2025:15021 |
| AlmaLinux | 8 | pg_repack | 1.4.6-3.module_el8.6.0+3095+ee60d910 | ALSA-2025:15021 |
| AlmaLinux | 8 | pg_repack | 1.4.6-3.module_el8.9.0+3704+f1f917ce | ALSA-2025:15115 |
| AlmaLinux | 8 | pg_repack | 1.4.8-1.module_el8.9.0+3706+885c732e | ALSA-2025:15022 |
| AlmaLinux | 8 | pg_repack | 1.5.1-1.module_el8.10.0+3930+ecf33554 | ALSA-2025:14899 |
| AlmaLinux | 8 | pgaudit | 1.4.0-7.module_el8.10.0+3889+48cb11fb.alma.1 | ALSA-2025:15115 |
| AlmaLinux | 8 | pgaudit | 1.4.0-7.module_el8.9.0+3740+0e74851f.alma.1 | ALSA-2025:15115 |
| AlmaLinux | 8 | pgaudit | 1.5.0-1.module_el8.6.0+2760+1746ec94 | ALSA-2025:15021 |
| AlmaLinux | 8 | pgaudit | 1.5.0-1.module_el8.6.0+3095+ee60d910 | ALSA-2025:15021 |
| AlmaLinux | 8 | pgaudit | 1.7.0-1.module_el8.9.0+3706+885c732e | ALSA-2025:15022 |
| AlmaLinux | 8 | pgaudit | 16.0-1.module_el8.10.0+3798+606ebb9f | ALSA-2025:14899 |
| AlmaLinux | 8 | postgres-decoderbufs | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2025:15021 |
| 19 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | pg_repack | 0:1.4.6-3.module+el8.10.0+1862+29bef648 | RLSA-2025:15021 RLSA-2025:15115 |
| Rocky Linux | 8 | pg_repack | 0:1.4.6-3.module+el8.9.0+1594+4a6adae9 | RLSA-2025:15021 RLSA-2025:15115 |
| Rocky Linux | 8 | pg_repack | 0:1.4.6-3.module+el8.9.0+1603+444d1b54 | RLSA-2025:15021 RLSA-2025:15115 |
| Rocky Linux | 8 | pg_repack | 0:1.4.8-1.module+el8.10.0+1622+bd25b19c | RLSA-2025:15022 |
| Rocky Linux | 8 | pg_repack | 0:1.4.8-1.module+el8.10.0+1858+fcc46a79 | RLSA-2025:15022 |
| Rocky Linux | 8 | pg_repack | 0:1.4.8-1.module+el8.9.0+1525+fc91df60 | RLSA-2025:15022 |
| Rocky Linux | 8 | pg_repack | 0:1.5.1-1.module+el8.10.0+1900+d7340343 | RLSA-2025:14899 |
| Rocky Linux | 8 | pgaudit | 0:1.4.0-7.module+el8.9.0+1735+a332307b | RLSA-2025:15115 |
| Rocky Linux | 8 | pgaudit | 0:1.5.0-1.module+el8.9.0+1594+4a6adae9 | RLSA-2025:15021 |
| Rocky Linux | 8 | pgaudit | 0:1.7.0-1.module+el8.9.0+1525+fc91df60 | RLSA-2025:15022 |
| Rocky Linux | 8 | pgaudit | 0:16.0-1.module+el8.10.0+1622+bd25b19c | RLSA-2025:14899 |
| Rocky Linux | 8 | pgaudit | 0:16.0-1.module+el8.10.0+1858+fcc46a79 | RLSA-2025:14899 |
| 18 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.19, v3.20, v3.21 and 3 more | postgresql16 | 16.10-r0 | ALPINE-CVE-2025-8715 |
| Alpine | v3.19, v3.20, v3.22 | postgresql15 | 15.14-r0 | ALPINE-CVE-2025-8715 |
| Alpine | v3.21 | postgresql15 | 15.17-r0 | ALPINE-CVE-2025-8715 |
| Alpine | v3.21, v3.22, v3.23 and 1 more | postgresql17 | 17.6-r0 | ALPINE-CVE-2025-8715 |
| Azure Linux | 2 | postgresql | 14.19-1 | AZL-66327 |
| Azure Linux | 3 | postgresql | 16.10-1 | AZL-66306 |
| Alpaquita | 23 | postgresql15 | 15.14-r0 | BELL-CVE-2025-8715 |
| Alpaquita | 25, stream | postgresql17 | 17.6-r0 | BELL-CVE-2025-8715 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Important.
To exploit this flaw, a malicious PostgreSQL user needs to inject arbitrary code or the SQL injection payload in a database object name. The malicious code will only be executed on the client machine when a user restore the crafted dump file. Due to these reasons, this vulnerability has been rated with an Important severity.
Do not restore a dump file from a server or user you do not explicitly trust.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | postgresql16-0:16.10-1.el10_0 | Fixed 2025-08-28 | RHSA-2025:14826 |
| Red Hat Enterprise Linux 8 | postgresql:16-8100020250818110346.489197e6 | Fixed 2025-08-28 | RHSA-2025:14899 |
| Red Hat Enterprise Linux 8 | postgresql:13-8100020250818110147.489197e6 | Fixed 2025-09-02 | RHSA-2025:15021 |
| Red Hat Enterprise Linux 8 | postgresql:15-8100020250818110305.489197e6 | Fixed 2025-09-02 | RHSA-2025:15022 |
| Red Hat Enterprise Linux 8 | postgresql:12-8100020250829093521.489197e6 | Fixed 2025-09-03 | RHSA-2025:15115 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | postgresql:12-8020020250826135918.4cda2c84 | Fixed 2025-09-04 | RHSA-2025:15361 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | postgresql:12-8040020250820054803.522a0ee4 | Fixed 2025-09-02 | RHSA-2025:15034 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | postgresql:13-8040020250818170654.522a0ee4 | Fixed 2025-09-02 | RHSA-2025:15057 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | postgresql:12-8060020250820072728.ad008a3a | Fixed 2025-09-02 | RHSA-2025:15006 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | postgresql:13-8060020250825094024.ad008a3a | Fixed 2025-09-04 | RHSA-2025:15359 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | postgresql:12-8060020250820072728.ad008a3a | Fixed 2025-09-02 | RHSA-2025:15006 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | postgresql:13-8060020250825094024.ad008a3a | Fixed 2025-09-04 | RHSA-2025:15359 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | postgresql:12-8060020250820072728.ad008a3a | Fixed 2025-09-02 | RHSA-2025:15006 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | postgresql:13-8060020250825094024.ad008a3a | Fixed 2025-09-04 | RHSA-2025:15359 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | postgresql:12-8080020250819150429.63b34585 | Fixed 2025-09-02 | RHSA-2025:15012 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | postgresql:13-8080020250819150623.63b34585 | Fixed 2025-09-02 | RHSA-2025:15013 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | postgresql:15-8080020250815150643.63b34585 | Fixed 2025-09-02 | RHSA-2025:15031 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | postgresql:12-8080020250819150429.63b34585 | Fixed 2025-09-02 | RHSA-2025:15012 |
| Red Hat Enterprise Linux 6 | postgresql | Out of support scope | |
| Red Hat Enterprise Linux 7 | postgresql | Not affected | |
| 11 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-8715.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.