CVE-2025-4207: postgresql-12 Buffer Over-read
Vulnerability summary
CVE-2025-4207 is a medium (CVSS 5.9) Buffer Over-read vulnerability in postgresql-12. EPSS estimates a 0.76% chance of exploitation in the next 30 days, higher than 54.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6Timeline
- 08-05-2025PublishedVulnerability first disclosed.
- 09-05-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.76%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
+0.03 pp
From 0.73% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse95 products
- postgresql13&distro=SUSE Enterprise Storage 7.1< 13.21-150200.5.72.1
- postgresql13&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 13.21-150200.5.72.1
- postgresql13&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 13.21-150200.5.72.1
- postgresql13&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 13.21-150200.5.72.1
- postgresql13&distro=SUSE Linux Enterprise Server 12 SP5-LTSS< 13.21-3.63.1
Opensuse10 products
- postgresql13&distro=openSUSE Leap 15.6< 13.21-150600.14.8.1
- postgresql13&distro=openSUSE Tumbleweed< 13.21-1.1
- postgresql14&distro=openSUSE Leap 15.6< 14.18-150600.16.17.1
- postgresql14&distro=openSUSE Tumbleweed< 14.18-1.1
- postgresql15&distro=openSUSE Leap 15.6< 15.13-150600.16.17.1
Ubuntu7 products
- postgresql-10All versions (No fix recorded)
- postgresql-12< 12.22-0ubuntu0.20.04.4
- postgresql-14< 14.18-0ubuntu0.22.04.1
- postgresql-16< 16.9-0ubuntu0.24.04.1
- postgresql-17< 17.5-0ubuntu0.25.04.1
Alpine4 products
- postgresql14< 14.18-r0
- postgresql15< 15.13-r0
- postgresql16< 16.9-r0
- postgresql17< 17.5-r0
Debian3 products
- postgresql-13< 13.21-0+deb11u1
- postgresql-15< 15.13-0+deb12u1
- postgresql-17< 17.5-1
Mageia2 products
- postgresql13< 13.21-1.mga9
- postgresql15< 15.13-1.mga9
Chainguard1 product
- postgresql-12All versions (No fix recorded)
Wolfi1 product
- postgresql-12All versions (No fix recorded)
8 vendors · 123 products
References
40 linksShow all 40 references
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory