<div class="container">
<h1>Security update for postgresql17, postgresql18</h1>
<table class="table table-striped table-bordered">
<tbody>
<tr>
<th>Announcement ID:</th>
<td>SUSE-SU-2026:0197-1</td>
</tr>
<tr>
<th>Release Date:</th>
<td>2026-01-21T09:32:00Z</td>
</tr>
<tr>
<th>Rating:</th>
<td>important</td>
</tr>
<tr>
<th>References:</th>
<td>
<ul>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1253332">bsc#1253332</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1253333">bsc#1253333</a>
</li>
</ul>
</td>
</tr>
<tr>
<th>
Cross-References:
</th>
<td>
<ul>
<li style="display: inline;">
<a href="https://www.suse.com/security/cve/CVE-2025-12817.html">CVE-2025-12817</a>
</li>
<li style="display: inline;">
<a href="https://www.suse.com/security/cve/CVE-2025-12818.html">CVE-2025-12818</a>
</li>
</ul>
</td>
</tr>
<tr>
<th>CVSS scores:</th>
<td>
<ul class="list-group">
<li class="list-group-item">
<span class="cvss-reference">CVE-2025-12817</span>
<span class="cvss-source">
(
SUSE
):
</span>
<span class="cvss-score">5.3</span>
<span class="cvss-vector">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</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2025-12817</span>
<span class="cvss-source">
(
SUSE
):
</span>
<span class="cvss-score">4.3</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2025-12817</span>
<span class="cvss-source">
(
NVD
):
</span>
<span class="cvss-score">3.1</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2025-12818</span>
<span class="cvss-source">
(
SUSE
):
</span>
<span class="cvss-score">8.7</span>
<span class="cvss-vector">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</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2025-12818</span>
<span class="cvss-source">
(
SUSE
):
</span>
<span class="cvss-score">8.8</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2025-12818</span>
<span class="cvss-source">
(
NVD
):
</span>
<span class="cvss-score">5.9</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H</span>
</li>
</ul>
</td>
</tr>
<tr>
<th>Affected Products:</th>
<td>
<ul class="list-group">
<li class="list-group-item">SUSE Linux Enterprise High Performance Computing 12 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Server 12 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Server 12 SP5 LTSS</li>
<li class="list-group-item">SUSE Linux Enterprise Server 12 SP5 LTSS Extended Security</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 12 SP5</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>An update that solves two vulnerabilities can now be installed.</p>
<h2>Description:</h2>
<p>This update for postgresql17, postgresql18 fixes the following issues:</p>
<p>Changes in postgresql18:</p>
<ul>
<li>Fix build with uring for post SLE15 code streams.</li>
</ul>
<p>Update to 18.1:</p>
<ul>
<li>https://www.postgresql.org/about/news/p-3171/</li>
<li>https://www.postgresql.org/docs/release/18.1/</li>
<li>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.</li>
<li>
<p>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.</p>
</li>
<li>
<p>pg_config --libs returns -lnuma so we need to require it.</p>
</li>
</ul>
<p>Update to 18.0:</p>
<ul>
<li>https://www.postgresql.org/about/news/p-3142/</li>
<li>https://www.postgresql.org/docs/18/release-18.html</li>
</ul>
<p>Changes in postgresql17:</p>
<p>Update to 17.7:</p>
<ul>
<li>https://www.postgresql.org/about/news/p-3171/</li>
<li>https://www.postgresql.org/docs/release/17.7/</li>
<li>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.</li>
<li>
<p>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.</p>
</li>
<li>
<p>switch library to pg 18</p>
</li>
</ul>
<h2>Patch Instructions:</h2>
<p>
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".<br/>
Alternatively you can run the command listed for your product:
</p>
<ul class="list-group">
<li class="list-group-item">
SUSE Linux Enterprise Server 12 SP5 LTSS
<br/>
<code>zypper in -t patch SUSE-SLE-SERVER-12-SP5-LTSS-2026-197=1</code>
</li>
<li class="list-group-item">
SUSE Linux Enterprise Server 12 SP5 LTSS Extended Security
<br/>
<code>zypper in -t patch SUSE-SLE-SERVER-12-SP5-LTSS-EXTENDED-SECURITY-2026-197=1</code>
</li>
</ul>
<h2>Package List:</h2>
<ul>
<li>
SUSE Linux Enterprise Server 12 SP5 LTSS (aarch64 ppc64le s390x x86_64)
<ul>
<li>libpq5-debuginfo-18.1-8.3.4</li>
<li>libpq5-18.1-8.3.4</li>
<li>libecpg6-debuginfo-18.1-8.3.4</li>
<li>libecpg6-18.1-8.3.4</li>
</ul>
</li>
<li>
SUSE Linux Enterprise Server 12 SP5 LTSS (noarch)
<ul>
<li>postgresql-18-4.32.1</li>
<li>postgresql-server-18-4.32.1</li>
<li>postgresql-docs-18-4.32.1</li>
<li>postgresql-contrib-18-4.32.1</li>
<li>postgresql-pltcl-18-4.32.1</li>
<li>postgresql-server-devel-18-4.32.1</li>
<li>postgresql-plperl-18-4.32.1</li>
<li>postgresql-devel-18-4.32.1</li>
<li>postgresql-plpython-18-4.32.1</li>
</ul>
</li>
<li>
SUSE Linux Enterprise Server 12 SP5 LTSS (s390x x86_64)
<ul>
<li>libecpg6-32bit-18.1-8.3.4</li>
<li>libecpg6-debuginfo-32bit-18.1-8.3.4</li>
<li>libpq5-32bit-18.1-8.3.4</li>
<li>libpq5-debuginfo-32bit-18.1-8.3.4</li>
</ul>
</li>
<li>
SUSE Linux Enterprise Server 12 SP5 LTSS Extended Security (x86_64)
<ul>
<li>libecpg6-32bit-18.1-8.3.4</li>
<li>libpq5-32bit-18.1-8.3.4</li>
<li>libpq5-debuginfo-32bit-18.1-8.3.4</li>
<li>libpq5-18.1-8.3.4</li>
<li>libecpg6-18.1-8.3.4</li>
<li>libpq5-debuginfo-18.1-8.3.4</li>
<li>libecpg6-debuginfo-32bit-18.1-8.3.4</li>
<li>libecpg6-debuginfo-18.1-8.3.4</li>
</ul>
</li>
<li>
SUSE Linux Enterprise Server 12 SP5 LTSS Extended Security (noarch)
<ul>
<li>postgresql-18-4.32.1</li>
<li>postgresql-server-18-4.32.1</li>
<li>postgresql-docs-18-4.32.1</li>
<li>postgresql-contrib-18-4.32.1</li>
<li>postgresql-pltcl-18-4.32.1</li>
<li>postgresql-server-devel-18-4.32.1</li>
<li>postgresql-plperl-18-4.32.1</li>
<li>postgresql-devel-18-4.32.1</li>
<li>postgresql-plpython-18-4.32.1</li>
</ul>
</li>
</ul>
<h2>References:</h2>
<ul>
<li>
<a href="https://www.suse.com/security/cve/CVE-2025-12817.html">https://www.suse.com/security/cve/CVE-2025-12817.html</a>
</li>
<li>
<a href="https://www.suse.com/security/cve/CVE-2025-12818.html">https://www.suse.com/security/cve/CVE-2025-12818.html</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1253332">https://bugzilla.suse.com/show_bug.cgi?id=1253332</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1253333">https://bugzilla.suse.com/show_bug.cgi?id=1253333</a>
</li>
</ul>
</div>