Vulnerabilities

CVE-2025-4207

Medium 5.9 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-05-08
Last modified
2026-06-17
Assigned by
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Probability of exploitation
0.7 % higher than 49 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
n/a PostgreSQL ≥ 0, < 13.21 Affected
n/a PostgreSQL ≥ 14, < 14.18 Affected
n/a PostgreSQL ≥ 15, < 15.13 Affected
n/a PostgreSQL ≥ 16, < 16.9 Affected
n/a PostgreSQL ≥ 17, < 17.5 Affected

Weakness type

  • CWE-126: Buffer Over-read

    The product reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities