CVE-2025-4207

published 8 May 2025 · updated 16 Nov 2026

PostgreSQL GB18030 encoding validation can read one byte past end of allocation for text that fails validation

5.9MediumCVSS 5.9EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 13.21, 14.18, 15.13 and 2 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<13.21, >=14 <14.18, >=15 <15.13, >=16 <16.9, >=17 <17.513.21, 14.18, 15.13, 16.9, 17.5

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-4207 severity on Zeptric[![CVE-2025-4207](https://zeptric.io/badge/cve/CVE-2025-4207.svg)](https://zeptric.io/cve/CVE-2025-4207)