[packages/libsndfile] Rel 6. Fix CVE-2026-109828.

arekm arekm at pld-linux.org
Thu Nov 26 09:22:40 CET 2026


commit 2a9f12b4450cf3e177bd51cc5bfc71bb6411ad2c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Nov 25 23:47:04 2026 +0100

    Rel 6. Fix CVE-2026-109828.

 CVE-2026-109828.patch | 13 +++++++++++++
 libsndfile.spec       |  4 +++-
 2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/libsndfile.spec b/libsndfile.spec
index d647632..78f95c4 100644
--- a/libsndfile.spec
+++ b/libsndfile.spec
@@ -11,7 +11,7 @@ Summary:	C library for reading and writing files containing sampled sound
 Summary(pl.UTF-8):	Biblioteka obsługi plików dźwiękowych
 Name:		libsndfile
 Version:	1.2.2
-Release:	5
+Release:	6
 License:	LGPL v2.1+
 Group:		Libraries
 #Source0Download: https://github.com/libsndfile/libsndfile/releases
@@ -27,6 +27,7 @@ Patch6:		CVE-2025-56226.patch
 Patch7:		CVE-2026-37555.patch
 Patch8:		CVE-2026-88386.patch
 Patch9:		tests-opus.patch
+Patch10:	CVE-2026-109828.patch
 URL:		http://www.mega-nerd.com/libsndfile/
 BuildRequires:	alsa-lib-devel
 BuildRequires:	autoconf >= 2.69
@@ -143,6 +144,7 @@ dźwiękowych.
 %patch -P7 -p1
 %patch -P8 -p1
 %patch -P9 -p1
+%patch -P10 -p1
 
 %if %{without tests}
 %{__sed} -i 's, tests$,,' Makefile.am
diff --git a/CVE-2026-109828.patch b/CVE-2026-109828.patch
new file mode 100644
index 0000000..e1ea778
--- /dev/null
+++ b/CVE-2026-109828.patch
@@ -0,0 +1,13 @@
+# CVE-2026-109828: labl chunk copy read past the bytes actually read into cue names
+# upstream 1ccd2a18826722c3aa9ed54122ebff20e3b92b10 (adapted to 1.2.2 context)
+--- a/src/wavlike.c
++++ b/src/wavlike.c
+@@ -1066,7 +1066,7 @@
+ 								i++ ;
+ 
+ 							if (i < psf->cues->cue_count)
+-								memcpy (psf->cues->cue_points [i].name, buffer, sizeof (psf->cues->cue_points [i].name)) ;
++								psf_strlcpy (psf->cues->cue_points [i].name, sizeof (psf->cues->cue_points [i].name), buffer) ;
+ 							} ;
+ 						} ;
+ 					break ;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libsndfile.git/commitdiff/2a9f12b4450cf3e177bd51cc5bfc71bb6411ad2c



More information about the pld-cvs-commit mailing list