<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for postgresql18</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2026:0785-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2026-03-03T14:01:35Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2026-03-03T14:01:35Z</InitialReleaseDate>
    <CurrentReleaseDate>2026-03-03T14:01:35Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for postgresql18</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for postgresql18 fixes the following issue:

Update to version 18.3 (bsc#1258754).

Regression fixes:

  - the substring() function raises an error 'invalid byte sequence for encoding' on non-ASCII text values if the
    source of that value is a database column (caused by CVE-2026-2006 fix).
  - a standby may halt and return an error 'could not access status of transaction'.
</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">SUSE-2026-785,SUSE-SLE-SERVER-12-SP5-LTSS-2026-785,SUSE-SLE-SERVER-12-SP5-LTSS-EXTENDED-SECURITY-2026-785</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/update/announcement/2026/suse-su-20260785-1/</URL>
      <Description>Link for SUSE-SU-2026:0785-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2026-March/024533.html</URL>
      <Description>E-Mail link for SUSE-SU-2026:0785-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1258011</URL>
      <Description>SUSE Bug 1258011</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1258754</URL>
      <Description>SUSE Bug 1258754</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2026-2006/</URL>
      <Description>SUSE CVE CVE-2026-2006 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP5-LTSS">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP5-LTSS">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP5-LTSS" CPE="cpe:/o:suse:sles-ltss:12:sp5">SUSE Linux Enterprise Server 12 SP5-LTSS</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5" CPE="cpe:/o:suse:sles-ltss-extended-security:12:sp5">SUSE Linux Enterprise Server LTSS Extended Security 12 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libecpg6-18.3-8.9.1">
      <FullProductName ProductID="libecpg6-18.3-8.9.1">libecpg6-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libecpg6-32bit-18.3-8.9.1">
      <FullProductName ProductID="libecpg6-32bit-18.3-8.9.1">libecpg6-32bit-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libecpg6-64bit-18.3-8.9.1">
      <FullProductName ProductID="libecpg6-64bit-18.3-8.9.1">libecpg6-64bit-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpq5-18.3-8.9.1">
      <FullProductName ProductID="libpq5-18.3-8.9.1">libpq5-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpq5-32bit-18.3-8.9.1">
      <FullProductName ProductID="libpq5-32bit-18.3-8.9.1">libpq5-32bit-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libpq5-64bit-18.3-8.9.1">
      <FullProductName ProductID="libpq5-64bit-18.3-8.9.1">libpq5-64bit-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql18-18.3-8.9.1">
      <FullProductName ProductID="postgresql18-18.3-8.9.1">postgresql18-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql18-contrib-18.3-8.9.1">
      <FullProductName ProductID="postgresql18-contrib-18.3-8.9.1">postgresql18-contrib-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql18-devel-18.3-8.9.1">
      <FullProductName ProductID="postgresql18-devel-18.3-8.9.1">postgresql18-devel-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql18-devel-mini-18.3-8.9.1">
      <FullProductName ProductID="postgresql18-devel-mini-18.3-8.9.1">postgresql18-devel-mini-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql18-docs-18.3-8.9.1">
      <FullProductName ProductID="postgresql18-docs-18.3-8.9.1">postgresql18-docs-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql18-llvmjit-devel-18.3-8.9.1">
      <FullProductName ProductID="postgresql18-llvmjit-devel-18.3-8.9.1">postgresql18-llvmjit-devel-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql18-plperl-18.3-8.9.1">
      <FullProductName ProductID="postgresql18-plperl-18.3-8.9.1">postgresql18-plperl-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql18-plpython-18.3-8.9.1">
      <FullProductName ProductID="postgresql18-plpython-18.3-8.9.1">postgresql18-plpython-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql18-pltcl-18.3-8.9.1">
      <FullProductName ProductID="postgresql18-pltcl-18.3-8.9.1">postgresql18-pltcl-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql18-server-18.3-8.9.1">
      <FullProductName ProductID="postgresql18-server-18.3-8.9.1">postgresql18-server-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql18-server-devel-18.3-8.9.1">
      <FullProductName ProductID="postgresql18-server-devel-18.3-8.9.1">postgresql18-server-devel-18.3-8.9.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="postgresql18-test-18.3-8.9.1">
      <FullProductName ProductID="postgresql18-test-18.3-8.9.1">postgresql18-test-18.3-8.9.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libecpg6-18.3-8.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP5-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP5-LTSS:libecpg6-18.3-8.9.1">libecpg6-18.3-8.9.1 as a component of SUSE Linux Enterprise Server 12 SP5-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="libecpg6-32bit-18.3-8.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP5-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP5-LTSS:libecpg6-32bit-18.3-8.9.1">libecpg6-32bit-18.3-8.9.1 as a component of SUSE Linux Enterprise Server 12 SP5-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-18.3-8.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP5-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP5-LTSS:libpq5-18.3-8.9.1">libpq5-18.3-8.9.1 as a component of SUSE Linux Enterprise Server 12 SP5-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-32bit-18.3-8.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP5-LTSS">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP5-LTSS:libpq5-32bit-18.3-8.9.1">libpq5-32bit-18.3-8.9.1 as a component of SUSE Linux Enterprise Server 12 SP5-LTSS</FullProductName>
    </Relationship>
    <Relationship ProductReference="libecpg6-18.3-8.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libecpg6-18.3-8.9.1">libecpg6-18.3-8.9.1 as a component of SUSE Linux Enterprise Server LTSS Extended Security 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libecpg6-32bit-18.3-8.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libecpg6-32bit-18.3-8.9.1">libecpg6-32bit-18.3-8.9.1 as a component of SUSE Linux Enterprise Server LTSS Extended Security 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-18.3-8.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libpq5-18.3-8.9.1">libpq5-18.3-8.9.1 as a component of SUSE Linux Enterprise Server LTSS Extended Security 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libpq5-32bit-18.3-8.9.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libpq5-32bit-18.3-8.9.1">libpq5-32bit-18.3-8.9.1 as a component of SUSE Linux Enterprise Server LTSS Extended Security 12 SP5</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun.  That suffices to execute arbitrary code as the operating system user running the database.  Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.</Note>
    </Notes>
    <CVE>CVE-2026-2006</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12 SP5-LTSS:libecpg6-18.3-8.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP5-LTSS:libecpg6-32bit-18.3-8.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP5-LTSS:libpq5-18.3-8.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP5-LTSS:libpq5-32bit-18.3-8.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libecpg6-18.3-8.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libecpg6-32bit-18.3-8.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libpq5-18.3-8.9.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server LTSS Extended Security 12 SP5:libpq5-32bit-18.3-8.9.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2026/suse-su-20260785-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2026-2006.html</URL>
        <Description>CVE-2026-2006</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1258011</URL>
        <Description>SUSE Bug 1258011</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
