PostgreSQL up to 17.4 GB18030 Encoding Validation buffer over-read

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.8$0-$5k0.00

Summaryinfo

A vulnerability has been found in PostgreSQL up to 13.20/14.17/15.12/16.8/17.4 and classified as critical. This impacts an unknown function of the component GB18030 Encoding Validation. Performing a manipulation results in buffer over-read. This vulnerability is identified as CVE-2025-4207. The attack can be initiated remotely. There is not any exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in PostgreSQL up to 13.20/14.17/15.12/16.8/17.4. It has been classified as critical. This affects an unknown part of the component GB18030 Encoding Validation. The manipulation with an unknown input leads to a buffer over-read vulnerability. CWE is classifying the issue as CWE-126. The product reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer. This is going to have an impact on availability. The summary by CVE is:

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.

It is possible to read the advisory at postgresql.org. This vulnerability is uniquely identified as CVE-2025-4207 since 05/02/2025. The exploitability is told to be difficult. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. The technical details are unknown and an exploit is not publicly available.

The vulnerability scanner Nessus provides a plugin with the ID 235668 (Debian dla-4159 : libecpg-compat3 - security update), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 13.21, 14.18, 15.13, 16.9 or 17.5 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (235668) and CERT Bund (WID-SEC-2025-0986). Be aware that VulDB is the high quality source for vulnerability data.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Ubuntu Linux
  • SUSE Linux
  • SUSE openSUSE
  • Broadcom Brocade SANnav
  • Hitachi Ops Center
  • Open Source PostgreSQL

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.9
VulDB Meta Temp Score: 5.8

VulDB Base Score: 5.9
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA Base Score: 5.9
CNA Vector (PostgreSQL): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Buffer over-read
CWE: CWE-126 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 235668
Nessus Name: Debian dla-4159 : libecpg-compat3 - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PostgreSQL 13.21/14.18/15.13/16.9/17.5

Timelineinfo

05/02/2025 🔍
05/08/2025 +6 days 🔍
05/08/2025 +0 days 🔍
11/07/2025 +183 days 🔍

Sourcesinfo

Product: postgresql.org

Advisory: postgresql.org
Status: Confirmed

CVE: CVE-2025-4207 (🔍)
GCVE (CVE): GCVE-0-2025-4207
GCVE (VulDB): GCVE-100-308031
CERT Bund: WID-SEC-2025-0986 - PostgreSQL: Schwachstelle ermöglicht Denial of Service

Entryinfo

Created: 05/08/2025 16:58
Updated: 11/07/2025 14:12
Changes: 05/08/2025 16:58 (63), 05/10/2025 10:18 (2), 11/07/2025 14:12 (7)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!