Vulnerability in PostgreSQL

CVE-2025-4207

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.

EPSS: 0.006 (46.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • N/a Postgresql — versions 17, 16, 15

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-4207?
CVE-2025-4207 is a medium-severity vulnerability in PostgreSQL, classified under Buffer Over-read. CVSS score: 5.9/10. Published 2025-05-08.
How severe is CVE-2025-4207?
Medium severity. CVSS v3 base score is 5.9 out of 10.
Is CVE-2025-4207 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.