CVE catalog

CVE-2023-5869

postgresql-15: CVE-2023-5869

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
4.32% · Oct 25, 2026

A flaw was found in PostgreSQL that allows authenticated database users to execute arbitrary code through missing overflow checks during SQL array value modification. This issue exists due to an integer overflow during array modification where a remote user can trigger the overflow by providing specially crafted data. This enables the execution of arbitrary code on the target system, allowing users to write arbitrary bytes to memory and extensively read the server's memory.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpostgresql-15bookworm15.18-0+deb12u1fixed
Debianpostgresql-15bookworm-security15.19-0+deb12u1fixed
Alpinepostgresql143.1514.10-r0fixed
Alpinepostgresql143.1614.10-r0fixed
Alpinepostgresql143.1714.10-r0fixed
Alpinepostgresql143.1814.10-r0fixed
Alpinepostgresql153.1715.5-r0fixed
Alpinepostgresql153.1815.5-r0fixed
Alpinepostgresql153.1915.5-r0fixed
Alpinepostgresql153.2015.5-r0fixed
Alpinepostgresql163.1916.1-r0fixed
Alpinepostgresql163.2016.1-r0fixed
Alpinepostgresql163.2116.1-r0fixed
Alpinepostgresql163.2216.1-r0fixed
Ubuntupostgresql-9.5pro9.5.0-1vulnerable
Ubuntupostgresql-9.5pro9.5.0-2vulnerable
Ubuntupostgresql-9.5pro9.5.0-3vulnerable
Ubuntupostgresql-9.5pro9.5.1-1vulnerable
Ubuntupostgresql-9.5pro9.5.2-1vulnerable
Ubuntupostgresql-9.5pro9.5.3-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.4-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.5-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.6-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.7-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.8-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.9-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.10-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.11-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.12-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.13-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.14-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.16-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.17-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.18-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.19-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.21-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.23-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.24-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1+esm1vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1+esm2vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1+esm3vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1+esm4vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1+esm5vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1+esm6fixed
Ubuntupostgresql-9.3pro9.3.1-1vulnerable
Ubuntupostgresql-9.3pro9.3.2-1vulnerable
Ubuntupostgresql-9.3pro9.3.2-1ubuntu1vulnerable
Ubuntupostgresql-9.3pro9.3.2-1ubuntu2vulnerable
Ubuntupostgresql-9.3pro9.3.3-1vulnerable
Ubuntupostgresql-9.3pro9.3.3-1bzr1vulnerable
Ubuntupostgresql-9.3pro9.3.3-1bzr2vulnerable
Ubuntupostgresql-9.3pro9.3.4-1vulnerable
Ubuntupostgresql-9.3pro9.3.5-0ubuntu0.14.04.1vulnerable
Ubuntupostgresql-9.3pro9.3.6-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.7-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.8-0ubuntu0.4.04vulnerable
Ubuntupostgresql-9.3pro9.3.9-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.10-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.11-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.12-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.13-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.14-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.15-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.16-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.17-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.18-0ubuntu0.14.04.1vulnerable
Ubuntupostgresql-9.3pro9.3.19-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.20-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.21-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.22-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.23-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.24-0ubuntu0.14.04vulnerable
Ubuntupostgresql-9.3pro9.3.24-0ubuntu0.14.04+esm1vulnerable
Ubuntupostgresql-9.5pro9.5.0-1vulnerable
Ubuntupostgresql-9.5pro9.5.0-2vulnerable
Ubuntupostgresql-9.5pro9.5.0-3vulnerable
Ubuntupostgresql-9.5pro9.5.1-1vulnerable
Ubuntupostgresql-9.5pro9.5.2-1vulnerable
Ubuntupostgresql-9.5pro9.5.3-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.4-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.5-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.6-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.7-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.8-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.9-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.10-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.11-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.12-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.13-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.14-0ubuntu0.16.04vulnerable
Ubuntupostgresql-9.5pro9.5.16-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.17-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.18-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.19-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.21-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.23-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.24-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1+esm1vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1+esm2vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1+esm3vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1+esm4vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1+esm5vulnerable
Ubuntupostgresql-9.5pro9.5.25-0ubuntu0.16.04.1+esm6fixed
Ubuntupostgresql-10pro10.1-1vulnerable
Ubuntupostgresql-10pro10.1-2vulnerable
Ubuntupostgresql-10pro10.2-1vulnerable
Ubuntupostgresql-10pro10.3-1vulnerable
Ubuntupostgresql-10pro10.4-0ubuntu0.18.04vulnerable
Ubuntupostgresql-10pro10.5-0ubuntu0.18.04vulnerable
Ubuntupostgresql-10pro10.6-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.7-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.8-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.9-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.10-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.12-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.14-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.15-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.16-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.17-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.18-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.19-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.20-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.21-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.22-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.23-0ubuntu0.18.04.1vulnerable
Ubuntupostgresql-10pro10.23-0ubuntu0.18.04.2vulnerable
Ubuntupostgresql-10pro10.23-0ubuntu0.18.04.2+esm1fixed
Ubuntupostgresql-1220.0412.0-1vulnerable
Ubuntupostgresql-1220.0412.1-1vulnerable
Ubuntupostgresql-1220.0412.1-2build1vulnerable
Ubuntupostgresql-1220.0412.2-1vulnerable
Ubuntupostgresql-1220.0412.2-1ubuntu2vulnerable
Ubuntupostgresql-1220.0412.2-4vulnerable
Ubuntupostgresql-1220.0412.4-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.5-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.6-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.7-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.8-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.9-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.10-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.11-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.12-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.13-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.14-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.15-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.16-0ubuntu0.20.04.1vulnerable
Ubuntupostgresql-1220.0412.17-0ubuntu0.20.04.1fixed
Ubuntupostgresql-1422.0414.1-1ubuntu1vulnerable
Ubuntupostgresql-1422.0414.2-1vulnerable
Ubuntupostgresql-1422.0414.2-1ubuntu1vulnerable
Ubuntupostgresql-1422.0414.3-0ubuntu0.22.04.1vulnerable
Ubuntupostgresql-1422.0414.4-0ubuntu0.22.04.1vulnerable
Ubuntupostgresql-1422.0414.5-0ubuntu0.22.04.1vulnerable
Ubuntupostgresql-1422.0414.6-0ubuntu0.22.04.1vulnerable
Ubuntupostgresql-1422.0414.7-0ubuntu0.22.04.1vulnerable
Ubuntupostgresql-1422.0414.8-0ubuntu0.22.04.1vulnerable
Ubuntupostgresql-1422.0414.9-0ubuntu0.22.04.1vulnerable
Ubuntupostgresql-1422.0414.10-0ubuntu0.22.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpostgresql-15sourcebookworm15.5-0+deb12u1not yet assignedNot reported[1056283]
Alpinepostgresql14apk3.1514.10-r0Not reportedALPINE-CVE-2023-5869Not reported
Alpinepostgresql14apk3.1614.10-r0Not reportedALPINE-CVE-2023-5869Not reported
Alpinepostgresql14apk3.1714.10-r0Not reportedALPINE-CVE-2023-5869Not reported
Alpinepostgresql14apk3.1814.10-r0Not reportedALPINE-CVE-2023-5869Not reported
Alpinepostgresql15apk3.1715.5-r0Not reportedALPINE-CVE-2023-5869Not reported
Alpinepostgresql15apk3.1815.5-r0Not reportedALPINE-CVE-2023-5869Not reported
Alpinepostgresql15apk3.1915.5-r0Not reportedALPINE-CVE-2023-5869Not reported
Alpinepostgresql15apk3.2015.5-r0Not reportedALPINE-CVE-2023-5869Not reported
Alpinepostgresql16apk3.1916.1-r0Not reportedALPINE-CVE-2023-5869Not reported
Alpinepostgresql16apk3.2016.1-r0Not reportedALPINE-CVE-2023-5869Not reported
Alpinepostgresql16apk3.2116.1-r0Not reportedALPINE-CVE-2023-5869Not reported
Alpinepostgresql16apk3.2216.1-r0Not reportedALPINE-CVE-2023-5869Not reported
Ubuntupostgresql-9.5debpro9.5.25-0ubuntu0.16.04.1+esm6Not reportedUSN-6570-1Not reported
Ubuntupostgresql-9.5debpro9.5.25-0ubuntu0.16.04.1+esm6Not reportedUBUNTU-CVE-2023-5869Not reported
Ubuntupostgresql-10debpro10.23-0ubuntu0.18.04.2+esm1Not reportedUBUNTU-CVE-2023-5869Not reported
Ubuntupostgresql-12deb20.0412.17-0ubuntu0.20.04.1Not reportedUBUNTU-CVE-2023-5869Not reported
Ubuntupostgresql-14deb22.0414.10-0ubuntu0.22.04.1Not reportedUBUNTU-CVE-2023-5869Not reported

[Debian bug #1056283]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References