5.9

CVE-2025-4207: PostgreSQL GB18030 encoding validation can read one byte past end of allocation for text that fails validation

Deferred
AliasesALPINE-CVE-2025-4207MGASA-2025-0155SUSE-SU-2025:01644-1
Published 08-05-2025Last modified 09-05-2025

Vulnerability summary

CVE-2025-4207 is a medium (CVSS 5.9) Buffer Over-read vulnerability in postgresql-12. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 57.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.79%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 1

Timeline

  1. 08-05-2025
    PublishedVulnerability first disclosed.
  2. 09-05-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.79%

Chance of exploitation in the next 30 days

Percentile

57%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.76% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse95 products
  • postgresql13&distro=SUSE Enterprise Storage 7.1< 13.21-150200.5.72.1
  • postgresql13&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 13.21-150200.5.72.1
  • postgresql13&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 13.21-150200.5.72.1
  • postgresql13&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 13.21-150200.5.72.1
  • postgresql13&distro=SUSE Linux Enterprise Server 12 SP5-LTSS< 13.21-3.63.1
Opensuse10 products
  • postgresql13&distro=openSUSE Leap 15.6< 13.21-150600.14.8.1
  • postgresql13&distro=openSUSE Tumbleweed< 13.21-1.1
  • postgresql14&distro=openSUSE Leap 15.6< 14.18-150600.16.17.1
  • postgresql14&distro=openSUSE Tumbleweed< 14.18-1.1
  • postgresql15&distro=openSUSE Leap 15.6< 15.13-150600.16.17.1
Ubuntu7 products
  • postgresql-10All versions (No fix recorded)
  • postgresql-12< 12.22-0ubuntu0.20.04.4
  • postgresql-14< 14.18-0ubuntu0.22.04.1
  • postgresql-16< 16.9-0ubuntu0.24.04.1
  • postgresql-17< 17.5-0ubuntu0.25.04.1
Alpine4 products
  • postgresql14< 14.18-r0
  • postgresql15< 15.13-r0
  • postgresql16< 16.9-r0
  • postgresql17< 17.5-r0
Debian3 products
  • postgresql-13< 13.21-0+deb11u1
  • postgresql-15< 15.13-0+deb12u1
  • postgresql-17< 17.5-1
Mageia2 products
  • postgresql13< 13.21-1.mga9
  • postgresql15< 15.13-1.mga9
Chainguard1 product
  • postgresql-12All versions (No fix recorded)
Wolfi1 product
  • postgresql-12All versions (No fix recorded)

8 vendors · 123 products

References

40 links
Show all 40 references