CVE-2023-39418Postgresql: merge fails to enforce update or select row security policies
- 3.1LowCVSS base score
- 1.1%Exploitation in 30 daysEPSS · top 34% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 10 days later
· 10 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Low3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.1% · top 34% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.1.
Affected products
Red Hat · Red Hat Enterprise Linux 8
- unaffected 8090020231114113548.a75119d5 – < *
Red Hat · Red Hat Enterprise Linux 8.8 Extended Update Support
- unaffected 8080020231113134015.63b34585 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 9030020231120082734.rhel9 – < *
Red Hat · Red Hat Enterprise Linux 9.2 Extended Update Support
- unaffected 9020020231115020618.rhel9 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 7
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 8
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 8
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 8
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 9
All versions: unaffected
Red Hat · Red Hat Software Collections
All versions: unaffected
Red Hat · Red Hat Software Collections
All versions: unaffected
Red Hat · Red Hat Software Collections
All versions: unaffected
References
References10
- RHSA-2023:7785 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7883 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7884 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7885 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-39418 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2228112 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=cb2ae5741f2458a474ed3c31458d242e678ff229 (opens in a new tab)x_transferred
- https://www.postgresql.org/support/security/CVE-2023-39418/ (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20230915-0002/ (opens in a new tab)x_transferred
- https://www.debian.org/security/2023/dsa-5553 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-43142 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-39418)Record last updated .