BreachSpiderVerified, not vibes

CVE-2025-4207 in Postgresql products

Medium 5.9

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 ar...

Affects 0 products from 1 vendor. Facts below cite their sources.

CVSS 3.15.9
EPSS0.9%
EPSS percentile56th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Postgresql — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-4207
BreachSpider IDBS-2025-GLOBAL-040078-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2025-05-08
Last modified2026-04-15
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-126: CWE-126

Analysis AI-written, not human-reviewed

A buffer over-read vulnerability in the GB18030 encoding validation of PostgreSQL can lead to a temporary denial of service. This affects the database server and libpq in versions prior to 17.5, 16.9, 15.13, 14.18, and 13.21.

An attacker can exploit this vulnerability by providing specially crafted input to the database, which can cause a 1-byte over-read during GB18030 encoding validation. This over-read can lead to process termination on certain platforms, resulting in a denial of service.

Questions

What is CVE-2025-4207?

A buffer over-read vulnerability in the GB18030 encoding validation of PostgreSQL can lead to a temporary denial of service. This affects the database server and libpq in versions prior to 17.5, 16.9, 15.13, 14.18, and 13.21.

What is the CVSS score for CVE-2025-4207?

CVE-2025-4207 has CVSS 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.9%.

Is CVE-2025-4207 actively exploited?

No confirmed active exploitation of CVE-2025-4207 as of 2026-05-30.

How do I remediate CVE-2025-4207?

Priority: HIGH.

What systems are affected by CVE-2025-4207?

CVE-2025-4207 affects Postgresql.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Postgresql","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.