Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-4207

published medium CVSS 3.1 · 5.9

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

Published
08 May 2025, 14:22:45 UTC
Updated
09 May 2025, 18:03:35 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — PostgreSQL17 to < 17.5 · 16 to < 16.9 · 15 to < 15.13 · 14 to < 14.18 · 0 to < 13.21 · Other versions: unaffected Affected Not stated PostgreSQL
Amazon Linux AL2 Release evaluationALAS2-2025-2902 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2POSTGRESQL13-2025-011 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2POSTGRESQL14-2025-018 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-973 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-974 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 postgresql-test-rpm-macros Advisory build 16.10-1.el10_0 ALSA-2025:14826
Alpine Linux edge postgresql17 Fixed 17.5-r0 Package fix record
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2025-975 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 pg_repack Advisory build 1.4.6-3.module_el8.6.0+2760+1746ec94 ALSA-2025:15021
AlmaLinux 8 pg_repack Advisory build 1.4.6-3.module_el8.6.0+3095+ee60d910 ALSA-2025:15021
AlmaLinux 8 pg_repack Advisory build 1.4.8-1.module_el8.9.0+3706+885c732e ALSA-2025:15022
AlmaLinux 8 pg_repack Advisory build 1.5.1-1.module_el8.10.0+3930+ecf33554 ALSA-2025:14899
AlmaLinux 8 pgaudit Advisory build 1.5.0-1.module_el8.6.0+2760+1746ec94 ALSA-2025:15021
AlmaLinux 8 pgaudit Advisory build 1.5.0-1.module_el8.6.0+3095+ee60d910 ALSA-2025:15021
AlmaLinux 8 pgaudit Advisory build 1.7.0-1.module_el8.9.0+3706+885c732e ALSA-2025:15022
AlmaLinux 8 pgaudit Advisory build 16.0-1.module_el8.10.0+3798+606ebb9f ALSA-2025:14899
AlmaLinux 8 postgres-decoderbufs Advisory build 0.10.0-2.module_el8.6.0+2760+1746ec94 ALSA-2025:15021
AlmaLinux 8 postgres-decoderbufs Advisory build 0.10.0-2.module_el8.6.0+3095+ee60d910 ALSA-2025:15021
AlmaLinux 8 postgres-decoderbufs Advisory build 1.9.7-1.Final.module_el8.9.0+3706+885c732e ALSA-2025:15022
AlmaLinux 8 postgres-decoderbufs Advisory build 2.4.0-1.Final.module_el8.10.0+3798+606ebb9f ALSA-2025:14899
AlmaLinux 8 postgresql Advisory build 13.22-1.module_el8.10.0+4042+cb252986 ALSA-2025:15021
AlmaLinux 8 postgresql Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-contrib Advisory build 13.22-1.module_el8.10.0+4042+cb252986 ALSA-2025:15021
AlmaLinux 8 postgresql-contrib Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-contrib Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-docs Advisory build 13.22-1.module_el8.10.0+4042+cb252986 ALSA-2025:15021
AlmaLinux 8 postgresql-docs Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-docs Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-plperl Advisory build 13.22-1.module_el8.10.0+4042+cb252986 ALSA-2025:15021
AlmaLinux 8 postgresql-plperl Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-plperl Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-plpython3 Advisory build 13.22-1.module_el8.10.0+4042+cb252986 ALSA-2025:15021
AlmaLinux 8 postgresql-plpython3 Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-plpython3 Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-pltcl Advisory build 13.22-1.module_el8.10.0+4042+cb252986 ALSA-2025:15021
AlmaLinux 8 postgresql-pltcl Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-pltcl Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-private-devel Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-private-devel Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-private-libs Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-private-libs Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-server Advisory build 13.22-1.module_el8.10.0+4042+cb252986 ALSA-2025:15021
AlmaLinux 8 postgresql-server Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-server Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-server-devel Advisory build 13.22-1.module_el8.10.0+4042+cb252986 ALSA-2025:15021
AlmaLinux 8 postgresql-server-devel Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-server-devel Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-static Advisory build 13.22-1.module_el8.10.0+4042+cb252986 ALSA-2025:15021
AlmaLinux 8 postgresql-static Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-static Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-test Advisory build 13.22-1.module_el8.10.0+4042+cb252986 ALSA-2025:15021
AlmaLinux 8 postgresql-test Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-test Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-test-rpm-macros Advisory build 13.22-1.module_el8.10.0+4042+cb252986 ALSA-2025:15021
AlmaLinux 8 postgresql-test-rpm-macros Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-test-rpm-macros Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-upgrade Advisory build 13.22-1.module_el8.10.0+4042+cb252986 ALSA-2025:15021
AlmaLinux 8 postgresql-upgrade Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-upgrade Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 8 postgresql-upgrade-devel Advisory build 13.22-1.module_el8.10.0+4042+cb252986 ALSA-2025:15021
AlmaLinux 8 postgresql-upgrade-devel Advisory build 15.14-1.module_el8.10.0+4041+afd30bb4 ALSA-2025:15022
AlmaLinux 8 postgresql-upgrade-devel Advisory build 16.10-1.module_el8.10.0+4038+0fbad93c ALSA-2025:14899
AlmaLinux 9 pg_repack Advisory build 1.4.8-2.module_el9.5.0+119+18833d03 ALSA-2025:14862
AlmaLinux 9 pg_repack Advisory build 1.5.1-1.module_el9.6.0+146+c54fdeca ALSA-2025:14827
AlmaLinux 9 pgaudit Advisory build 1.7.0-1.module_el9.3.0+52+21733919 ALSA-2025:14862
AlmaLinux 9 pgaudit Advisory build 16.0-1.module_el9.4.0+66+eb9878bc ALSA-2025:14827
AlmaLinux 9 pgvector Advisory build 0.6.2-2.module_el9.6.0+167+4e561146 ALSA-2025:14827
AlmaLinux 9 postgres-decoderbufs Advisory build 1.9.7-1.Final.module_el9.3.0+52+21733919 ALSA-2025:14862
AlmaLinux 9 postgres-decoderbufs Advisory build 2.4.0-1.Final.module_el9.4.0+66+eb9878bc ALSA-2025:14827
AlmaLinux 9 postgresql Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-contrib Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-contrib Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-docs Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-docs Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-plperl Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-plperl Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-plpython3 Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-plpython3 Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-pltcl Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-pltcl Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-private-devel Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-private-devel Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-private-libs Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-private-libs Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-server Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-server Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-server-devel Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-server-devel Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-static Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-static Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-test Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-test Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-test-rpm-macros Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-test-rpm-macros Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-upgrade Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-upgrade Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
AlmaLinux 9 postgresql-upgrade-devel Advisory build 15.14-1.module_el9.6.0+176+c508cfa2 ALSA-2025:14862
AlmaLinux 9 postgresql-upgrade-devel Advisory build 16.10-1.module_el9.6.0+174+80cb77f0 ALSA-2025:14827
Alpine Linux v3.18 postgresql14 Fixed 14.18-r0 Package fix record
Alpine Linux v3.18 postgresql15 Fixed 15.13-r0 Package fix record
Alpine Linux v3.19 postgresql15 Fixed 15.13-r0 Package fix record
Alpine Linux v3.19 postgresql16 Fixed 16.9-r0 Package fix record
Alpine Linux v3.20 postgresql15 Fixed 15.13-r0 Package fix record
Alpine Linux v3.20 postgresql16 Fixed 16.9-r0 Package fix record

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · PostgreSQL · cna

Vendor advisories explicitly linked to this CVE.

83

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.9 / 10
Severity
medium
Provider
PostgreSQL · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a PostgreSQL 17 to < 17.5 (affected · rpm)16 to < 16.9 (affected · rpm)15 to < 15.13 (affected · rpm)14 to < 14.18 (affected · rpm)0 to < 13.21 (affected · rpm)Default: unaffected PostgreSQL · cna

Weaknesses

1
  • CWE-126 Buffer Over-read (PostgreSQL · cna)

References

3

Provider assertions

3

PostgreSQL · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
6ed8aa2b9007b19b47f7b77289333939710709bbdb4314dcde55393f518343a0
Ingested
23 Sep 2026, 08:51:38 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected