
CVE catalog
CVE-2023-39418
postgresql-15: CVE-2023-39418
- Severity
- Medium · CVSS 4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.09% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | postgresql-15 | bookworm | 15.18-0+deb12u1 | fixed |
| Debian | postgresql-15 | bookworm-security | 15.19-0+deb12u1 | fixed |
| Alpine | postgresql | 3.13 | 13.12-r0 | fixed |
| Alpine | postgresql | 3.14 | 13.12-r0 | fixed |
| Alpine | postgresql13 | 3.15 | 13.12-r0 | fixed |
| Alpine | postgresql13 | 3.16 | 13.12-r0 | fixed |
| Alpine | postgresql14 | 3.15 | 14.9-r0 | fixed |
| Alpine | postgresql14 | 3.16 | 14.9-r0 | fixed |
| Alpine | postgresql14 | 3.17 | 14.9-r0 | fixed |
| Alpine | postgresql14 | 3.18 | 14.9-r0 | fixed |
| Alpine | postgresql15 | 3.17 | 15.4-r0 | fixed |
| Alpine | postgresql15 | 3.18 | 15.4-r0 | fixed |
| Alpine | postgresql15 | 3.19 | 15.4-r0 | fixed |
| Alpine | postgresql15 | 3.20 | 15.4-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | postgresql-15 | source | bookworm | 15.5-0+deb12u1 | not yet assigned | Not reported | Not reported |
| Alpine | postgresql | apk | 3.13 | 13.12-r0 | Not reported | ALPINE-CVE-2023-39418 | Not reported |
| Alpine | postgresql | apk | 3.14 | 13.12-r0 | Not reported | ALPINE-CVE-2023-39418 | Not reported |
| Alpine | postgresql13 | apk | 3.15 | 13.12-r0 | Not reported | ALPINE-CVE-2023-39418 | Not reported |
| Alpine | postgresql13 | apk | 3.16 | 13.12-r0 | Not reported | ALPINE-CVE-2023-39418 | Not reported |
| Alpine | postgresql14 | apk | 3.15 | 14.9-r0 | Not reported | ALPINE-CVE-2023-39418 | Not reported |
| Alpine | postgresql14 | apk | 3.16 | 14.9-r0 | Not reported | ALPINE-CVE-2023-39418 | Not reported |
| Alpine | postgresql14 | apk | 3.17 | 14.9-r0 | Not reported | ALPINE-CVE-2023-39418 | Not reported |
| Alpine | postgresql14 | apk | 3.18 | 14.9-r0 | Not reported | ALPINE-CVE-2023-39418 | Not reported |
| Alpine | postgresql15 | apk | 3.17 | 15.4-r0 | Not reported | ALPINE-CVE-2023-39418 | Not reported |
| Alpine | postgresql15 | apk | 3.18 | 15.4-r0 | Not reported | ALPINE-CVE-2023-39418 | Not reported |
| Alpine | postgresql15 | apk | 3.19 | 15.4-r0 | Not reported | ALPINE-CVE-2023-39418 | Not reported |
| Alpine | postgresql15 | apk | 3.20 | 15.4-r0 | Not reported | ALPINE-CVE-2023-39418 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://access.redhat.com/errata/RHSA-2023:7883]
- [https://cert-portal.siemens.com/productcert/csaf/ssa-943925.json]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2023_3342-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2023-39418]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-39418]
- [https://security-tracker.debian.org/tracker/CVE-2023-39418]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2038.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]