4.3

CVE-2023-39418: Postgresql: merge fails to enforce update or select row security policies

Modified
AliasesALPINE-CVE-2023-39418DEBIAN-CVE-2023-39418
Published 11-08-2023Last modified 27-11-2026

Vulnerability summary

CVE-2023-39418 is a medium (CVSS 4.3) vulnerability in debian debian_linux. EPSS estimates a 1.09% chance of exploitation in the next 30 days, higher than 66.4% of scored vulnerabilities.

Priority
Routine

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

Source freshness unavailable

How is this decided?
CVSS score
4.3/10
010
Medium · v3.1 (NVD)
EPSS score
1.09%
0%100%
Low · 0.00 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 9 · Related 3

Timeline

  1. 11-08-2023
    PublishedVulnerability first disclosed.
  2. 27-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

1.09%

Chance of exploitation in the next 30 days

Percentile

66%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.09% 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, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine5 products
  • postgresql≥ 15.0, < 13.12-r0 | < 13.12-r0
  • postgresql12< 12.16-r0
  • postgresql13< 13.12-r0
  • postgresql14< 14.9-r0
  • postgresql15< 15.4-r0
Debian2 products
Postgresql1 product
Redhat1 product

4 vendors · 9 products

References

12 links
Show all 12 references