Your message dated Sat, 14 Nov 2026 03:04:50 +0000
with message-id <[email protected]>
and subject line Bug#1152912: fixed in speex 1.2.1-4
has caused the Debian Bug report #1152912,
regarding speex: CVE-2026-116741: out-of-bounds write in
speex_bits_read_whole_bytes() (fixed upstream)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1152912: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152912
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: speex
Version: 1.2.1-3
Severity: important
Tags: security upstream fixed-upstream patch
Hi,
The following vulnerability was published for speex. The security tracker
currently records no fix, but upstream merged one on 2026-11-01:
CVE-2026-116741[0]:
Speex (libspeex) through 1.2.1 contains an out-of-bounds write in
speex_bits_read_whole_bytes() in libspeex/bits.c. When the SpeexBits
structure does not own its buffer and the input is larger than the free
space, nchars is truncated to bits->buf_size, ignoring the bytes already
in the buffer (bits->nbBits). The copy loop then writes up to
pos + buf_size bytes, i.e. past the end of the caller-supplied buffer.
Upstream report:
https://www.google.com/url?q=https://github.com/xiph/speex/issues/42&source=gmail&ust=1793764410596000&sa=E
Upstream fix:
https://www.google.com/url?q=https://gitlab.xiph.org/xiph/speex/-/merge_requests/32&source=gmail&ust=1793764410596000&sa=E
https://www.google.com/url?q=https://gitlab.xiph.org/xiph/speex/-/commit/09b569d1b437e5edccf3406a38714ad795e46d38&source=gmail&ust=1793764410596000&sa=E
The fix is a one-line change that uses the same bound as the existing
realloc-failure branch:
--- a/libspeex/bits.c
+++ b/libspeex/bits.c
@@ -174,7 +174,7 @@ EXPORT void speex_bits_read_whole_bytes(SpeexBits
*bits, const char *chars, int
}
} else {
speex_warning("Do not own input buffer: truncating oversize input");
- nchars=bits->buf_size;
+ nchars=bits->buf_size-(bits->nbBits>>LOG2_BITS_PER_CHAR)-1;
}
}
I checked that it applies cleanly to the 1.2.1-3 source (patch -p1
--dry-run against libspeex/bits.c from
https://www.google.com/url?q=http://sources.debian.org&source=gmail&ust=1793764410596000&sa=E).
I have not
built or runtime-tested the package with it.
If you fix the bug, please make sure to include the CVE identifier in
your changelog entry.
[0]
https://www.google.com/url?q=https://security-tracker.debian.org/tracker/CVE-2026-116741&source=gmail&ust=1793764410596000&sa=E
https://www.google.com/url?q=https://www.cve.org/CVERecord?id%3DCVE-2026-116741&source=gmail&ust=1793764410596000&sa=E
Thanks!
--- End Message ---
--- Begin Message ---
Source: speex
Source-Version: 1.2.1-4
Done: Boyuan Yang <[email protected]>
We believe that the bug you reported is fixed in the latest version of
speex, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Boyuan Yang <[email protected]> (supplier of updated speex package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 13 Nov 2026 21:38:51 -0500
Source: speex
Architecture: source
Version: 1.2.1-4
Distribution: unstable
Urgency: high
Maintainer: Debian Multimedia Maintainers <[email protected]>
Changed-By: Boyuan Yang <[email protected]>
Closes: 1152912
Changes:
speex (1.2.1-4) unstable; urgency=high
.
* debian/patches:
+ 0001-CVE-2026-116741.patch: Fix out-of-bounds write when appending to
caller-owned bit buffers. (CVE-2026-116741) (Closes: #1152912)
+ 0002-bits-preserve-full-buffer.patch: Keep a full bit buffer intact
when an append does not fit.
+ 0003-bits-avoid-negative-left-shift.patch: Avoid a negative left shift
when unpacking signed values.
+ 0004-skeleton-reserve-terminator.patch: Fix one-byte heap overflow in
Skeleton header allocation.
+ 0005-nb-clamp-vbr-quality.patch: Clamp narrowband VBR quality to 0-10.
+ 0006-sb-clamp-vbr-quality.patch: Clamp wideband VBR quality to 0-10.
* debian/tests: Add bit-buffer, VBR quality and command-line round-trip
tests.
* debian/control: Bump Standards-Version to 4.7.4; drop Priority field.
* debian/copyright: Update packaging copyright.
Checksums-Sha1:
f32894b9b3e055865457efe9446b5a9715ac3baa 2696 speex_1.2.1-4.dsc
7eb11e62c782f99833adc3a37a1b863ea2b28c1b 1043278 speex_1.2.1.orig.tar.gz
0ca859326b4586286b68de3fde69ed9873f21ca5 488 speex_1.2.1.orig.tar.gz.asc
35295de03746f87f5a41c0a7881994ec6a7b7f0c 15020 speex_1.2.1-4.debian.tar.xz
0598931309a68bd37a952ff5cb4df0318ee27779 9169 speex_1.2.1-4_amd64.buildinfo
Checksums-Sha256:
fe5f5f8283c6ebc887edbfc2fe596362c4ddfab06fae323d8c523848b5852a32 2696
speex_1.2.1-4.dsc
4b44d4f2b38a370a2d98a78329fefc56a0cf93d1c1be70029217baae6628feea 1043278
speex_1.2.1.orig.tar.gz
7d0457864f7dc83f05749b8ebeeafb1192b15f1643b08c38e8084e856a0d7b7f 488
speex_1.2.1.orig.tar.gz.asc
41bac164be44fd7a72e2a79f1fdaa8dd5dff2ea170b12a217afc19143428334c 15020
speex_1.2.1-4.debian.tar.xz
0cbd8bf651bde55ff19503713c89de81f39b879f76fb795d19067c6c893f3ad9 9169
speex_1.2.1-4_amd64.buildinfo
Files:
31769b0fbfb81e3a0bd889bf6eadcf51 2696 sound optional speex_1.2.1-4.dsc
fe7bf610883ff202092b92c72fe0fe3e 1043278 sound optional speex_1.2.1.orig.tar.gz
b92f76e31cc38d542d9a0661253cccab 488 sound optional speex_1.2.1.orig.tar.gz.asc
0a25dd35532c87ae75f454ae27749f45 15020 sound optional
speex_1.2.1-4.debian.tar.xz
80c35cf1892e203182043f131ff81847 9169 sound optional
speex_1.2.1-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmr3ywwACgkQwpPntGGC
Ws52mg/8CTdcyYJ3SPmuam3i9U+TMPW1aRqhq4EXHvwLcliqyM/IPxFDAb7/hSRZ
hvbBYI73XyPvq2u9UDe1KNcWO+jArdf+DVQTICHM37mpX2TLDYecmAjhNdou33gA
UXVzi4tg/+NjDzpSnpjOctG+rWKxj06yEUtt2VJas3Ek69mGXHwu8shxmlI0/lKU
MSZhnEw4/EIk9bmSVbEr+2IfQCbypczXhNCWsWhFiperwkM3nBngf0TaQB3MSlgE
5Cc252SbstRIlg3g+K9U16rb2HNYiZAMcmuDRfldL6/UWp547J4PYFwMD61IcdOa
jBPVhKrMvuQZH6PlZsV6P3uPuM9jgdIAeFIdsAXamM8CgM9O5Tisnv/zcK1MGxr0
Pn3K4r1KE67LrAmzNKUhJ5DbZ+9TV1/GSpPYxY8ZvGzCYvVVA9xE+hRGmUyoJD1d
CtpFdm7gMNSnf0vPb1Izoao23nfAfumc3CjWgKDz6PdcSwL48UMukpoRfNh/p/KA
qDspMdiRooiBxNRiTOaqch+g1060mIPtASJgWuiLLNDwPrIR4wupgKg+L+ObjTMc
xmNpsyqdeNKT0BtVfiRPIr2XUTzzQGjTOvj5OsKP2o0Yut3C+3FAtToHJhUmdZR2
eJmyic7WG27/RqWZzgLU88Ez5Aqh9/lMEuTXKesTerBLMEWiu7w=
=rzph
-----END PGP SIGNATURE-----
pgpBy5rNAWh_3.pgp
Description: PGP signature
--- End Message ---