Security update for postgresql17, postgresql18

Announcement ID: SUSE-SU-2025:4363-1
Release Date: 2025-12-11T10:10:59Z
Rating: important
References:
Cross-References:
CVSS scores:
  • CVE-2025-12817 ( SUSE ): 5.3 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
  • CVE-2025-12817 ( SUSE ): 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
  • CVE-2025-12817 ( NVD ): 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
  • CVE-2025-12818 ( SUSE ): 8.7 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • CVE-2025-12818 ( SUSE ): 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE-2025-12818 ( NVD ): 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Products:
  • Basesystem Module 15-SP6
  • Basesystem Module 15-SP7
  • openSUSE Leap 15.6
  • Server Applications Module 15-SP6
  • Server Applications Module 15-SP7
  • SUSE Linux Enterprise Desktop 15 SP6
  • SUSE Linux Enterprise Desktop 15 SP7
  • SUSE Linux Enterprise Real Time 15 SP6
  • SUSE Linux Enterprise Real Time 15 SP7
  • SUSE Linux Enterprise Server 15 SP6
  • SUSE Linux Enterprise Server 15 SP7
  • SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • SUSE Linux Enterprise Server for SAP Applications 15 SP7
  • SUSE Package Hub 15 15-SP6
  • SUSE Package Hub 15 15-SP7

An update that solves two vulnerabilities can now be installed.

Description:

This update for postgresql17, postgresql18 fixes the following issues:

Changes in postgresql18:

  • Fix build with uring for post SLE15 code streams.

Update to 18.1:

  • https://www.postgresql.org/about/news/p-3171/
  • https://www.postgresql.org/docs/release/18.1/
  • bsc#1253332, CVE-2025-12817: Missing check for CREATE privileges on the schema in CREATE STATISTICS allowed table owners to create statistics in any schema, potentially leading to unexpected naming conflicts.
  • bsc#1253333, CVE-2025-12818: Several places in libpq were not sufficiently careful about computing the required size of a memory allocation. Sufficiently large inputs could cause integer overflow, resulting in an undersized buffer, which would then lead to writing past the end of the buffer.

  • pg_config --libs returns -lnuma so we need to require it.

Update to 18.0:

  • https://www.postgresql.org/about/news/p-3142/
  • https://www.postgresql.org/docs/18/release-18.html

Changes in postgresql17:

Update to 17.7:

  • https://www.postgresql.org/about/news/p-3171/
  • https://www.postgresql.org/docs/release/17.7/
  • bsc#1253332, CVE-2025-12817: Missing check for CREATE privileges on the schema in CREATE STATISTICS allowed table owners to create statistics in any schema, potentially leading to unexpected naming conflicts.
  • bsc#1253333, CVE-2025-12818: Several places in libpq were not sufficiently careful about computing the required size of a memory allocation. Sufficiently large inputs could cause integer overflow, resulting in an undersized buffer, which would then lead to writing past the end of the buffer.

  • switch library to pg 18

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.6
    zypper in -t patch SUSE-2025-4363=1 openSUSE-SLE-15.6-2025-4363=1
  • Basesystem Module 15-SP6
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP6-2025-4363=1
  • Basesystem Module 15-SP7
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP7-2025-4363=1
  • SUSE Package Hub 15 15-SP6
    zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP6-2025-4363=1
  • SUSE Package Hub 15 15-SP7
    zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2025-4363=1
  • Server Applications Module 15-SP6
    zypper in -t patch SUSE-SLE-Module-Server-Applications-15-SP6-2025-4363=1
  • Server Applications Module 15-SP7
    zypper in -t patch SUSE-SLE-Module-Server-Applications-15-SP7-2025-4363=1

Package List:

  • openSUSE Leap 15.6 (noarch)
    • postgresql-plperl-18-150600.17.9.1
    • postgresql-pltcl-18-150600.17.9.1
    • postgresql-devel-18-150600.17.9.1
    • postgresql-llvmjit-devel-18-150600.17.9.1
    • postgresql-server-devel-18-150600.17.9.1
    • postgresql-test-18-150600.17.9.1
    • postgresql-docs-18-150600.17.9.1
    • postgresql17-docs-17.7-150600.13.19.1
    • postgresql18-docs-18.1-150600.13.3.1
    • postgresql-server-18-150600.17.9.1
    • postgresql-plpython-18-150600.17.9.1
    • postgresql-contrib-18-150600.17.9.1
    • postgresql-llvmjit-18-150600.17.9.1
    • postgresql-18-150600.17.9.1
  • openSUSE Leap 15.6 (aarch64 ppc64le s390x x86_64 i586)
    • postgresql17-pltcl-17.7-150600.13.19.1
    • postgresql18-mini-debugsource-18.1-150600.13.3.1
    • postgresql17-server-devel-17.7-150600.13.19.1
    • libpq5-18.1-150600.13.3.1
    • postgresql17-server-devel-debuginfo-17.7-150600.13.19.1
    • libecpg6-debuginfo-18.1-150600.13.3.1
    • postgresql18-devel-18.1-150600.13.3.1
    • postgresql18-llvmjit-debuginfo-18.1-150600.13.3.1
    • postgresql17-contrib-17.7-150600.13.19.1
    • postgresql18-server-devel-debuginfo-18.1-150600.13.3.1
    • postgresql17-devel-debuginfo-17.7-150600.13.19.1
    • postgresql17-pltcl-debuginfo-17.7-150600.13.19.1
    • postgresql17-debugsource-17.7-150600.13.19.1
    • postgresql18-devel-debuginfo-18.1-150600.13.3.1
    • postgresql17-plpython-17.7-150600.13.19.1
    • postgresql18-server-18.1-150600.13.3.1
    • postgresql18-18.1-150600.13.3.1
    • postgresql18-llvmjit-devel-18.1-150600.13.3.1
    • postgresql17-llvmjit-devel-17.7-150600.13.19.1
    • postgresql17-server-debuginfo-17.7-150600.13.19.1
    • libpq5-debuginfo-18.1-150600.13.3.1
    • postgresql18-devel-mini-18.1-150600.13.3.1
    • postgresql17-devel-17.7-150600.13.19.1
    • postgresql18-debugsource-18.1-150600.13.3.1
    • postgresql17-plpython-debuginfo-17.7-150600.13.19.1
    • postgresql18-llvmjit-18.1-150600.13.3.1
    • postgresql17-plperl-debuginfo-17.7-150600.13.19.1
    • postgresql18-devel-mini-debuginfo-18.1-150600.13.3.1
    • postgresql17-plperl-17.7-150600.13.19.1
    • postgresql17-server-17.7-150600.13.19.1
    • postgresql18-pltcl-18.1-150600.13.3.1
    • postgresql17-llvmjit-17.7-150600.13.19.1
    • postgresql18-contrib-18.1-150600.13.3.1
    • postgresql18-pltcl-debuginfo-18.1-150600.13.3.1
    • postgresql18-debuginfo-18.1-150600.13.3.1
    • postgresql18-plpython-debuginfo-18.1-150600.13.3.1
    • libecpg6-18.1-150600.13.3.1
    • postgresql18-contrib-debuginfo-18.1-150600.13.3.1
    • postgresql18-plperl-18.1-150600.13.3.1
    • postgresql17-llvmjit-debuginfo-17.7-150600.13.19.1
    • postgresql17-test-17.7-150600.13.19.1
    • postgresql18-plpython-18.1-150600.13.3.1
    • postgresql17-17.7-150600.13.19.1
    • postgresql17-debuginfo-17.7-150600.13.19.1
    • postgresql18-test-18.1-150600.13.3.1
    • postgresql18-server-debuginfo-18.1-150600.13.3.1
    • postgresql17-contrib-debuginfo-17.7-150600.13.19.1
    • postgresql18-plperl-debuginfo-18.1-150600.13.3.1
    • postgresql18-server-devel-18.1-150600.13.3.1
  • openSUSE Leap 15.6 (x86_64)
    • libpq5-32bit-18.1-150600.13.3.1
    • libecpg6-32bit-18.1-150600.13.3.1
    • libpq5-32bit-debuginfo-18.1-150600.13.3.1
    • libecpg6-32bit-debuginfo-18.1-150600.13.3.1
  • openSUSE Leap 15.6 (aarch64_ilp32)
    • libecpg6-64bit-18.1-150600.13.3.1
    • libpq5-64bit-debuginfo-18.1-150600.13.3.1
    • libecpg6-64bit-debuginfo-18.1-150600.13.3.1
    • libpq5-64bit-18.1-150600.13.3.1
  • Basesystem Module 15-SP6 (aarch64 ppc64le s390x x86_64)
    • postgresql18-18.1-150600.13.3.1
    • postgresql17-17.7-150600.13.19.1
    • libpq5-18.1-150600.13.3.1
    • postgresql17-debuginfo-17.7-150600.13.19.1
    • libpq5-debuginfo-18.1-150600.13.3.1
    • postgresql18-debuginfo-18.1-150600.13.3.1
    • postgresql17-debugsource-17.7-150600.13.19.1
    • postgresql18-debugsource-18.1-150600.13.3.1
  • Basesystem Module 15-SP6 (noarch)
    • postgresql-18-150600.17.9.1
  • Basesystem Module 15-SP6 (x86_64)
    • libpq5-32bit-debuginfo-18.1-150600.13.3.1
    • libpq5-32bit-18.1-150600.13.3.1
  • Basesystem Module 15-SP7 (aarch64 ppc64le s390x x86_64)
    • postgresql18-18.1-150600.13.3.1
    • postgresql17-17.7-150600.13.19.1
    • libpq5-18.1-150600.13.3.1
    • postgresql17-debuginfo-17.7-150600.13.19.1
    • libpq5-debuginfo-18.1-150600.13.3.1
    • postgresql18-debuginfo-18.1-150600.13.3.1
    • postgresql17-debugsource-17.7-150600.13.19.1
    • postgresql18-debugsource-18.1-150600.13.3.1
  • Basesystem Module 15-SP7 (noarch)
    • postgresql-18-150700.23.3.1
  • Basesystem Module 15-SP7 (x86_64)
    • libpq5-32bit-debuginfo-18.1-150600.13.3.1
    • libpq5-32bit-18.1-150600.13.3.1
  • SUSE Package Hub 15 15-SP6 (noarch)
    • postgresql-plperl-18-150600.17.9.1
    • postgresql-pltcl-18-150600.17.9.1
    • postgresql-devel-18-150600.17.9.1
    • postgresql-llvmjit-devel-18-150600.17.9.1
    • postgresql-server-devel-18-150600.17.9.1
    • postgresql-test-18-150600.17.9.1
    • postgresql-docs-18-150600.17.9.1
    • postgresql-server-18-150600.17.9.1
    • postgresql-plpython-18-150600.17.9.1
    • postgresql-contrib-18-150600.17.9.1
    • postgresql-llvmjit-18-150600.17.9.1
    • postgresql-18-150600.17.9.1
  • SUSE Package Hub 15 15-SP6 (aarch64 ppc64le s390x x86_64)
    • postgresql18-llvmjit-devel-18.1-150600.13.3.1
    • postgresql17-llvmjit-debuginfo-17.7-150600.13.19.1
    • postgresql17-llvmjit-devel-17.7-150600.13.19.1
    • postgresql17-test-17.7-150600.13.19.1
    • postgresql17-debuginfo-17.7-150600.13.19.1
    • postgresql18-test-18.1-150600.13.3.1
    • postgresql18-llvmjit-debuginfo-18.1-150600.13.3.1
    • postgresql17-llvmjit-17.7-150600.13.19.1
    • postgresql18-llvmjit-18.1-150600.13.3.1
    • postgresql17-debugsource-17.7-150600.13.19.1
  • SUSE Package Hub 15 15-SP7 (noarch)
    • postgresql-server-devel-18-150700.23.3.1
    • postgresql-plperl-18-150700.23.3.1
    • postgresql-llvmjit-devel-18-150700.23.3.1
    • postgresql-18-150700.23.3.1
    • postgresql-plpython-18-150700.23.3.1
    • postgresql-docs-18-150700.23.3.1
    • postgresql-llvmjit-18-150700.23.3.1
    • postgresql-devel-18-150700.23.3.1
    • postgresql-contrib-18-150700.23.3.1
    • postgresql-server-18-150700.23.3.1
    • postgresql-pltcl-18-150700.23.3.1
    • postgresql-test-18-150700.23.3.1
  • SUSE Package Hub 15 15-SP7 (aarch64 ppc64le s390x x86_64)
    • postgresql18-llvmjit-devel-18.1-150600.13.3.1
    • postgresql17-llvmjit-debuginfo-17.7-150600.13.19.1
    • postgresql17-llvmjit-devel-17.7-150600.13.19.1
    • postgresql17-test-17.7-150600.13.19.1
    • postgresql17-debuginfo-17.7-150600.13.19.1
    • postgresql18-test-18.1-150600.13.3.1
    • postgresql18-llvmjit-debuginfo-18.1-150600.13.3.1
    • postgresql17-llvmjit-17.7-150600.13.19.1
    • postgresql18-llvmjit-18.1-150600.13.3.1
    • postgresql17-debugsource-17.7-150600.13.19.1
  • Server Applications Module 15-SP6 (aarch64 ppc64le s390x x86_64)
    • postgresql17-pltcl-17.7-150600.13.19.1
    • postgresql17-server-devel-17.7-150600.13.19.1
    • postgresql18-devel-18.1-150600.13.3.1
    • postgresql17-server-devel-debuginfo-17.7-150600.13.19.1
    • libecpg6-debuginfo-18.1-150600.13.3.1
    • postgresql17-contrib-17.7-150600.13.19.1
    • postgresql18-server-devel-debuginfo-18.1-150600.13.3.1
    • postgresql17-devel-debuginfo-17.7-150600.13.19.1
    • postgresql17-pltcl-debuginfo-17.7-150600.13.19.1
    • postgresql17-debugsource-17.7-150600.13.19.1
    • postgresql18-devel-debuginfo-18.1-150600.13.3.1
    • postgresql17-plpython-17.7-150600.13.19.1
    • postgresql18-server-18.1-150600.13.3.1
    • postgresql17-server-debuginfo-17.7-150600.13.19.1
    • postgresql17-devel-17.7-150600.13.19.1
    • postgresql18-debugsource-18.1-150600.13.3.1
    • postgresql17-plpython-debuginfo-17.7-150600.13.19.1
    • postgresql17-plperl-debuginfo-17.7-150600.13.19.1
    • postgresql17-plperl-17.7-150600.13.19.1
    • postgresql17-server-17.7-150600.13.19.1
    • postgresql18-pltcl-18.1-150600.13.3.1
    • postgresql18-contrib-18.1-150600.13.3.1
    • postgresql18-pltcl-debuginfo-18.1-150600.13.3.1
    • postgresql18-debuginfo-18.1-150600.13.3.1
    • postgresql18-plpython-debuginfo-18.1-150600.13.3.1
    • libecpg6-18.1-150600.13.3.1
    • postgresql18-contrib-debuginfo-18.1-150600.13.3.1
    • postgresql18-plperl-18.1-150600.13.3.1
    • postgresql18-plpython-18.1-150600.13.3.1
    • postgresql17-debuginfo-17.7-150600.13.19.1
    • postgresql18-server-debuginfo-18.1-150600.13.3.1
    • postgresql17-contrib-debuginfo-17.7-150600.13.19.1
    • postgresql18-plperl-debuginfo-18.1-150600.13.3.1
    • postgresql18-server-devel-18.1-150600.13.3.1
  • Server Applications Module 15-SP6 (noarch)
    • postgresql-plperl-18-150600.17.9.1
    • postgresql-pltcl-18-150600.17.9.1
    • postgresql-devel-18-150600.17.9.1
    • postgresql-server-devel-18-150600.17.9.1
    • postgresql17-docs-17.7-150600.13.19.1
    • postgresql18-docs-18.1-150600.13.3.1
    • postgresql-docs-18-150600.17.9.1
    • postgresql-server-18-150600.17.9.1
    • postgresql-plpython-18-150600.17.9.1
    • postgresql-contrib-18-150600.17.9.1
  • Server Applications Module 15-SP7 (aarch64 ppc64le s390x x86_64)
    • postgresql17-pltcl-17.7-150600.13.19.1
    • postgresql17-server-devel-17.7-150600.13.19.1
    • postgresql18-devel-18.1-150600.13.3.1
    • postgresql17-server-devel-debuginfo-17.7-150600.13.19.1
    • libecpg6-debuginfo-18.1-150600.13.3.1
    • postgresql17-contrib-17.7-150600.13.19.1
    • postgresql18-server-devel-debuginfo-18.1-150600.13.3.1
    • postgresql17-devel-debuginfo-17.7-150600.13.19.1
    • postgresql17-pltcl-debuginfo-17.7-150600.13.19.1
    • postgresql17-debugsource-17.7-150600.13.19.1
    • postgresql18-devel-debuginfo-18.1-150600.13.3.1
    • postgresql17-plpython-17.7-150600.13.19.1
    • postgresql18-server-18.1-150600.13.3.1
    • postgresql17-server-debuginfo-17.7-150600.13.19.1
    • postgresql17-devel-17.7-150600.13.19.1
    • postgresql18-debugsource-18.1-150600.13.3.1
    • postgresql17-plpython-debuginfo-17.7-150600.13.19.1
    • postgresql17-plperl-debuginfo-17.7-150600.13.19.1
    • postgresql17-plperl-17.7-150600.13.19.1
    • postgresql17-server-17.7-150600.13.19.1
    • postgresql18-pltcl-18.1-150600.13.3.1
    • postgresql18-contrib-18.1-150600.13.3.1
    • postgresql18-pltcl-debuginfo-18.1-150600.13.3.1
    • postgresql18-debuginfo-18.1-150600.13.3.1
    • postgresql18-plpython-debuginfo-18.1-150600.13.3.1
    • libecpg6-18.1-150600.13.3.1
    • postgresql18-contrib-debuginfo-18.1-150600.13.3.1
    • postgresql18-plperl-18.1-150600.13.3.1
    • postgresql18-plpython-18.1-150600.13.3.1
    • postgresql17-debuginfo-17.7-150600.13.19.1
    • postgresql18-server-debuginfo-18.1-150600.13.3.1
    • postgresql17-contrib-debuginfo-17.7-150600.13.19.1
    • postgresql18-plperl-debuginfo-18.1-150600.13.3.1
    • postgresql18-server-devel-18.1-150600.13.3.1
  • Server Applications Module 15-SP7 (noarch)
    • postgresql-server-devel-18-150700.23.3.1
    • postgresql-plperl-18-150700.23.3.1
    • postgresql17-docs-17.7-150600.13.19.1
    • postgresql18-docs-18.1-150600.13.3.1
    • postgresql-plpython-18-150700.23.3.1
    • postgresql-docs-18-150700.23.3.1
    • postgresql-devel-18-150700.23.3.1
    • postgresql-contrib-18-150700.23.3.1
    • postgresql-server-18-150700.23.3.1
    • postgresql-pltcl-18-150700.23.3.1

References: