VDB

CVE-2025-4207

CVE-2025-4207 PUBLISHED CVSS 5.9 MEDIUM

Reported by postgresql · Published May 8, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
postgresql15-staticAmazon Linux15.13-1.amzn2023.0.1
postgresql15-private-libsAmazon Linux15.13-1.amzn2023.0.1
postgresql16Amazon Linux16.9-1.amzn2023.0.1
postgresql16-contribAmazon Linux16.9-1.amzn2023.0.1
postgresql-contribAmazon Linux9.2.24-8.amzn2.0.7
postgresql15-docsAmazon Linux15.13-1.amzn2023.0.1
postgresql17-testAmazon Linux17.5-1.amzn2023.0.1
postgresql17-staticAmazon Linux17.5-1.amzn2023.0.1
postgresql16-private-libsAmazon Linux16.9-1.amzn2023.0.1
postgresql15-llvmjitAmazon Linux15.13-1.amzn2023.0.1
postgresql16-plpython3Amazon Linux16.9-1.amzn2023.0.1
postgresql-staticAmazon Linux9.2.24-8.amzn2.0.7

55 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
n/aPostgreSQL17, 16, 15
amazon:2023postgresql15-static0
amazon:2023postgresql15-private-libs0
amazon:2023postgresql160
amazon:2023postgresql16-contrib0
amazon:2postgresql-contrib0
amazon:2023postgresql15-docs0
amazon:2023postgresql17-test0
amazon:2023postgresql17-static0
amazon:2023postgresql16-private-libs0
amazon:2023postgresql15-llvmjit0
amazon:2023postgresql16-plpython30
amazon:2postgresql-static0
amazon:2postgresql-upgrade0
amazon:2023postgresql15-upgrade0
amazon:2postgresql-test0
amazon:2023postgresql16-upgrade0
amazon:2023postgresql17-plpython30
amazon:2023postgresql17-server-devel0
amazon:2023postgresql17-upgrade-devel0

…and 47 more

Timeline

  • May 8, 2025 CVE Published
  • May 9, 2025 EPSS Score (30 in total, the first dated here)
  • May 9, 2025 CVE Updated
  • Jun 2, 2026 Security Advisory (24 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (7 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-4207
vulnetix vdb fixes CVE-2025-4207

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-4207/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›