CVE-2025-4207
Medium
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.
SeverityMedium
CVSS5.9
Exploit probability—
Product
PostgreSQL
PublishedMay 8, 2025
First seenMay 8, 2025
Weakness typeCWE-126CWE-126
How to fix
Update
- PostgreSQL17.5, 16.9, 15.13, 14.18, 13.21 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL | 17 ≤ v < 17.5, 16 ≤ v < 16.9, 15 ≤ v < 15.13, 14 ≤ v < 14.18, v < 13.21 | 17.5, 16.9, 15.13, 14.18, 13.21 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.