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-2026-6575

published medium CVSS 3.1 · 4.3

PostgreSQL pg_restore_attribute_stats accepts values that cause query planning to read past end of stats array

Published
14 May 2026, 13:00:14 UTC
Updated
14 May 2026, 15:26:40 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — PostgreSQL18 to < 18.4 · Other versions: unaffected Affected Not stated PostgreSQL
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1780 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 postgresql18-test-rpm-macros Advisory build 18.4-1.el10_2 ALSA-2026:27742
Alpine Linux edge postgresql18 Fixed 18.4-r0 Package fix record
Oracle Linux 10 postgresql18aarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Red Hat Enterprise Linux RHEL-10 postgresql18aarch64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 pg_repack Advisory build 1.5.3-1.module_el9.8.0+234+5456f35d ALSA-2026:26204
AlmaLinux 9 pgaudit Advisory build 18.0-1.module_el9.8.0+234+5456f35d ALSA-2026:26204
AlmaLinux 9 pgvector Advisory build 0.8.1-1.module_el9.8.0+234+5456f35d ALSA-2026:26204
AlmaLinux 9 postgis Advisory build 3.6.1-2.module_el9.8.0+239+6fb51d38 ALSA-2026:26204
AlmaLinux 9 postgis-client Advisory build 3.6.1-2.module_el9.8.0+239+6fb51d38 ALSA-2026:26204
AlmaLinux 9 postgis-docs Advisory build 3.6.1-2.module_el9.8.0+239+6fb51d38 ALSA-2026:26204
AlmaLinux 9 postgis-upgrade Advisory build 3.6.1-2.module_el9.8.0+239+6fb51d38 ALSA-2026:26204
AlmaLinux 9 postgis-utils Advisory build 3.6.1-2.module_el9.8.0+239+6fb51d38 ALSA-2026:26204
AlmaLinux 9 postgres-decoderbufs Advisory build 3.3.1-1.Final.module_el9.8.0+234+5456f35d ALSA-2026:26204
AlmaLinux 9 postgresql Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-contrib Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-docs Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-plperl Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-plpython3 Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-pltcl Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-private-devel Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-private-libs Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-server Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-server-devel Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-static Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-test Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-test-rpm-macros Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-upgrade Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
AlmaLinux 9 postgresql-upgrade-devel Advisory build 18.4-2.module_el9.8.0+280+5ad12178 ALSA-2026:26204
Alpine Linux v3.23 postgresql18 Fixed 18.4-r0 Package fix record
Alpine Linux v3.24 postgresql18 Fixed 18.4-r0 Package fix record
Oracle Linux 10 postgresql18x86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-contribaarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-contribx86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-docsaarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-docsx86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-plperlaarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-plperlx86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-plpython3aarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-plpython3x86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-private-develaarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-private-develx86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-private-libsaarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-private-libsx86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-serveraarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-serverx86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-server-develaarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-server-develx86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-staticaarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-staticx86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-testaarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-testx86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-test-rpm-macrosaarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-test-rpm-macrosx86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-upgradeaarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-upgradex86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-upgrade-develaarch64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Oracle Linux 10 postgresql18-upgrade-develx86_64 Advisory build 0:18.4-1.0.1.el10_2 ELSA-2026-27742
Red Hat Enterprise Linux RHEL-10 postgresql18ppc64le Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18s390x Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18src Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18x86_64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-contribaarch64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-contribppc64le Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-contribs390x Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-contribx86_64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-contrib-debuginfoaarch64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-contrib-debuginfoppc64le Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-contrib-debuginfos390x Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-contrib-debuginfox86_64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-debuginfoaarch64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-debuginfoppc64le Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-debuginfos390x Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-debuginfox86_64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-debugsourceaarch64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-debugsourceppc64le Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-debugsources390x Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-debugsourcex86_64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-docsaarch64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-docsppc64le Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-docss390x Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-docsx86_64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-docs-debuginfoaarch64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-docs-debuginfoppc64le Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-docs-debuginfos390x Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-docs-debuginfox86_64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plperlaarch64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plperlppc64le Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plperls390x Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plperlx86_64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plperl-debuginfoaarch64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plperl-debuginfoppc64le Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plperl-debuginfos390x Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plperl-debuginfox86_64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plpython3aarch64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plpython3ppc64le Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plpython3s390x Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plpython3x86_64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plpython3-debuginfoaarch64 Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plpython3-debuginfoppc64le Advisory build 18.4-1.el10_2 RHSA-2026:27742
Red Hat Enterprise Linux RHEL-10 postgresql18-plpython3-debuginfos390x Advisory build 18.4-1.el10_2 RHSA-2026:27742

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

Description

Buffer over-read in PostgreSQL function pg_restore_attribute_stats() accepts array values of unmatched length, which causes query planning to read past end of one array. This allows a table maintainer to infer memory values past that array end. Within major version 18, minor versions before PostgreSQL 18.4 are affected. Versions before PostgreSQL 18 are unaffected.

en · PostgreSQL · cna

Vendor advisories explicitly linked to this CVE.

21

Assessment

CVSS risk assessment and additional context for this vulnerability.

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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a PostgreSQL 18 to < 18.4 (affected · rpm)Default: unaffected PostgreSQL · cna

Weaknesses

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

References

1

Provider assertions

2

PostgreSQL · cna

PostgreSQL pg_restore_attribute_stats accepts values that cause query planning to read past end of stats array

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
aa833833649e4ec45816abae22047dd50c97000206707c7feaebabe3256e56b3
Ingested
23 Sep 2026, 09:28:47 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