cve.bz

CVE-2023-5869 Year 2038 problem, Y2K38, Y2038, Epochalypse

8.8 highEPSS 4.3%Fix available

High (8.8). EPSS 4.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
4.3% (unchanged from 4.3% a week ago; 4.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-11-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Advanced Cluster Security 4.2: fixed in 4.2.4-6
  • Red Hat Red Hat Advanced Cluster Security 4.2: fixed in 4.2.4-7
  • Red Hat Red Hat Enterprise Linux 7: fixed in 0:9.2.24-9.el7_9
  • Red Hat Red Hat Enterprise Linux 8: fixed in 8090020231114113712.a75119d5
  • Red Hat Red Hat Enterprise Linux 8: fixed in 8090020231128173330.a75119d5
  • Red Hat Red Hat Enterprise Linux 8: fixed in 8090020231201202407.a75119d5
  • Red Hat Red Hat Enterprise Linux 8: fixed in 8090020231114113548.a75119d5
  • Red Hat Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions: fixed in 8010020231130170510.c27ad7f8
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpine, Azure Linux, Alpaquita: fixed package versions per release
  • Vendor advisory: https://www.postgresql.org/support/security/CVE-2023-5869/

Ask an AI about this CVE

Show the promptExplain CVE-2023-5869 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-5869?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-5869?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-5869 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Advanced Cluster Security 4.24.2.4-6
Red Hat Advanced Cluster Security 4.24.2.4-7
Red Hat Enterprise Linux 70:9.2.24-9.el7_9
Red Hat Enterprise Linux 88090020231114113712.a75119d5
Red Hat Enterprise Linux 88090020231128173330.a75119d5
Red Hat Enterprise Linux 88090020231201202407.a75119d5
Red Hat Enterprise Linux 88090020231114113548.a75119d5
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions8010020231130170510.c27ad7f8
Red Hat Enterprise Linux 8.2 Advanced Update Support8020020231128165246.4cda2c84
Red Hat Enterprise Linux 8.2 Advanced Update Support8020020231201202149.4cda2c84
Red Hat Enterprise Linux 8.2 Telecommunications Update Service8020020231128165246.4cda2c84
Red Hat Enterprise Linux 8.2 Telecommunications Update Service8020020231201202149.4cda2c84
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions8020020231128165246.4cda2c84
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions8020020231201202149.4cda2c84
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020231127153301.522a0ee4
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020231127154806.522a0ee4
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020231127142440.522a0ee4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service8040020231127153301.522a0ee4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service8040020231127154806.522a0ee4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service8040020231127142440.522a0ee4
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions8040020231127153301.522a0ee4
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions8040020231127154806.522a0ee4
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions8040020231127142440.522a0ee4
Red Hat Enterprise Linux 8.6 Extended Update Support8060020231114115246.ad008a3a
Red Hat Enterprise Linux 8.6 Extended Update Support8060020231128165328.ad008a3a
Red Hat Enterprise Linux 8.6 Extended Update Support8060020231201202249.ad008a3a
Red Hat Enterprise Linux 8.8 Extended Update Support8080020231114105206.63b34585
Red Hat Enterprise Linux 8.8 Extended Update Support8080020231128165335.63b34585
Red Hat Enterprise Linux 8.8 Extended Update Support8080020231201202316.63b34585
Red Hat Enterprise Linux 8.8 Extended Update Support8080020231113134015.63b34585
Red Hat Enterprise Linux 90:13.13-1.el9_3
Red Hat Enterprise Linux 99030020231120082734.rhel9
Red Hat Enterprise Linux 9.0 Extended Update Support0:13.13-1.el9_0
Red Hat Enterprise Linux 9.2 Extended Update Support0:13.13-1.el9_2
Red Hat Enterprise Linux 9.2 Extended Update Support9020020231115020618.rhel9
Red Hat Software Collections for Red Hat Enterprise Linux 70:12.17-1.el7
Red Hat Software Collections for Red Hat Enterprise Linux 70:10.23-2.el7
Red Hat Software Collections for Red Hat Enterprise Linux 70:13.13-1.el7
Red Hat RHACS-3.74-RHEL-83.74.8-9
Red Hat RHACS-3.74-RHEL-83.74.8-7
Red Hat RHACS-4.1-RHEL-84.1.6-6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10postgresql-1111.22-0+deb10u1DLA-3651-1
Debian11postgresql-1313.13-0+deb11u1DSA-5554-1
Debian12postgresql-1515.5-0+deb12u1DEBIAN-CVE-2023-5869 DSA-5553-1
Ubuntu20.04:LTSpostgresql-1212.17-0ubuntu0.20.04.1UBUNTU-CVE-2023-5869 USN-6538-1
Ubuntu22.04:LTSpostgresql-1414.10-0ubuntu0.22.04.1UBUNTU-CVE-2023-5869 USN-6538-1
UbuntuPro:14.04:LTSpostgresql-9.3no fix listedUBUNTU-CVE-2023-5869
UbuntuPro:16.04:LTSpostgresql-9.59.5.25-0ubuntu0.16.04.1+esm6UBUNTU-CVE-2023-5869 USN-6570-1
UbuntuPro:18.04:LTSpostgresql-1010.23-0ubuntu0.18.04.2+esm1UBUNTU-CVE-2023-5869 USN-6538-2
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationpostgresql, postgresql-docs, postgresql-libs and 10 more0:9.2.24-9.el7_9RHSA-2023:7783
Red Hatenterprise_linux:7::computenodepostgresql, postgresql-docs, postgresql-test and 9 more0:9.2.24-9.el7_9RHSA-2023:7783
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.6-3.module+el8.9.0+19330+c97ddbdfRHSA-2023:7714
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.6-3.module+el8.9.0+20664+9c30cf7fRHSA-2023:7581
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.8-1.module+el8.9.0+19797+c4ce5969RHSA-2023:7884
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.4.0-5.module+el8.9.0+19330+c97ddbdfRHSA-2023:7714
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.5.0-1.module+el8.9.0+20664+9c30cf7fRHSA-2023:7581
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.7.0-1.module+el8.9.0+19797+c4ce5969RHSA-2023:7884
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:0.10.0-2.module+el8.9.0+19330+c97ddbdfRHSA-2023:7714
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:0.10.0-2.module+el8.9.0+20664+9c30cf7fRHSA-2023:7581
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:1.9.7-1.Final.module+el8.9.0+19797+c4ce5969RHSA-2023:7884
Red Hatenterprise_linux:8::appstreampostgresql, postgresql-docs, postgresql-test and 25 more0:15.5-1.module+el8.9.0+20663+03952ce4RHSA-2023:7884
54 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 11 morepostgresql1616.1-150200.5.7.1SUSE-SU-2023:4495-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 10 morepostgresql1414.10-150200.5.36.1SUSE-SU-2023:4479-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 6 morepostgresql1313.13-150200.5.50.1SUSE-SU-2023:4455-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 5 morepostgresql1212.17-150200.8.54.1SUSE-SU-2023:4454-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 morepostgresql1515.5-150200.5.19.1SUSE-SU-2023:4495-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 2 morepostgresql16-150300.10.18.3SUSE-SU-2023:4495-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2postgresql16-150200.4.24.1SUSE-SU-2023:4495-1
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Package Hub 15 SP4 and 3 morepostgresql1515.5-150200.5.19.1SUSE-SU-2024:0106-1
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Package Hub 15 SP4 and 3 morepostgresql1616.1-150200.5.7.1SUSE-SU-2024:0106-1
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Legacy 15 SP4, Linux Enterprise Module for Package Hub 15 SP4 and 1 morepostgresql16-150400.4.9.2SUSE-SU-2023:4495-1 SUSE-SU-2024:0106-1
SUSELinux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Legacy 15 SP5, Linux Enterprise Module for Package Hub 15 SP5 and 1 morepostgresql16-150500.10.3.2SUSE-SU-2023:4495-1
SUSELinux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Legacy 15 SP5, Linux Enterprise Module for Server Applications 15 SP5postgresql16-150500.10.3.2SUSE-SU-2024:0106-1
7 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4postgresql16-150400.4.9.2SUSE-SU-2023:4495-1
openSUSELeap 15.4, Leap 15.5postgresql1212.17-150200.8.54.1SUSE-SU-2023:4454-1
openSUSELeap 15.4, Leap 15.5postgresql1313.13-150200.5.50.1SUSE-SU-2023:4455-1
openSUSELeap 15.4, Leap 15.5postgresql1414.10-150200.5.36.1SUSE-SU-2023:4479-1
openSUSELeap 15.4, Leap 15.5postgresql1515.5-150200.5.19.1SUSE-SU-2023:4495-1
openSUSELeap 15.4, Leap 15.5postgresql16, postgresql16-mini16.1-150200.5.7.1SUSE-SU-2023:4495-1
openSUSELeap 15.5postgresql16-150500.10.3.2SUSE-SU-2023:4495-1
openSUSETumbleweedpostgresql1111.22-1.1openSUSE-SU-2024:13408-1
openSUSETumbleweedpostgresql1212.18-1.1openSUSE-SU-2024:13668-1
openSUSETumbleweedpostgresql1313.13-1.1openSUSE-SU-2024:13409-1
openSUSETumbleweedpostgresql1414.10-1.1openSUSE-SU-2024:13410-1
openSUSETumbleweedpostgresql1515.5-1.1openSUSE-SU-2024:13413-1
2 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8pg_repack1.4.6-3.module_el8.6.0+2758+4f4474dfALSA-2023:7714
AlmaLinux8pg_repack1.4.6-3.module_el8.6.0+2760+1746ec94ALSA-2023:7581
AlmaLinux8pg_repack1.4.6-3.module_el8.6.0+3094+eb237fb8ALSA-2023:7714
AlmaLinux8pg_repack1.4.6-3.module_el8.6.0+3095+ee60d910ALSA-2023:7581
AlmaLinux8pg_repack1.4.8-1.module_el8.8.0+3487+43ec1b9fALSA-2023:7884
AlmaLinux8pgaudit1.4.0-5.module_el8.6.0+2758+4f4474dfALSA-2023:7714
AlmaLinux8pgaudit1.4.0-5.module_el8.6.0+3094+eb237fb8ALSA-2023:7714
AlmaLinux8pgaudit1.5.0-1.module_el8.6.0+2760+1746ec94ALSA-2023:7581
AlmaLinux8pgaudit1.5.0-1.module_el8.6.0+3095+ee60d910ALSA-2023:7581
AlmaLinux8pgaudit1.7.0-1.module_el8.8.0+3487+43ec1b9fALSA-2023:7884
AlmaLinux8postgres-decoderbufs0.10.0-2.module_el8.6.0+2758+4f4474dfALSA-2023:7714
AlmaLinux8postgres-decoderbufs0.10.0-2.module_el8.6.0+2760+1746ec94ALSA-2023:7581
12 more for AlmaLinux in the JSON.
Rocky Linux8pg_repack0:1.4.6-3.module+el8.5.0+684+c3892ef9RLSA-2023:7581 RLSA-2023:7714
Rocky Linux8pg_repack0:1.4.8-1.module+el8.10.0+1622+bd25b19cRLSA-2023:7884
Rocky Linux8pg_repack0:1.4.8-1.module+el8.10.0+1858+fcc46a79RLSA-2023:7884
Rocky Linux8pg_repack0:1.4.8-1.module+el8.10.0+40056+df351139RLSA-2023:7884
Rocky Linux8pg_repack0:1.4.8-1.module+el8.9.0+1525+fc91df60RLSA-2023:7884
Rocky Linux8pgaudit0:1.4.0-5.module+el8.9.0+1331+6f33d496RLSA-2023:7714
Rocky Linux8pgaudit0:1.5.0-1.module+el8.8.0+1443+0e26d3b2RLSA-2023:7581
Rocky Linux8pgaudit0:1.7.0-1.module+el8.10.0+40056+df351139RLSA-2023:7884
Rocky Linux8pgaudit0:1.7.0-1.module+el8.9.0+1525+fc91df60RLSA-2023:7884
Rocky Linux8postgres-decoderbufs0:0.10.0-2.module+el8.5.0+684+c3892ef9RLSA-2023:7581 RLSA-2023:7714
Rocky Linux8postgres-decoderbufs0:1.9.7-1.Final.module+el8.10.0+40056+df351139RLSA-2023:7884
Rocky Linux8postgres-decoderbufs0:1.9.7-1.Final.module+el8.9.0+1525+fc91df60RLSA-2023:7884
5 more for Rocky Linux in the JSON.
Alpinev3.15, v3.16, v3.17 and 1 morepostgresql1212.17-r0ALPINE-CVE-2023-5869
Alpinev3.15, v3.16, v3.17 and 3 morepostgresql1414.10-r0ALPINE-CVE-2023-5869
Alpinev3.17, v3.18, v3.19 and 3 morepostgresql1515.5-r0ALPINE-CVE-2023-5869
Alpinev3.19, v3.20, v3.21 and 3 morepostgresql1616.1-r0ALPINE-CVE-2023-5869
Azure Linux2postgresql14.10-1AZL-32104
Alpaquita23postgresql1515.5-r0BELL-CVE-2023-5869
Alpaquitastreampostgresql1616.1-r0BELL-CVE-2023-5869

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

ProductPackageStateAdvisory
Red Hat Advanced Cluster Security 4.2advanced-cluster-security/rhacs-central-db-rhel8:4.2.4-6Fixed 2024-01-22RHSA-2024:0337
Red Hat Advanced Cluster Security 4.2advanced-cluster-security/rhacs-main-rhel8:4.2.4-6Fixed 2024-01-22RHSA-2024:0337
Red Hat Advanced Cluster Security 4.2advanced-cluster-security/rhacs-operator-bundle:4.2.4-7Fixed 2024-01-22RHSA-2024:0337
Red Hat Advanced Cluster Security 4.2advanced-cluster-security/rhacs-scanner-db-rhel8:4.2.4-6Fixed 2024-01-22RHSA-2024:0337
Red Hat Advanced Cluster Security 4.2advanced-cluster-security/rhacs-scanner-db-slim-rhel8:4.2.4-7Fixed 2024-01-22RHSA-2024:0337
Red Hat Enterprise Linux 7postgresql-0:9.2.24-9.el7_9Fixed 2023-12-13RHSA-2023:7783
Red Hat Enterprise Linux 8postgresql:13-8090020231114113712.a75119d5Fixed 2023-11-29RHSA-2023:7581
Red Hat Enterprise Linux 8postgresql:12-8090020231128173330.a75119d5Fixed 2023-12-11RHSA-2023:7714
Red Hat Enterprise Linux 8postgresql:10-8090020231201202407.a75119d5Fixed 2023-12-13RHSA-2023:7790
Red Hat Enterprise Linux 8postgresql:15-8090020231114113548.a75119d5Fixed 2023-12-20RHSA-2023:7884
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionspostgresql:10-8010020231130170510.c27ad7f8Fixed 2023-12-13RHSA-2023:7778
Red Hat Enterprise Linux 8.2 Advanced Update Supportpostgresql:12-8020020231128165246.4cda2c84Fixed 2023-12-06RHSA-2023:7667
Red Hat Enterprise Linux 8.2 Advanced Update Supportpostgresql:10-8020020231201202149.4cda2c84Fixed 2023-12-13RHSA-2023:7788
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicepostgresql:12-8020020231128165246.4cda2c84Fixed 2023-12-06RHSA-2023:7667
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicepostgresql:10-8020020231201202149.4cda2c84Fixed 2023-12-13RHSA-2023:7788
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionspostgresql:12-8020020231128165246.4cda2c84Fixed 2023-12-06RHSA-2023:7667
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionspostgresql:10-8020020231201202149.4cda2c84Fixed 2023-12-13RHSA-2023:7788
Red Hat Enterprise Linux 6postgresqlOut of support scope
Red Hat Enterprise Linux 8postgresql:16/postgresqlNot affected
Red Hat Enterprise Linux 9postgresql:16/postgresqlNot affected
34 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-5869.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-120-06ABB Ability Symphony Plus Engineering2026-04-13Chemical, Critical Manufacturing, Energy, Water and Wastewater, Water and WastewaterABB Ability Symphony Plus S+ Engineering 2.2, ABB Ability Symphony Plus S+ Engineering 2.3, ABB Ability Symphony Plus S+ Engineering 2.3 RU1 and 5 moreABB Ability Symphony Plus S+ Engineering 2.4 SP2 RU1
ICSA-24-228-06Siemens SINEC NMS2024-08-13MultipleSINEC NMSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON