public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/musescore] rawhide: Add patch for CVE-2026-61714
@ 2026-09-28 13:50 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-09-28 13:50 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/musescore
Branch : rawhide
Commit : 67b8ffdaed8c8f636589bff766cfecd74032e471
Author : Jerry James <loganjerry@gmail.com>
Date   : 2026-09-28T07:49:37-06:00
Stats  : +51/-11 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/musescore/c/67b8ffdaed8c8f636589bff766cfecd74032e471?branch=rawhide

Log:
Add patch for CVE-2026-61714

---
diff --git a/musescore-CVE-2026-61714.patch b/musescore-CVE-2026-61714.patch
new file mode 100644
index 0000000..5dc0ac4
--- /dev/null
+++ b/musescore-CVE-2026-61714.patch
@@ -0,0 +1,39 @@
+See:
+
+https://nvd.nist.gov/vuln/detail/CVE-2026-61714
+https://github.com/FluidSynth/fluidsynth/security/advisories/GHSA-976m-35rw-h3m6
+
+--- MuseScore-4.7.5/src/framework/audio/thirdparty/fluidsynth/fluidsynth-2.3.3/src/midi/fluid_midi.c.orig	2026-09-28 06:53:35.321969332 -0600
++++ MuseScore-4.7.5/src/framework/audio/thirdparty/fluidsynth/fluidsynth-2.3.3/src/midi/fluid_midi.c	2026-09-28 06:57:54.949740019 -0600
+@@ -1617,10 +1617,11 @@ fluid_track_send_events(fluid_track_t *t
+         {
+             if(player->playback_callback)
+             {
++                int *chan_is_playing = &player->channel_isplaying[event->channel % MAX_NUMBER_OF_CHANNELS];
+                 player->playback_callback(player->playback_userdata, event);
+-                if(event->type == NOTE_ON && event->param2 != 0 && !player->channel_isplaying[event->channel])
++                if(event->type == NOTE_ON && event->param2 != 0 && !*chan_is_playing)
+                 {
+-                    player->channel_isplaying[event->channel] = TRUE;
++                    *chan_is_playing = TRUE;
+                 }
+             }
+         }
+@@ -2138,7 +2139,7 @@ fluid_player_callback(void *data, unsign
+     {
+         if(fluid_atomic_int_get(&player->stopping))
+         {
+-            for(i = 0; i < synth->midi_channels; i++)
++            for(i = 0; i < MAX_NUMBER_OF_CHANNELS; i++)
+             {
+                 if(player->channel_isplaying[i])
+                 {
+@@ -2186,7 +2187,7 @@ fluid_player_callback(void *data, unsign
+         seek_ticks = fluid_atomic_int_get(&player->seek_ticks);
+         if(seek_ticks >= 0)
+         {
+-            for(i = 0; i < synth->midi_channels; i++)
++            for(i = 0; i < MAX_NUMBER_OF_CHANNELS; i++)
+             {
+                 if(player->channel_isplaying[i])
+                 {

diff --git a/musescore.spec b/musescore.spec
index 339f031..0415f07 100644
--- a/musescore.spec
+++ b/musescore.spec
@@ -11,29 +11,29 @@
 # - Reset to 1 if the version changed
 # - Increase by 1 otherwise
 %global mscore_font_ver           2.003
-%global mscore_font_rel           45%{?dist}
+%global mscore_font_rel           46%{?dist}
 %global mscoretext_font_ver       1.0
-%global mscoretext_font_rel       45%{?dist}
+%global mscoretext_font_rel       46%{?dist}
 %global musescoreicon_font_ver    1.0
-%global musescoreicon_font_rel    45%{?dist}
+%global musescoreicon_font_rel    46%{?dist}
 %global mscorebc_font_ver         1.0
-%global mscorebc_font_rel         45%{?dist}
+%global mscorebc_font_rel         46%{?dist}
 %global mscoretabulature_font_ver 001.000
-%global mscoretabulature_font_rel 45%{?dist}
+%global mscoretabulature_font_rel 46%{?dist}
 %global musejazz_font_ver         1.0
-%global musejazz_font_rel         45%{?dist}
+%global musejazz_font_rel         46%{?dist}
 %global gootville_font_ver        1.3
-%global gootville_font_rel        45%{?dist}
+%global gootville_font_rel        46%{?dist}
 %global gootville_text_font_ver   1.2
-%global gootville_text_font_rel   45%{?dist}
+%global gootville_text_font_rel   46%{?dist}
 %global soundfont_ver             0.2.0
-%global soundfont_rel             45%{?dist}
+%global soundfont_rel             46%{?dist}
 
 Name:           musescore
 Summary:        Music Composition & Notation Software
 Version:        %{musescore_ver}
 # IMPORTANT: Change all the release numbers above, too!
-Release:        2%{?dist}
+Release:        3%{?dist}
 
 # The MuseScore project itself is GPL-3.0-only WITH Font-exception-2.0.  Other
 # licenses in play:
@@ -229,10 +229,11 @@ Patch:          %{name}-vst.patch
 # Fix a Qt 6.11 problem with StyledDropdown navigation
 # https://github.com/musescore/MuseScore/pull/34204
 Patch:          %{name}-styleddropdownnavigation.patch
-
 # Add FFmpeg 9 support
 # https://github.com/musescore/muse_framework/pull/201
 Patch:          %{name}-ffmpeg9.patch
+# Fix a CVE in the bundled fluidsynth
+Patch:          %{name}-CVE-2026-61714.patch
 
 # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-28 13:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-28 13:50 [rpms/musescore] rawhide: Add patch for CVE-2026-61714 Jerry James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox