CVE-2025-4207

MEDIUM5.9EPSS 0.33%

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

Published: 5/8/2025Modified: 4/28/2026

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.

Affected packages (9)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References (6)