Skip to content
Heist/ feed
Back to feed
MediumFix available

postgresql-15 — security advisory

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

A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments. Handling 'unknown'-type values from string literals without type designation can disclose bytes, potentially revealing notable and confidential information. This issue exists due to excessive data output in aggregate function calls, enabling remote users to read some portion of system 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-5868
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 16:09 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-5868

core-osv · Original source

Published 10 Dec 2023, 18:15 UTC

A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments. Handling 'unknown'-type values from string literals without type designation can disclose bytes, potentially revealing notable and confidential information. This issue exists due to excessive data output in aggregate function calls, enabling remote users to read some portion of system memory.

osv:DEBIAN-CVE-2023-5868

postgresql-15

Fixed versions: 15.5-0+deb12u1

Complete source record
{
  "id": "fd1f13b2d3b2f14815d1f98670ba28b65a297cdde10521a5b418c36766e1c8f8",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-5868",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-5868",
    "summary": "A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments. Handling 'unknown'-type values from string literals without type designation can disclose bytes, potentially revealing notable and confidential information. This issue exists due to excessive data output in aggregate function calls, enabling remote users to read some portion of system memory.",
    "evidence": "osv:DEBIAN-CVE-2023-5868",
    "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": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2023-5868",
      "aliases": [
        "DEBIAN-CVE-2023-5868"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "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-5868.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:02:47.329840840Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-5868"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-5868"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-5868",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 456845,
  "published_at": "2023-12-10T18:15:07.163+00:00"
}