Skip to content
Heist/ feed
Back to feed
HighFix available

postgresql-15 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-5869

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.

Products
postgresql-15
Affected versions
15.3-0+deb12u1, 15.3-1, 15.4-0+deb12u1, 15.4-1, 15.4-2, 15.4-3
Fixed versions
15.5-0+deb12u1
CVEs
CVE-2023-5869
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 16:31 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-5869

core-osv · Original source

Published 10 Dec 2023, 18:15 UTC

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.

osv:DEBIAN-CVE-2023-5869

postgresql-15

Fixed versions: 15.5-0+deb12u1

Complete source record
{
  "id": "e0f27f24c63bd72549db83e84fb5273dd5874078d198e17dd7637dbf686305bc",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-5869",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-5869",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2023-5869",
    "products": [
      {
        "name": {
          "value": "postgresql-15",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "15.5-0+deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "15.3-0+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "15.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "15.4-0+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "15.4-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "15.4-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "15.4-3",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-5869",
      "aliases": [
        "DEBIAN-CVE-2023-5869"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "15.5-0+deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "postgresql-15",
            "purl": "pkg:deb/debian/postgresql-15?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "15.3-0+deb12u1",
            "15.3-1",
            "15.4-0+deb12u1",
            "15.4-1",
            "15.4-2",
            "15.4-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-5869.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:03:10.221273619Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-5869"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-5869"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-5869",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 457971,
  "published_at": "2023-12-10T18:15:07.41+00:00"
}