cve.bz

CVE-2025-4207 Buffer Over-read

5.9 mediumEPSS 0.9%

Medium (5.9). EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
Buffer over-read in PostgreSQL GB18030 encoding validation allows a database input provider to achieve temporary denial of service on platforms where a 1-byte over-read can elicit process termination. This affects the database server and also libpq. Versions before PostgreSQL 17.5, 16.9, 15.13, 14.18, and 13.21 are affected.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 56th percentile. Scored 2026-11-29. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-05-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-126 Buffer Over-read
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-4207 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-4207?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-4207?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-4207 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.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11postgresql-1313.21-0+deb11u1DLA-4159-1
Debian12postgresql-1515.13-0+deb12u1DEBIAN-CVE-2025-4207
Debian13postgresql-1717.5-1DEBIAN-CVE-2025-4207
Ubuntu20.04:LTSpostgresql-1212.22-0ubuntu0.20.04.4UBUNTU-CVE-2025-4207 USN-7520-1
Ubuntu22.04:LTSpostgresql-1414.18-0ubuntu0.22.04.1UBUNTU-CVE-2025-4207 USN-7520-1
Ubuntu24.04:LTSpostgresql-1616.9-0ubuntu0.24.04.1UBUNTU-CVE-2025-4207 USN-7520-1
Ubuntu25.04postgresql-1717.5-0ubuntu0.25.04.1USN-7520-2
UbuntuPro:14.04:LTSpostgresql-9.3no fix listedUBUNTU-CVE-2025-4207
UbuntuPro:16.04:LTSpostgresql-9.5no fix listedUBUNTU-CVE-2025-4207
UbuntuPro:18.04:LTSpostgresql-10no fix listedUBUNTU-CVE-2025-4207
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.6-3.module+el8.9.0+20664+9c30cf7fRHSA-2025:15021
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.8-1.module+el8.9.0+19797+c4ce5969RHSA-2025:15022
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.5.1-1.module+el8.10.0+22551+c0330dc9RHSA-2025:14899
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.5.0-1.module+el8.9.0+20664+9c30cf7fRHSA-2025:15021
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.7.0-1.module+el8.9.0+19797+c4ce5969RHSA-2025:15022
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:16.0-1.module+el8.10.0+20413+d8116364RHSA-2025:14899
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:0.10.0-2.module+el8.9.0+20664+9c30cf7fRHSA-2025:15021
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:1.9.7-1.Final.module+el8.9.0+19797+c4ce5969RHSA-2025:15022
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:2.4.0-1.Final.module+el8.10.0+20413+d8116364RHSA-2025:14899
Red Hatenterprise_linux:8::appstreampostgresql, postgresql-docs, postgresql-test and 25 more0:15.14-1.module+el8.10.0+23423+5a199198RHSA-2025:15022
Red Hatenterprise_linux:8::appstreampostgresql, postgresql-docs, postgresql-test and 25 more0:16.10-1.module+el8.10.0+23424+e26efc6cRHSA-2025:14899
Red Hatenterprise_linux:8::appstreampostgresql, postgresql-docs, postgresql-test and 22 more0:13.22-1.module+el8.10.0+23422+b659575fRHSA-2025:15021
10 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 morepostgresql1515.13-150200.5.41.1SUSE-SU-2025:01785-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 morepostgresql1616.9-150200.5.29.1SUSE-SU-2025:01782-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 morepostgresql1717.5-150200.5.13.1SUSE-SU-2025:01783-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 morepostgresql1414.18-150200.5.58.1SUSE-SU-2025:01786-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 5 morepostgresql1313.21-150200.5.72.1SUSE-SU-2025:01705-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Server Applications 15 SP6postgresql1616.9-150600.16.18.1SUSE-SU-2025:01766-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Server Applications 15 SP6postgresql1717.5-150600.13.13.1SUSE-SU-2025:01644-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Module for Server Applications 15 SP7postgresql1717.5-150600.13.13.1SUSE-SU-2025:01644-2
SUSELinux Enterprise Module for Legacy 15 SP6postgresql1515.13-150600.16.17.1SUSE-SU-2025:01748-1
SUSELinux Enterprise Module for Legacy 15 SP6, Linux Enterprise Module for Package Hub 15 SP6postgresql1414.18-150600.16.17.1SUSE-SU-2025:01661-1
SUSELinux Enterprise Module for Legacy 15 SP7postgresql1515.13-150600.16.17.1SUSE-SU-2025:01748-2
SUSELinux Enterprise Module for Legacy 15 SP7, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Module for Server Applications 15 SP7postgresql1616.9-150600.16.18.1SUSE-SU-2025:01766-2
9 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6postgresql1313.21-150600.14.8.1SUSE-SU-2025:01654-1
openSUSELeap 15.6postgresql1414.18-150600.16.17.1SUSE-SU-2025:01661-1
openSUSELeap 15.6postgresql1515.13-150600.16.17.1SUSE-SU-2025:01748-1
openSUSELeap 15.6postgresql1616.9-150600.16.18.1SUSE-SU-2025:01766-1
openSUSELeap 15.6postgresql1717.5-150600.13.13.1SUSE-SU-2025:01644-1
openSUSETumbleweedpostgresql1313.21-1.1openSUSE-SU-2025:15137-1
openSUSETumbleweedpostgresql1414.18-1.1openSUSE-SU-2025:15138-1
openSUSETumbleweedpostgresql1515.13-1.1openSUSE-SU-2025:15139-1
openSUSETumbleweedpostgresql1616.9-1.1openSUSE-SU-2025:15140-1
openSUSETumbleweedpostgresql1717.5-1.1openSUSE-SU-2025:15151-1
openSUSETumbleweedpostgresql1818.7-1.1openSUSE-SU-2026:12654-1
AlmaLinux8pg_repack1.4.6-3.module_el8.6.0+2760+1746ec94ALSA-2025:15021
AlmaLinux8pg_repack1.4.6-3.module_el8.6.0+3095+ee60d910ALSA-2025:15021
AlmaLinux8pg_repack1.4.8-1.module_el8.9.0+3706+885c732eALSA-2025:15022
AlmaLinux8pg_repack1.5.1-1.module_el8.10.0+3930+ecf33554ALSA-2025:14899
AlmaLinux8pgaudit1.5.0-1.module_el8.6.0+2760+1746ec94ALSA-2025:15021
AlmaLinux8pgaudit1.5.0-1.module_el8.6.0+3095+ee60d910ALSA-2025:15021
AlmaLinux8pgaudit1.7.0-1.module_el8.9.0+3706+885c732eALSA-2025:15022
AlmaLinux8pgaudit16.0-1.module_el8.10.0+3798+606ebb9fALSA-2025:14899
AlmaLinux8postgres-decoderbufs0.10.0-2.module_el8.6.0+2760+1746ec94ALSA-2025:15021
AlmaLinux8postgres-decoderbufs0.10.0-2.module_el8.6.0+3095+ee60d910ALSA-2025:15021
AlmaLinux8postgres-decoderbufs1.9.7-1.Final.module_el8.9.0+3706+885c732eALSA-2025:15022
AlmaLinux8postgres-decoderbufs2.4.0-1.Final.module_el8.10.0+3798+606ebb9fALSA-2025:14899
13 more for AlmaLinux in the JSON.
Alpinev3.18postgresql1414.18-r0ALPINE-CVE-2025-4207
Alpinev3.18, v3.19, v3.20 and 2 morepostgresql1515.13-r0ALPINE-CVE-2025-4207
Alpinev3.19, v3.20, v3.21 and 3 morepostgresql1616.9-r0ALPINE-CVE-2025-4207
Alpinev3.21, v3.22, v3.23 and 1 morepostgresql1717.5-r0ALPINE-CVE-2025-4207
Azure Linux2postgresql14.18-1AZL-61739
Azure Linux3postgresql16.9-1AZL-61736
Azure Linux3rust1.90.0-4AZL-74894
Alpaquita23postgresql1515.13-r0BELL-CVE-2025-4207
Alpaquitastreampostgresql1717.5-r0BELL-CVE-2025-4207

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; 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

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10postgresql16-0:16.10-1.el10_0Fixed 2025-08-28RHSA-2025:14826
Red Hat Enterprise Linux 8postgresql:16-8100020250818110346.489197e6Fixed 2025-08-28RHSA-2025:14899
Red Hat Enterprise Linux 8postgresql:13-8100020250818110147.489197e6Fixed 2025-09-02RHSA-2025:15021
Red Hat Enterprise Linux 8postgresql:15-8100020250818110305.489197e6Fixed 2025-09-02RHSA-2025:15022
Red Hat Enterprise Linux 9postgresql:16-9060020250817200213.rhel9Fixed 2025-08-28RHSA-2025:14827
Red Hat Enterprise Linux 9postgresql:15-9060020250817180313.rhel9Fixed 2025-08-28RHSA-2025:14862
Red Hat Enterprise Linux 10libpqFix deferred
Red Hat Enterprise Linux 6postgresqlOut of support scope
Red Hat Enterprise Linux 7postgresqlFix deferred
Red Hat Enterprise Linux 8libpqFix deferred
Red Hat Enterprise Linux 8postgresql:12/postgresqlFix deferred
Red Hat Enterprise Linux 9libpqFix deferred
Red Hat Enterprise Linux 9postgresqlFix deferred

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-4207.

References

Check your stackJSON