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-2023-39418

published low CVSS 3.1 · 3.1

Postgresql: merge fails to enforce update or select row security policies

Published
11 Aug 2023, 12:19:15 UTC
Updated
27 Nov 2026, 02:38:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux 8 postgresql:158090020231114113548.a75119d5 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — postgresql:15Red Hat Enterprise Linux 8.8 Extended Update Support · 8080020231113134015.63b34585 and later · Other versions: affected Unaffected Not stated redhat
Red Hat Enterprise Linux 9 postgresql:159030020231120082734.rhel9 and later · Other versions: affected Unaffected Not stated redhat
Red Hat — postgresql:15Red Hat Enterprise Linux 9.2 Extended Update Support · 9020020231115020618.rhel9 and later · Other versions: affected Unaffected Not stated redhat
Amazon Linux AL2023 Release evaluationALAS2023-2023-387 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 postgresql Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
Alpine Linux v3.13 postgresql Fixed 13.12-r0 Package fix record
Oracle Linux 8 postgresqlaarch64 · postgresql · 15b Advisory build 0:15.5-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Show 104 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux 6, 7, 9 postgresql Unaffected Not required redhat
Red Hat Enterprise Linux 8 postgresql:10/postgresql Unaffected Not required redhat
Red Hat Enterprise Linux 8 postgresql:12/postgresql Unaffected Not required redhat
Red Hat Enterprise Linux 8 postgresql:13/postgresql Unaffected Not required redhat
Red Hat — rh-postgresql10-postgresqlRed Hat Software Collections Unaffected Not required redhat
Red Hat — rh-postgresql12-postgresqlRed Hat Software Collections Unaffected Not required redhat
Red Hat — rh-postgresql13-postgresqlRed Hat Software Collections Unaffected Not required redhat
Red Hat Enterprise Linux RHEL-8 postgresqlaarch64 Advisory build 15.5-1.module+el8.8.0+20658+5fb3eedd RHSA-2023:7883
Debian bookworm postgresql-15 Advisory build 15.5-0+deb12u1 DSA-5553-1
AlmaLinux 9 postgresql Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
Alpine Linux v3.14 postgresql Fixed 13.12-r0 Package fix record
Oracle Linux 8 postgresqlx86_64 · postgresql · 15b Advisory build 0:15.5-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 9 postgresqlaarch64 · postgresql · 15b Advisory build 0:15.5-1.module+el9.3.0+90103+1d024772 ELSA-2023-7785
Oracle Linux 9 postgresqlx86_64 · postgresql · 15b Advisory build 0:15.5-1.module+el9.3.0+90103+1d024772 ELSA-2023-7785
Red Hat Enterprise Linux RHEL-8 postgresqlaarch64 Advisory build 15.5-1.module+el8.9.0+20663+03952ce4 RHSA-2023:7884
Red Hat Enterprise Linux RHEL-8 postgresqlppc64le Advisory build 15.5-1.module+el8.8.0+20658+5fb3eedd RHSA-2023:7883
Red Hat Enterprise Linux RHEL-8 postgresqlppc64le Advisory build 15.5-1.module+el8.9.0+20663+03952ce4 RHSA-2023:7884
Red Hat Enterprise Linux RHEL-8 postgresqls390x Advisory build 15.5-1.module+el8.8.0+20658+5fb3eedd RHSA-2023:7883
Red Hat Enterprise Linux RHEL-8 postgresqls390x Advisory build 15.5-1.module+el8.9.0+20663+03952ce4 RHSA-2023:7884
Red Hat Enterprise Linux RHEL-8 postgresqlsrc Advisory build 15.5-1.module+el8.8.0+20658+5fb3eedd RHSA-2023:7883
Red Hat Enterprise Linux RHEL-8 postgresqlsrc Advisory build 15.5-1.module+el8.9.0+20663+03952ce4 RHSA-2023:7884
Red Hat Enterprise Linux RHEL-8 postgresqlx86_64 Advisory build 15.5-1.module+el8.8.0+20658+5fb3eedd RHSA-2023:7883
Red Hat Enterprise Linux RHEL-8 postgresqlx86_64 Advisory build 15.5-1.module+el8.9.0+20663+03952ce4 RHSA-2023:7884
Red Hat Enterprise Linux RHEL-9 postgresqlaarch64 Advisory build 15.5-1.module+el9.2.0.z+20667+a2d2a8a9 RHSA-2023:7785
Red Hat Enterprise Linux RHEL-9 postgresqlaarch64 Advisory build 15.5-1.module+el9.2.0.z+20667+a2d2a8a9 RHSA-2023:7885
Red Hat Enterprise Linux RHEL-9 postgresqlppc64le Advisory build 15.5-1.module+el9.2.0.z+20667+a2d2a8a9 RHSA-2023:7785
Red Hat Enterprise Linux RHEL-9 postgresqlppc64le Advisory build 15.5-1.module+el9.2.0.z+20667+a2d2a8a9 RHSA-2023:7885
Red Hat Enterprise Linux RHEL-9 postgresqls390x Advisory build 15.5-1.module+el9.2.0.z+20667+a2d2a8a9 RHSA-2023:7785
Red Hat Enterprise Linux RHEL-9 postgresqls390x Advisory build 15.5-1.module+el9.2.0.z+20667+a2d2a8a9 RHSA-2023:7885
Red Hat Enterprise Linux RHEL-9 postgresqlsrc Advisory build 15.5-1.module+el9.2.0.z+20667+a2d2a8a9 RHSA-2023:7785
Red Hat Enterprise Linux RHEL-9 postgresqlsrc Advisory build 15.5-1.module+el9.2.0.z+20667+a2d2a8a9 RHSA-2023:7885
Red Hat Enterprise Linux RHEL-9 postgresqlx86_64 Advisory build 15.5-1.module+el9.2.0.z+20667+a2d2a8a9 RHSA-2023:7785
Red Hat Enterprise Linux RHEL-9 postgresqlx86_64 Advisory build 15.5-1.module+el9.2.0.z+20667+a2d2a8a9 RHSA-2023:7885
AlmaLinux 8 pg_repack Advisory build 1.4.8-1.module_el8.8.0+3487+43ec1b9f ALSA-2023:7884
AlmaLinux 8 pgaudit Advisory build 1.7.0-1.module_el8.8.0+3487+43ec1b9f ALSA-2023:7884
AlmaLinux 8 postgres-decoderbufs Advisory build 1.9.7-1.Final.module_el8.8.0+3487+43ec1b9f ALSA-2023:7884
AlmaLinux 8 postgresql-contrib Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 8 postgresql-docs Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 8 postgresql-plperl Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 8 postgresql-plpython3 Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 8 postgresql-pltcl Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 8 postgresql-private-devel Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 8 postgresql-private-libs Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 8 postgresql-server Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 8 postgresql-server-devel Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 8 postgresql-static Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 8 postgresql-test Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 8 postgresql-test-rpm-macros Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 8 postgresql-upgrade Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 8 postgresql-upgrade-devel Advisory build 15.5-1.module_el8.9.0+3706+885c732e ALSA-2023:7884
AlmaLinux 9 pg_repack Advisory build 1.4.8-1.module_el9.2.0+22+09653793 ALSA-2023:7785
AlmaLinux 9 pgaudit Advisory build 1.7.0-1.module_el9.2.0+22+09653793 ALSA-2023:7785
AlmaLinux 9 postgres-decoderbufs Advisory build 1.9.7-1.Final.module_el9.2.0+22+09653793 ALSA-2023:7785
AlmaLinux 9 postgresql-contrib Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
AlmaLinux 9 postgresql-docs Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
AlmaLinux 9 postgresql-plperl Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
AlmaLinux 9 postgresql-plpython3 Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
AlmaLinux 9 postgresql-pltcl Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
AlmaLinux 9 postgresql-private-devel Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
AlmaLinux 9 postgresql-private-libs Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
AlmaLinux 9 postgresql-server Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
AlmaLinux 9 postgresql-server-devel Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
AlmaLinux 9 postgresql-static Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
AlmaLinux 9 postgresql-test Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
AlmaLinux 9 postgresql-test-rpm-macros Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
AlmaLinux 9 postgresql-upgrade Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
AlmaLinux 9 postgresql-upgrade-devel Advisory build 15.5-1.module_el9.3.0+52+21733919 ALSA-2023:7785
Alpine Linux v3.15 postgresql12 Fixed 12.16-r0 Package fix record
Alpine Linux v3.15 postgresql13 Fixed 13.12-r0 Package fix record
Alpine Linux v3.15 postgresql14 Fixed 14.9-r0 Package fix record
Alpine Linux v3.16 postgresql12 Fixed 12.16-r0 Package fix record
Alpine Linux v3.16 postgresql13 Fixed 13.12-r0 Package fix record
Alpine Linux v3.16 postgresql14 Fixed 14.9-r0 Package fix record
Alpine Linux v3.17 postgresql12 Fixed 12.16-r0 Package fix record
Alpine Linux v3.17 postgresql13 Fixed 13.12-r0 Package fix record
Alpine Linux v3.17 postgresql14 Fixed 14.9-r0 Package fix record
Alpine Linux v3.17 postgresql15 Fixed 15.4-r0 Package fix record
Alpine Linux v3.18 postgresql12 Fixed 12.16-r0 Package fix record
Alpine Linux v3.18 postgresql13 Fixed 13.12-r0 Package fix record
Alpine Linux v3.18 postgresql14 Fixed 14.9-r0 Package fix record
Alpine Linux v3.18 postgresql15 Fixed 15.4-r0 Package fix record
Alpine Linux v3.19 postgresql13 Fixed 13.12-r0 Package fix record
Alpine Linux v3.19 postgresql14 Fixed 14.9-r0 Package fix record
Alpine Linux v3.19 postgresql15 Fixed 15.4-r0 Package fix record
Alpine Linux v3.20 postgresql14 Fixed 14.9-r0 Package fix record
Alpine Linux v3.20 postgresql15 Fixed 15.4-r0 Package fix record
Alpine Linux v3.21 postgresql15 Fixed 15.4-r0 Package fix record
Alpine Linux v3.22 postgresql15 Fixed 15.4-r0 Package fix record
Oracle Linux 8 pg_repackaarch64 · postgresql · 15b Advisory build 0:1.4.8-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 pg_repackx86_64 · postgresql · 15b Advisory build 0:1.4.8-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 pgauditaarch64 · postgresql · 15b Advisory build 0:1.7.0-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 pgauditx86_64 · postgresql · 15b Advisory build 0:1.7.0-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 postgres-decoderbufsaarch64 · postgresql · 15b Advisory build 0:1.9.7-1.Final.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 postgres-decoderbufsx86_64 · postgresql · 15b Advisory build 0:1.9.7-1.Final.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 postgresql-contribaarch64 · postgresql · 15b Advisory build 0:15.5-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 postgresql-contribx86_64 · postgresql · 15b Advisory build 0:15.5-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 postgresql-docsaarch64 · postgresql · 15b Advisory build 0:15.5-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 postgresql-docsx86_64 · postgresql · 15b Advisory build 0:15.5-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 postgresql-plperlaarch64 · postgresql · 15b Advisory build 0:15.5-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 postgresql-plperlx86_64 · postgresql · 15b Advisory build 0:15.5-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 postgresql-plpython3aarch64 · postgresql · 15b Advisory build 0:15.5-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 postgresql-plpython3x86_64 · postgresql · 15b Advisory build 0:15.5-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 postgresql-pltclaarch64 · postgresql · 15b Advisory build 0:15.5-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884
Oracle Linux 8 postgresql-pltclx86_64 · postgresql · 15b Advisory build 0:15.5-1.module+el8.9.0+90110+d8a562d5 ELSA-2023-7884

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

Description

A vulnerability was found in PostgreSQL with the use of the MERGE command, which fails to test new rows against row security policies defined for UPDATE and SELECT. If UPDATE and SELECT policies forbid some rows that INSERT policies do not forbid, a user could store such rows.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

41

Assessment

CVSS risk assessment and additional context for this vulnerability.

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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Red Hat Red Hat Enterprise Linux 8 8090020231114113548.a75119d5 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support 8080020231113134015.63b34585 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat Enterprise Linux 9 9030020231120082734.rhel9 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support 9020020231115020618.rhel9 and later (unaffected · rpm)Default: affected redhat · cna
Red Hat Red Hat Enterprise Linux 6 Default: unaffected redhat · cna
Red Hat Red Hat Enterprise Linux 7 Default: unaffected redhat · cna
Red Hat Red Hat Enterprise Linux 8 Default: unaffected redhat · cna
Red Hat Red Hat Enterprise Linux 8 Default: unaffected redhat · cna
Red Hat Red Hat Enterprise Linux 8 Default: unaffected redhat · cna
Red Hat Red Hat Enterprise Linux 9 Default: unaffected redhat · cna
Red Hat Red Hat Software Collections Default: unaffected redhat · cna
Red Hat Red Hat Software Collections Default: unaffected redhat · cna
Red Hat Red Hat Software Collections Default: unaffected redhat · cna

Weaknesses

1
  • CWE-1220 Insufficient Granularity of Access Control (redhat · cna)

References

10

Provider assertions

3

redhat · cna

Postgresql: merge fails to enforce update or select row security policies

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
c8be2c4d52bf927d0b934183e9e7e1478fce8968f7166f2a0d78729775bbddfe
Ingested
27 Nov 2026, 02:44:12 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