CVE-2025-4207

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

MEDIUM 5.9

At a glance

Source
NVD
EPSS
EPSS 0.76 % · percentile 55 ()
State
PUBLISHED
Published
Updated
Assigner
PostgreSQL
NVD status
Deferred

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HPostgreSQL
CVSS 3.1MEDIUM 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
PostgreSQLaffected 17 < 17.5 ; affected 16 < 16.9 ; affected 15 < 15.13 ; affected 14 < 14.18 ; affected 0 < 13.21

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD