CVE-2025-4207

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

State
Published
Severity
5.9 Medium
Published
May 8, 2025
Updated
May 9, 2025
Reserved
May 2, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HPostgreSQL

Weaknesses

Affected Products

ProductVersions
PostgreSQLn/a
  • 17 to before 17.5Affected
  • 16 to before 16.9Affected
  • 15 to before 15.13Affected
  • 14 to before 14.18Affected
  • before 13.21Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.