Skip to contentSkip to conversation

botan: upgrade 3.11.0 -> 3.11.1

PATCH New Gyorgy Sarvari 1 participant 7 messages Apr 6

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 botan: upgrade 3.11.0 -> 3.11.1

Contains fixes for CVE-2026-35580 and CVE-2026-35582

Changelog: https://botan.randombit.net/news.html#version-3-11-1-2026-03-31

-CVE-2026-35580: Resolve certificate verification bypass bug introduced in 3.11.0 -CVE-2026-35582: Resolve TLS 1.3 client authentication bypass
-Add optimized Argon2 implementation using AVX512
-Add optimized and constant-time Twofish implementation using AVX512/GFNI -Add optimized and constant-time SEED implementation using AVX512/GFNI -Add optimized and constant-time Whirlpool implementations using AVX2 and AVX512 -Add SSSE3/NEON and AVX2 optimized codepaths for CTR
-Add constant time implementations of Camellia, ARIA, SEED and SM4 using
AES-NI or ARMv8 AES instructions to implement sbox lookups
-Improve performance of the AVX512 implementation of SHA-512 especially for Clang -Optimizations for the IDEA modular multiplication
-Fix various minor TLS conformance issues flagged by TLS-Anvil
-Fix bug in Ed25519 where an invalid signature checked with PK_Verifier
might cause a later valid signature to be rejected.
-Fix a bug in handling of ECDSA DER-encode signatures where an invalid
signature checked with PK_Verifier might cause a later valid signature to be rejected.
-Fix a problem introduced in 3.11.0 which could cause crashes on processors without
SSSE3 support, particularly when compiled by GCC.
-Fix various new warnings from clang-tidy 22
-Fix a compilation error introduced in 3.11.0 which prevented using ffi
unless bcrypt was also enabled.
-Avoid a macro collision with Microsoft headers that could cause a compilation
problem in amalgamation mode.
-Enable explicit_bzero, getentropy, getrandom on Hurd

---
 .../recipes-crypto/botan/{botan_3.11.0.bb => botan_3.11.1.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-crypto/botan/{botan_3.11.0.bb => botan_3.11.1.bb} (95%)
meta-oe/recipes-crypto/botan/botan_3.11.1.bb renamed from meta-oe/recipes-crypto/botan/botan_3.11.0.bb +1 -1
similarity index 95%
rename from meta-oe/recipes-crypto/botan/botan_3.11.0.bb
rename to meta-oe/recipes-crypto/botan/botan_3.11.1.bb
index e60d826459..d3d0498ec6 100644
@@ -6,7 +6,7 @@ SECTION = "libs"
 
 SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz \
            file://run-ptest"
-SRC_URI[sha256sum] = "e8dd48556818da2c03a9a30932ad05db9e50b12fec90809301ecc64ea51bd11e"
+SRC_URI[sha256sum] = "c1cd7152519f4188591fa4f6ddeb116bc1004491f5f3c58aa99b00582eb8a137"
 
 S = "${UNPACKDIR}/Botan-${PV}"
 
#1 lore raw

PATCH 2/7 botan: mark CVE-2026-32877 and CVE-2026-32883 patched

Both CVEs were fixed in version 3.11.0, however NVD tracks them without version/CPE info.

Relevant commits:
CVE-2026-32877: https://github.com/randombit/botan/commit/798a332e11949afa8b004564bb9031e66c1a4d13
CVE-2026-32883: https://github.com/randombit/botan/commit/6ecc62a4e36937d036df8c8eda6a85708abb8c37

---
 meta-oe/recipes-crypto/botan/botan_3.11.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-crypto/botan/botan_3.11.1.bb +3 -0
index d3d0498ec6..2d6b64ad64 100644
@@ -65,3 +65,6 @@ FILES:${PN}-test = "${bindir}/botan-test  ${datadir}/${PN}/tests/data"
 COMPATIBLE_HOST:riscv32 = "null"
 
 BBCLASSEXTEND = "native nativesdk"
+
+CVE_STATUS[CVE-2026-32877] = "fixed-version: fixed since 3.11.0"
+CVE_STATUS[CVE-2026-32883] = "fixed-version: fixed since 3.11.0"
#2 lore raw

PATCH 3/7 dovecot: ignore already fixed CVEs

In reply to Gyorgy Sarvari

The following CVEs are fixed in the current version already, however they are tracked without version info.

Upstream has confirmed[1] that these vulnerabilities are fixed, and Debian has also identified the relevant commits:

CVE-2025-30189: https://security-tracker.debian.org/tracker/CVE-2025-30189
CVE-2026-0394: https://security-tracker.debian.org/tracker/CVE-2026-0394
CVE-2026-24031: https://security-tracker.debian.org/tracker/CVE-2026-24031
CVE-2026-27855: https://security-tracker.debian.org/tracker/CVE-2026-27855
CVE-2026-27860: https://security-tracker.debian.org/tracker/CVE-2026-27860

[1]: https://seclists.org/fulldisclosure/2026/Mar/13

---
 meta-networking/recipes-support/dovecot/dovecot_2.4.3.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-networking/recipes-support/dovecot/dovecot_2.4.3.bb +5 -0
index a8930979ea..10ca595029 100644
@@ -81,3 +81,8 @@ FILES:${PN}-dev += "${libdir}/dovecot/libdovecot*.so"
 FILES:${PN}-dbg += "${libdir}/dovecot/*/.debug"
 
 CVE_STATUS[CVE-2016-4983] = "not-applicable-platform: Affects only postinstall script on specific distribution."
+CVE_STATUS[CVE-2025-59031] = "fixed-version: fixed since v2.4.2"
+CVE_STATUS[CVE-2026-0394] = "fixed-version: fixed since v2.4.1"
+CVE_STATUS[CVE-2026-24031] = "fixed-version: fixed since v2.4.3"
+CVE_STATUS[CVE-2026-27855] = "fixed-version: fixed since v2.4.3"
+CVE_STATUS[CVE-2026-27860] = "fixed-version: fixed since v2.4.3"
#3 lore raw

PATCH 4/7 freeipmi: mark CVE-2026-33554 patched

In reply to Gyorgy Sarvari

The CVE is tracked by NVD without version info. It's description confirms that it is fixed in version 1.6.17.

---
 meta-oe/recipes-support/freeipmi/freeipmi_1.6.17.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/freeipmi/freeipmi_1.6.17.bb +1 -0
index 50a1877c0e..7970e0f563 100644
@@ -23,3 +23,4 @@ inherit pkgconfig autotools
 
 EXTRA_OECONF = "--without-random-device"
 
+CVE_STATUS[CVE-2026-33554] = "fixed-version: fixed since 1.6.17"
#4 lore raw

PATCH 5/7 giflib: mark CVE-2026-23868 patched

In reply to Gyorgy Sarvari

The fix[1] that is referenced by the NVD advisory is already included in the current recipe version.

[1]: https://sourceforge.net/p/giflib/code/ci/f5b7267aed3665ef025c13823e454170d031c106/

---
 meta-oe/recipes-devtools/giflib/giflib_6.1.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/giflib/giflib_6.1.2.bb +2 -0
index 77f8905358..9cb2a51879 100644
@@ -26,3 +26,5 @@ FILES:${PN}-utils = "${bindir}"
 BBCLASSEXTEND = "native"
 
 RDEPENDS:${PN}-utils = "perl"
+
+CVE_STATUS[CVE-2026-23868] = "fixed-version: fixed since v6.1.2"
#5 lore raw

PATCH 6/7 leancrypto: upgrade 1.7.0 -> 1.7.1

In reply to Gyorgy Sarvari

Contains fix for CVE-2026-34610 (which is however tracked without a version by NVD, so it is marked as patched explicitly)

Changelog:
- Offer a means to select the AES-C constant time / S-Box implementation via lc_init API
- use the AES-C constant time implementation by default - it is about 3 times slower than the AES-C S-Box implementation, but more secure. As the leancrypto library is about secure by default, the CT implementation is just right. Furthermore, if a caller wants to have the faster AES-C S-Box, he can call lc_init(LC_INIT_AES_SBOX) at the beginning.
- X.509: fix security issue (CVE-2026-34610)

---
 .../leancrypto/{leancrypto_1.7.0.bb => leancrypto_1.7.1.bb}  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-crypto/leancrypto/{leancrypto_1.7.0.bb => leancrypto_1.7.1.bb} (95%)
meta-oe/recipes-crypto/leancrypto/leancrypto_1.7.1.bb renamed from meta-oe/recipes-crypto/leancrypto/leancrypto_1.7.0.bb +3 -2
similarity index 95%
rename from meta-oe/recipes-crypto/leancrypto/leancrypto_1.7.0.bb
rename to meta-oe/recipes-crypto/leancrypto/leancrypto_1.7.1.bb
index 7c9187ab94..9e7883ad3c 100644
@@ -14,11 +14,12 @@ SECTION = "libs"
 SRC_URI = "git://github.com/smuellerDD/leancrypto.git;branch=master;protocol=https;tag=v${PV} \
            file://leancrypto-tests.sh \
            "
-# SRCREV tagged v1.7.0
-SRCREV = "e60fba94e8cabf1661a1da488b78b84a4fba56e9"
+SRCREV = "e7fa8c87a46c5787174c18fac385aa08eecdedd1"
 
 inherit pkgconfig meson
 
+CVE_STATUS[CVE-2026-34610] = "fixed-version: fixed since v1.7.1"
+
 EXTRA_OEMESON = "-Dstrip=false"
 TARGET_LDFLAGS:append = " ${DEBUG_PREFIX_MAP}"
 
#6 lore raw

PATCH 7/7 libraw: upgrade 0.21.4 -> 0.22.1

In reply to Gyorgy Sarvari

Contains fixes for CVE-2026-5318[1] and CVE-2026-5318[2] (both are tracked without a version by NVD, so they are explicitly marked as patched)

License-update: copyright year bump

Changelog: https://github.com/LibRaw/LibRaw/blob/0.22-stable/Changelog.txt

[1]: https://github.com/LibRaw/LibRaw/commit/5357bb5fc67ac616838fb84de67260d45987489b
[2]: https://github.com/LibRaw/LibRaw/commit/2468614a9cbcab6b75ca279ab60cac62156f7aeb

---
 meta-oe/recipes-support/libraw/libraw_0.21.4.bb | 10 ----------
 meta-oe/recipes-support/libraw/libraw_0.22.1.bb | 13 +++++++++++++
 2 files changed, 13 insertions(+), 10 deletions(-)
 delete mode 100644 meta-oe/recipes-support/libraw/libraw_0.21.4.bb
 create mode 100644 meta-oe/recipes-support/libraw/libraw_0.22.1.bb
meta-oe/recipes-support/libraw/libraw_0.21.4.bb deleted +0 -10
deleted file mode 100644
index ef0a0255d9..0000000000
@@ -1,10 +0,0 @@
-SUMMARY = "raw image decoder"
-LICENSE = "LGPL-2.1-only | CDDL-1.0"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=1501ae0aa3c8544e63f08d6f7bf88a6f"
-
-SRC_URI = "git://github.com/LibRaw/LibRaw.git;branch=0.21-stable;protocol=https;tag=${PV}"
-SRCREV = "9646d776c7c61976080a8f2be67928df0750493e"
-
-inherit autotools pkgconfig
-
-DEPENDS = "jpeg jasper lcms"
meta-oe/recipes-support/libraw/libraw_0.22.1.bb new file +13 -0
new file mode 100644
index 0000000000..bd0a4c0b03
@@ -0,0 +1,13 @@
+SUMMARY = "raw image decoder"
+LICENSE = "LGPL-2.1-only | CDDL-1.0"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=1d66195044cfbe4327c055d1c9c1a229"
+
+SRC_URI = "git://github.com/LibRaw/LibRaw.git;branch=0.22-stable;protocol=https;tag=${PV}"
+SRCREV = "b860248a89d9082b8e0a1e202e516f46af9adb29"
+
+inherit autotools pkgconfig
+
+DEPENDS = "jpeg jasper lcms"
+
+CVE_STATUS[CVE-2026-5318] = "fixed-version: fixed since 0.22.1"
+CVE_STATUS[CVE-2026-5342] = "fixed-version: fixed since 0.22.1"