CVE-2025-4207

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

Published May 8, 2025 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4159-1 postgresql-13 security update
EUVD EUVD EUVD-2025-14007 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.
Ubuntu USN Ubuntu USN USN-7520-1 PostgreSQL vulnerability
Ubuntu USN Ubuntu USN USN-7520-2 PostgreSQL vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00067}

epss

{'score': 0.0007}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title PostgreSQL GB18030 encoding validation can read one byte past end of allocation for text that fails validation
Weaknesses CWE-126
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
May 9, 2025, 6:03 PM
Reserved
May 2, 2025, 12:03 AM
Status
Deferred
Published
May 8, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:32 AM
Severity
Moderate
Public date
May 8, 2025, 2:22 PM