<?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 SDL2_sound</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2025:0037-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2025-01-30T16:22:36Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2025-01-30T16:22:36Z</InitialReleaseDate>
    <CurrentReleaseDate>2025-01-30T16:22:36Z</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 SDL2_sound</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for SDL2_sound fixes the following issues:

- Update to release 2.0.4:
  * Update bundled stb_vorbis to address CVE-2023-45676,
    CVE-2023-45677, CVE-2023-45679, CVE-2023-45680,
    CVE-2023-45681, CVE-2023-45682.

- Update to release 2.0.2
  * No further changes from the last snapshot 2.0.1+g60
</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">openSUSE-2025-37</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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/PYKIGUIZT6TXJBJESQGK4RWVLRA2YLO4/</URL>
      <Description>E-Mail link for openSUSE-SU-2025:0037-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/1216478</URL>
      <Description>SUSE Bug 1216478</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-45676/</URL>
      <Description>SUSE CVE CVE-2023-45676 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-45677/</URL>
      <Description>SUSE CVE CVE-2023-45677 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-45679/</URL>
      <Description>SUSE CVE CVE-2023-45679 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-45680/</URL>
      <Description>SUSE CVE CVE-2023-45680 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-45681/</URL>
      <Description>SUSE CVE CVE-2023-45681 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-45682/</URL>
      <Description>SUSE CVE CVE-2023-45682 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Package Hub 15 SP6">
      <Branch Type="Product Name" Name="SUSE Package Hub 15 SP6">
        <FullProductName ProductID="SUSE Package Hub 15 SP6">SUSE Package Hub 15 SP6</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Leap 15.6">
      <Branch Type="Product Name" Name="openSUSE Leap 15.6">
        <FullProductName ProductID="openSUSE Leap 15.6" CPE="cpe:/o:opensuse:leap:15.6">openSUSE Leap 15.6</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="SDL2_sound-devel-2.0.4-bp156.2.3.1">
      <FullProductName ProductID="SDL2_sound-devel-2.0.4-bp156.2.3.1">SDL2_sound-devel-2.0.4-bp156.2.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libSDL2_sound2-2.0.4-bp156.2.3.1">
      <FullProductName ProductID="libSDL2_sound2-2.0.4-bp156.2.3.1">libSDL2_sound2-2.0.4-bp156.2.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="SDL2_sound-devel-2.0.4-bp156.2.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 15 SP6">
      <FullProductName ProductID="SUSE Package Hub 15 SP6:SDL2_sound-devel-2.0.4-bp156.2.3.1">SDL2_sound-devel-2.0.4-bp156.2.3.1 as a component of SUSE Package Hub 15 SP6</FullProductName>
    </Relationship>
    <Relationship ProductReference="libSDL2_sound2-2.0.4-bp156.2.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 15 SP6">
      <FullProductName ProductID="SUSE Package Hub 15 SP6:libSDL2_sound2-2.0.4-bp156.2.3.1">libSDL2_sound2-2.0.4-bp156.2.3.1 as a component of SUSE Package Hub 15 SP6</FullProductName>
    </Relationship>
    <Relationship ProductReference="SDL2_sound-devel-2.0.4-bp156.2.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.6">
      <FullProductName ProductID="openSUSE Leap 15.6:SDL2_sound-devel-2.0.4-bp156.2.3.1">SDL2_sound-devel-2.0.4-bp156.2.3.1 as a component of openSUSE Leap 15.6</FullProductName>
    </Relationship>
    <Relationship ProductReference="libSDL2_sound2-2.0.4-bp156.2.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.6">
      <FullProductName ProductID="openSUSE Leap 15.6:libSDL2_sound2-2.0.4-bp156.2.3.1">libSDL2_sound2-2.0.4-bp156.2.3.1 as a component of openSUSE Leap 15.6</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">stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds write in `f-&gt;vendor[i] = get8_packet(f);`. The root cause is an integer overflow in `setup_malloc`. A sufficiently large value in the variable `sz` overflows with `sz+7` in and the negative value passes the maximum available memory buffer check. This issue may lead to code execution.</Note>
    </Notes>
    <CVE>CVE-2023-45676</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 15 SP6:SDL2_sound-devel-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>SUSE Package Hub 15 SP6:libSDL2_sound2-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.6:SDL2_sound-devel-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.6:libSDL2_sound2-2.0.4-bp156.2.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/PYKIGUIZT6TXJBJESQGK4RWVLRA2YLO4/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-45676.html</URL>
        <Description>CVE-2023-45676</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1216478</URL>
        <Description>SUSE Bug 1216478</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds write in `f-&gt;vendor[len] = (char)'\0';`. The root cause is that if `len` read in `start_decoder` is a negative number and `setup_malloc` successfully allocates memory in that case, but memory write is done with a negative index `len`. Similarly if len is INT_MAX the integer overflow len+1 happens in `f-&gt;vendor = (char*)setup_malloc(f, sizeof(char) * (len+1));` and `f-&gt;comment_list[i] = (char*)setup_malloc(f, sizeof(char) * (len+1));`. This issue may lead to code execution.</Note>
    </Notes>
    <CVE>CVE-2023-45677</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 15 SP6:SDL2_sound-devel-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>SUSE Package Hub 15 SP6:libSDL2_sound2-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.6:SDL2_sound-devel-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.6:libSDL2_sound2-2.0.4-bp156.2.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/PYKIGUIZT6TXJBJESQGK4RWVLRA2YLO4/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-45677.html</URL>
        <Description>CVE-2023-45677</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1216478</URL>
        <Description>SUSE Bug 1216478</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger memory allocation failure in `start_decoder`. In that case the function returns early, but some of the pointers in `f-&gt;comment_list` are left initialized and later `setup_free` is called on these pointers in `vorbis_deinit`. This issue may lead to code execution.</Note>
    </Notes>
    <CVE>CVE-2023-45679</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 15 SP6:SDL2_sound-devel-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>SUSE Package Hub 15 SP6:libSDL2_sound2-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.6:SDL2_sound-devel-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.6:libSDL2_sound2-2.0.4-bp156.2.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/PYKIGUIZT6TXJBJESQGK4RWVLRA2YLO4/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-45679.html</URL>
        <Description>CVE-2023-45679</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1216478</URL>
        <Description>SUSE Bug 1216478</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="4">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger memory allocation failure in `start_decoder`. In that case the function returns early, the `f-&gt;comment_list` is set to `NULL`, but `f-&gt;comment_list_length` is not reset. Later in `vorbis_deinit` it tries to dereference the `NULL` pointer. This issue may lead to denial of service.</Note>
    </Notes>
    <CVE>CVE-2023-45680</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 15 SP6:SDL2_sound-devel-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>SUSE Package Hub 15 SP6:libSDL2_sound2-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.6:SDL2_sound-devel-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.6:libSDL2_sound2-2.0.4-bp156.2.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/PYKIGUIZT6TXJBJESQGK4RWVLRA2YLO4/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-45680.html</URL>
        <Description>CVE-2023-45680</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1216478</URL>
        <Description>SUSE Bug 1216478</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="5">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger memory write past an allocated heap buffer in `start_decoder`. The root cause is a potential integer overflow in `sizeof(char*) * (f-&gt;comment_list_length)` which may make `setup_malloc` allocate less memory than required. Since there is another integer overflow an attacker may overflow it too to force `setup_malloc` to return 0 and make the exploit more reliable. This issue may lead to code execution.</Note>
    </Notes>
    <CVE>CVE-2023-45681</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 15 SP6:SDL2_sound-devel-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>SUSE Package Hub 15 SP6:libSDL2_sound2-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.6:SDL2_sound-devel-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.6:libSDL2_sound2-2.0.4-bp156.2.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/PYKIGUIZT6TXJBJESQGK4RWVLRA2YLO4/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-45681.html</URL>
        <Description>CVE-2023-45681</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1216478</URL>
        <Description>SUSE Bug 1216478</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="6">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds read in `DECODE` macro when `var` is negative. As it can be seen in the definition of `DECODE_RAW` a negative `var` is a valid value. This issue may be used to leak internal memory allocation information.</Note>
    </Notes>
    <CVE>CVE-2023-45682</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 15 SP6:SDL2_sound-devel-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>SUSE Package Hub 15 SP6:libSDL2_sound2-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.6:SDL2_sound-devel-2.0.4-bp156.2.3.1</ProductID>
        <ProductID>openSUSE Leap 15.6:libSDL2_sound2-2.0.4-bp156.2.3.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://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/PYKIGUIZT6TXJBJESQGK4RWVLRA2YLO4/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-45682.html</URL>
        <Description>CVE-2023-45682</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1216478</URL>
        <Description>SUSE Bug 1216478</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
