* [OE-core][wrynose 00/21] Patch review
@ 2026-06-10 22:54 Yoann Congal
0 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-06-10 22:54 UTC (permalink / raw)
To: openembedded-core
Please review this set of changes for wrynose and have comments back by
end of day Friday, June 12.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/3963
The following changes since commit 39d4d267906f8e18d44e1ba5da84acc4a5a85b61:
pseudo: Update to version 1.9.8 (2026-06-05 12:59:40 +0200)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/wrynose-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/wrynose-nut
for you to fetch changes up to 3ad25cdf47e75d2edc217727eb3f8bd01ed76e47:
python3: reference upstream ticket in a test skip (2026-06-10 13:52:06 +0200)
----------------------------------------------------------------
Abhishek Bachiphale (6):
cups: fix CVE-2026-34978
cups: fix CVE-2026-34979
cups: fix CVE-2026-34980
cups: fix CVE-2026-34990
cups: fix CVE-2026-39314
cups: fix CVE-2026-39316
Adarsh Jagadish Kamini (2):
libpcap: fix error message on 32-bit integer overflow
libsolv: fix CVE-2026-9150
Bin Cao (1):
python3: sanitize userbase in _sysconfig_vars JSON to avoid host path
leak
He Zhe (1):
lttng-modules: Fix trace_hrtimer_start build failure
Jinfeng Wang (1):
bind: upgrade 9.20.22 -> 9.20.23
Mark Jonas (1):
libsdl2: Fix compilation error with DirectFB
Peter Marko (4):
perf: make libraries for install_headers configurable
go: upgrade 1.26.2 -> 1.26.3
go: upgrade 1.26.3 -> 1.26.4
python3: upgrade 3.14.4 -> 3.14.5
Ross Burton (2):
python3: use += instead of :append in SKIPPED_TESTS
python3: reference upstream ticket in a test skip
Sai Sneha (1):
python3: Fix ThreadingMock call_count race condition
Trevor Gamblin (1):
python3: use SKIPPED_TESTS instead of test skip patches
Wang Mingyu (1):
xserver-xorg: upgrade 21.1.21 -> 21.1.22
.../bind/{bind_9.20.22.bb => bind_9.20.23.bb} | 2 +-
...ssages-about-32-bit-integer-overflow.patch | 158 ++++++++
.../libpcap/libpcap_1.10.6.bb | 4 +-
.../go/{go-1.26.2.inc => go-1.26.4.inc} | 3 +-
...e_1.26.2.bb => go-binary-native_1.26.4.bb} | 6 +-
..._1.26.2.bb => go-cross-canadian_1.26.4.bb} | 0
...{go-cross_1.26.2.bb => go-cross_1.26.4.bb} | 0
...osssdk_1.26.2.bb => go-crosssdk_1.26.4.bb} | 0
...runtime_1.26.2.bb => go-runtime_1.26.4.bb} | 0
...rcing-binutils-gold-dependency-on-aa.patch | 55 ---
.../go/{go_1.26.2.bb => go_1.26.4.bb} | 0
...shebang-overflow-on-python-config.py.patch | 2 +-
...eadingMock-call-count-race-condition.patch | 37 ++
...e-stdin-I-O-errors-same-way-as-maste.patch | 2 +-
...-qemu-wrapper-when-gathering-profile.patch | 2 +-
...sts-due-to-load-variability-on-YP-AB.patch | 79 ----
...kip-flaky-test_default_timeout-tests.patch | 49 ---
...est_sysconfig-for-posix_user-purelib.patch | 2 +-
..._fileno-test-due-to-load-variability.patch | 29 --
...ctive_children-skip-problematic-test.patch | 34 --
...1-test_cmd-skip-bang-completion-test.patch | 31 --
...pes.test_find-skip-without-tools-sdk.patch | 33 --
...-test_deadlock-skip-problematic-test.patch | 27 --
...le.py-correct-the-test-output-format.patch | 2 +-
..._active_thread-skip-problematic-test.patch | 30 --
...-test_unix_console.test_cursor_back_.patch | 46 ---
...t_readline-skip-limited-history-test.patch | 46 ---
...-test_shutdown-skip-problematic-test.patch | 43 ---
...orlines-skip-due-to-load-variability.patch | 29 --
...kip-test_sysconfig.test_sysconfigdat.patch | 32 --
.../python/python3/makerace.patch | 2 +-
.../{python3_3.14.4.bb => python3_3.14.5.bb} | 97 ++++-
meta/recipes-extended/cups/cups.inc | 6 +
.../cups/cups/CVE-2026-34978.patch | 120 ++++++
.../cups/cups/CVE-2026-34979.patch | 57 +++
.../cups/cups/CVE-2026-34980.patch | 88 +++++
.../cups/cups/CVE-2026-34990.patch | 348 ++++++++++++++++++
.../cups/cups/CVE-2026-39314.patch | 47 +++
.../cups/cups/CVE-2026-39316.patch | 42 +++
.../libsolv/libsolv/CVE-2026-9150.patch | 68 ++++
.../libsolv/libsolv_0.7.36.bb | 1 +
...ix-CreateRenderer-callback-signature.patch | 58 +++
.../libsdl2/libsdl2_2.32.10.bb | 5 +-
.../xorg-xserver/xserver-xorg.inc | 2 +-
...org_21.1.21.bb => xserver-xorg_21.1.22.bb} | 2 +-
...ce-trace-noise-in-hrtimer_start-v7.1.patch | 103 ++++++
.../lttng/lttng-modules_2.14.4.bb | 1 +
meta/recipes-kernel/perf/perf.bb | 5 +-
48 files changed, 1238 insertions(+), 597 deletions(-)
rename meta/recipes-connectivity/bind/{bind_9.20.22.bb => bind_9.20.23.bb} (97%)
create mode 100644 meta/recipes-connectivity/libpcap/libpcap/0001-Fix-error-messages-about-32-bit-integer-overflow.patch
rename meta/recipes-devtools/go/{go-1.26.2.inc => go-1.26.4.inc} (83%)
rename meta/recipes-devtools/go/{go-binary-native_1.26.2.bb => go-binary-native_1.26.4.bb} (80%)
rename meta/recipes-devtools/go/{go-cross-canadian_1.26.2.bb => go-cross-canadian_1.26.4.bb} (100%)
rename meta/recipes-devtools/go/{go-cross_1.26.2.bb => go-cross_1.26.4.bb} (100%)
rename meta/recipes-devtools/go/{go-crosssdk_1.26.2.bb => go-crosssdk_1.26.4.bb} (100%)
rename meta/recipes-devtools/go/{go-runtime_1.26.2.bb => go-runtime_1.26.4.bb} (100%)
delete mode 100644 meta/recipes-devtools/go/go/0011-cmd-link-stop-forcing-binutils-gold-dependency-on-aa.patch
rename meta/recipes-devtools/go/{go_1.26.2.bb => go_1.26.4.bb} (100%)
create mode 100644 meta/recipes-devtools/python/python3/0001-Fix-ThreadingMock-call-count-race-condition.patch
delete mode 100644 meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch
delete mode 100644 meta/recipes-devtools/python/python3/0001-Skip-flaky-test_default_timeout-tests.patch
delete mode 100644 meta/recipes-devtools/python/python3/0001-skip-no_stdout_fileno-test-due-to-load-variability.patch
delete mode 100644 meta/recipes-devtools/python/python3/0001-test_active_children-skip-problematic-test.patch
delete mode 100644 meta/recipes-devtools/python/python3/0001-test_cmd-skip-bang-completion-test.patch
delete mode 100644 meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch
delete mode 100644 meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch
delete mode 100644 meta/recipes-devtools/python/python3/0001-test_only_active_thread-skip-problematic-test.patch
delete mode 100644 meta/recipes-devtools/python/python3/0001-test_pyrepl-skip-test_unix_console.test_cursor_back_.patch
delete mode 100644 meta/recipes-devtools/python/python3/0001-test_readline-skip-limited-history-test.patch
delete mode 100644 meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch
delete mode 100644 meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch
delete mode 100644 meta/recipes-devtools/python/python3/0001-test_sysconfig-skip-test_sysconfig.test_sysconfigdat.patch
rename meta/recipes-devtools/python/{python3_3.14.4.bb => python3_3.14.5.bb} (87%)
create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-34978.patch
create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-34979.patch
create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-34980.patch
create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-34990.patch
create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-39314.patch
create mode 100644 meta/recipes-extended/cups/cups/CVE-2026-39316.patch
create mode 100644 meta/recipes-extended/libsolv/libsolv/CVE-2026-9150.patch
create mode 100644 meta/recipes-graphics/libsdl2/libsdl2/0001-directfb-Fix-CreateRenderer-callback-signature.patch
rename meta/recipes-graphics/xorg-xserver/{xserver-xorg_21.1.21.bb => xserver-xorg_21.1.22.bb} (92%)
create mode 100644 meta/recipes-kernel/lttng/lttng-modules/0001-fix-hrtimer-Reduce-trace-noise-in-hrtimer_start-v7.1.patch
^ permalink raw reply [flat|nested] 23+ messages in thread
* [OE-core][wrynose 00/21] Patch review
@ 2026-11-24 22:52 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 01/21] bison: Fix CVE-2026-56390 Yoann Congal
` (20 more replies)
0 siblings, 21 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
Please review this set of changes for wrynose and have comments back by
end of day Thursday, November 26.
This series is a subset of the review queue aimed at unblocking as much
scarthgap patches as possible for the upcoming 5.0.22 release.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/5180
The following changes since commit 16a03ed6c2db2fa1d7edac4f288a74958a00eb9f:
build-appliance-image: Update to wrynose head revisions (2026-11-20 10:24:35 +0000)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/wrynose-review
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/wrynose-review
for you to fetch changes up to 1dc4b90903b014a610c753ce0cc65b343a17796b:
python3-certifi: correct license to MPL-2.0 (2026-11-24 14:36:27 +0100)
----------------------------------------------------------------
Anders Heimer (1):
python3-certifi: correct license to MPL-2.0
Ankur Tyagi (2):
aspell: upgrade 0.60.8.2 -> 0.60.8.3
tzdata/tzcode-native: upgrade 2026e -> 2026f
Arpit Patel (10):
sqlite3: Fix CVE-2026-119377
sqlite3: fix CVE-2026-119373
sqlite3: fix CVE-2026-119374
sqlite3: fix CVE-2026-119375
sqlite3: fix CVE-2026-119379
sqlite3: fix CVE-2026-119372
sqlite3: fix CVE-2026-119378
sqlite3: fix CVE-2026-119376
sqlite3: fix CVE-2026-119371
sqlite3: fix CVE-2026-119591
Hetvi Thakar (1):
glibc: stable 2.43 branch updates to 124e9adcd4
Peter Marko (6):
popt: correct CVE-2026-18739.patch metadata
popt: patch CVE-2026-18839
libsndfile1: patch CVE-2024-50613
libsndfile1: patch CVE-2025-52194
libsndfile1: patch CVE-2026-109828
speex: patch CVE-2026-116741
Yogita Urade (1):
bison: Fix CVE-2026-56390
meta/recipes-core/glibc/glibc-version.inc | 2 +-
meta/recipes-core/glibc/glibc_2.43.bb | 1 +
.../bison/bison/CVE-2026-56390.patch | 233 ++++++++++
meta/recipes-devtools/bison/bison_3.8.2.bb | 1 +
.../python/python3-certifi_2026.10.19.bb | 2 +-
meta/recipes-extended/timezone/timezone.inc | 6 +-
.../libsndfile1/CVE-2024-50613.patch | 348 +++++++++++++++
.../libsndfile1/CVE-2025-52194.patch | 27 ++
.../libsndfile1/CVE-2026-109828-01.patch | 234 ++++++++++
.../libsndfile1/CVE-2026-109828-02.patch | 26 ++
.../libsndfile/libsndfile1_1.2.2.bb | 4 +
.../speex/speex/CVE-2026-116741.patch | 29 ++
meta/recipes-multimedia/speex/speex_1.2.1.bb | 5 +-
...{aspell_0.60.8.2.bb => aspell_0.60.8.3.bb} | 2 +-
.../popt/popt/CVE-2026-18739.patch | 2 +-
.../popt/popt/CVE-2026-18839-01.patch | 89 ++++
.../popt/popt/CVE-2026-18839-02.patch | 419 ++++++++++++++++++
meta/recipes-support/popt/popt_1.19.bb | 4 +-
.../sqlite3/CVE-2026-119371-dependent.patch | 109 +++++
.../sqlite/sqlite3/CVE-2026-119371.patch | 103 +++++
.../sqlite/sqlite3/CVE-2026-119372.patch | 56 +++
.../sqlite/sqlite3/CVE-2026-119373.patch | 56 +++
.../sqlite/sqlite3/CVE-2026-119374.patch | 76 ++++
.../sqlite/sqlite3/CVE-2026-119375.patch | 47 ++
.../sqlite/sqlite3/CVE-2026-119376.patch | 75 ++++
.../CVE-2026-119377-dependent_p1.patch | 86 ++++
.../CVE-2026-119377-dependent_p2.patch | 59 +++
.../sqlite/sqlite3/CVE-2026-119377_p1.patch | 52 +++
.../sqlite/sqlite3/CVE-2026-119377_p2.patch | 51 +++
.../sqlite/sqlite3/CVE-2026-119378.patch | 52 +++
.../sqlite/sqlite3/CVE-2026-119379.patch | 79 ++++
.../sqlite/sqlite3/CVE-2026-119591.patch | 40 ++
meta/recipes-support/sqlite/sqlite3_3.51.3.bb | 14 +
33 files changed, 2380 insertions(+), 9 deletions(-)
create mode 100644 meta/recipes-devtools/bison/bison/CVE-2026-56390.patch
create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch
create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch
create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch
create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch
create mode 100644 meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch
rename meta/recipes-support/aspell/{aspell_0.60.8.2.bb => aspell_0.60.8.3.bb} (93%)
create mode 100644 meta/recipes-support/popt/popt/CVE-2026-18839-01.patch
create mode 100644 meta/recipes-support/popt/popt/CVE-2026-18839-02.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch
^ permalink raw reply [flat|nested] 23+ messages in thread
* [OE-core][wrynose 01/21] bison: Fix CVE-2026-56390
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 02/21] glibc: stable 2.43 branch updates to 124e9adcd4 Yoann Congal
` (19 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Yogita Urade <yurade@cisco.com>
This patch applies the upstream fix as referenced in [2],
using the commit shown in [1].
[1] https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=8d101c19d4d9aaedf83a448c925513742d4efcf0
[2] https://nvd.nist.gov/vuln/detail/CVE-2026-56390
Signed-off-by: Yogita Urade <yurade@cisco.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eefec9cde464081f5943f4ad5c3cb688a87eff1f)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../bison/bison/CVE-2026-56390.patch | 233 ++++++++++++++++++
meta/recipes-devtools/bison/bison_3.8.2.bb | 1 +
2 files changed, 234 insertions(+)
create mode 100644 meta/recipes-devtools/bison/bison/CVE-2026-56390.patch
diff --git a/meta/recipes-devtools/bison/bison/CVE-2026-56390.patch b/meta/recipes-devtools/bison/bison/CVE-2026-56390.patch
new file mode 100644
index 00000000000..f32aa8a98cb
--- /dev/null
+++ b/meta/recipes-devtools/bison/bison/CVE-2026-56390.patch
@@ -0,0 +1,233 @@
+From 8d101c19d4d9aaedf83a448c925513742d4efcf0 Mon Sep 17 00:00:00 2001
+From: Paul Eggert <eggert@cs.ucla.edu>
+Date: Thu, 23 Apr 2026 12:41:25 -0700
+Subject: [PATCH] bison: tighten up output file names
+
+Problem reported by Michał Majchrowicz.
+* src/parse-gram.y: Do not allow '/' in %header and %output directives.
+
+CVE: CVE-2026-56390
+Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=8d101c19d4d9aaedf83a448c925513742d4efcf0]
+
+Backport Changes:
+- Adapted generated src/parse-gram.c to the Bison 3.8.2 source tree.
+- omitted upstream generator-version/copyright metadata and
+ src/parse-gram.h-only metadata changes while retaining the
+ security-relevant parser changes.
+
+(cherry picked from commit 8d101c19d4d9aaedf83a448c925513742d4efcf0)
+Signed-off-by: Yogita Urade <yurade@cisco.com>
+---
+ THANKS | 1 +
+ doc/bison.texi | 2 ++
+ src/parse-gram.c | 56 ++++++++++++++++++++++++++++++++----------------
+ src/parse-gram.y | 31 ++++++++++++++++++++++-----
+ 4 files changed, 67 insertions(+), 23 deletions(-)
+
+diff --git a/THANKS b/THANKS
+index be743a23..0e481561 100644
+--- a/THANKS
++++ b/THANKS
+@@ -128,6 +128,7 @@ Michael Catanzaro mcatanzaro@gnome.org
+ Michael Felt mamfelt@gmail.com
+ Michael Hayes m.hayes@elec.canterbury.ac.nz
+ Michael Raskin 7c6f434c@mail.ru
++Michał Majchrowicz mmajchrowicz@afine.com
+ Michel d'Hooge michel.dhooge@gmail.com
+ Michiel De Wilde mdewilde.agilent@gmail.com
+ Mickael Labau labau_m@epita.fr
+diff --git a/doc/bison.texi b/doc/bison.texi
+index a559649c..44a4e159 100644
+--- a/doc/bison.texi
++++ b/doc/bison.texi
+@@ -5973,6 +5973,7 @@ Introduced in Bison 3.8.
+
+ @deffn {Directive} %header @var{header-file}
+ Same as above, but save in the file @file{@var{header-file}}.
++The @var{header-file} name should not contain slashes.
+ @end deffn
+
+ @deffn {Directive} %language "@var{language}"
+@@ -6026,6 +6027,7 @@ file, treating it as an independent source file in its own right.
+
+ @deffn {Directive} %output "@var{file}"
+ Generate the parser implementation in @file{@var{file}}.
++The @var{file} name should not contain slashes.
+ @end deffn
+
+ @deffn {Directive} %pure-parser
+diff --git a/src/parse-gram.y b/src/parse-gram.y
+index 15180cb5..114c5c44 100644
+--- a/src/parse-gram.y
++++ b/src/parse-gram.y
+@@ -95,8 +95,11 @@
+ string from the scanner (should be CODE). */
+ static char const *translate_code_braceless (char *code, location loc);
+
++ /* Is FILE a valid output file name? */
++ static bool valid_output_file_name (char const *file);
++
+ /* Handle a %header directive. */
+- static void handle_header (char const *value);
++ static void handle_header (location const *loc, char const *value);
+
+ /* Handle a %error-verbose directive. */
+ static void handle_error_verbose (location const *loc, char const *directive);
+@@ -337,7 +340,7 @@ prologue_declaration:
+ muscle_percent_define_insert ($2, @$, $3.kind, $3.chars,
+ MUSCLE_PERCENT_DEFINE_GRAMMAR_FILE);
+ }
+-| "%header" string.opt { handle_header ($2); }
++| "%header" string.opt { handle_header (&@2, $2); }
+ | "%error-verbose" { handle_error_verbose (&@$, $1); }
+ | "%expect" INT_LITERAL { expected_sr_conflicts = $2; }
+ | "%expect-rr" INT_LITERAL { expected_rr_conflicts = $2; }
+@@ -356,7 +359,15 @@ prologue_declaration:
+ | "%name-prefix" STRING { handle_name_prefix (&@$, $1, $2); }
+ | "%no-lines" { no_lines_flag = true; }
+ | "%nondeterministic-parser" { nondeterministic_parser = true; }
+-| "%output" STRING { spec_outfile = unquote ($2); gram_scanner_last_string_free (); }
++| "%output" STRING
++ {
++ char *file = unquote ($2);
++ if (valid_output_file_name (file))
++ spec_outfile = file;
++ else
++ complain (&@2, complaint, _("invalid %%output file name ignored"));
++ gram_scanner_last_string_free ();
++ }
+ | "%param" { current_param = $1; } params { current_param = param_none; }
+ | "%pure-parser" { handle_pure_parser (&@$, $1); }
+ | "%require" STRING { handle_require (&@2, $2); }
+@@ -952,14 +963,24 @@ add_param (param_type type, char *decl, location loc)
+ }
+
+
++static bool
++valid_output_file_name (char const *file)
++{
++ return !strchr (file, '/');
++}
++
++
+ static void
+-handle_header (char const *value)
++handle_header (location const *loc, char const *value)
+ {
+ header_flag = true;
+ if (value)
+ {
+ char *file = unquote (value);
+- spec_header_file = xstrdup (file);
++ if (valid_output_file_name (file))
++ spec_header_file = xstrdup (file);
++ else
++ complain (loc, complaint, _("invalid %%header file name ignored"));
+ gram_scanner_last_string_free ();
+ unquote_free (file);
+ }
+diff --git a/src/parse-gram.c b/src/parse-gram.c
+index 3c1d8229..7f6deb33 100644
+--- a/src/parse-gram.c
++++ b/src/parse-gram.c
+@@ -276,8 +276,11 @@ typedef enum yysymbol_kind_t yysymbol_kind_t;
+ string from the scanner (should be CODE). */
+ static char const *translate_code_braceless (char *code, location loc);
+
++ /* Is FILE a valid output file name? */
++ static bool valid_output_file_name (char const *file);
++
+ /* Handle a %header directive. */
+- static void handle_header (char const *value);
++ static void handle_header (location const *loc, char const *value);
+
+ /* Handle a %error-verbose directive. */
+ static void handle_error_verbose (location const *loc, char const *directive);
+@@ -663,19 +666,19 @@ union yyalloc
+ /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
+ static const yytype_int16 yyrline[] =
+ {
+- 0, 310, 310, 319, 320, 324, 325, 331, 335, 340,
+- 341, 342, 343, 344, 345, 350, 355, 356, 357, 358,
+- 359, 360, 360, 361, 362, 363, 364, 365, 366, 367,
+- 368, 372, 373, 382, 383, 387, 398, 402, 406, 414,
+- 424, 425, 435, 436, 442, 455, 455, 460, 460, 465,
+- 465, 470, 480, 481, 482, 483, 488, 489, 493, 494,
+- 499, 500, 504, 505, 509, 510, 511, 524, 533, 537,
+- 541, 549, 550, 554, 567, 568, 573, 574, 575, 593,
+- 597, 601, 609, 611, 616, 623, 633, 637, 641, 649,
+- 655, 668, 669, 675, 676, 677, 684, 684, 692, 693,
+- 694, 699, 702, 704, 706, 708, 710, 712, 714, 716,
+- 718, 723, 724, 733, 757, 758, 759, 760, 772, 774,
+- 798, 803, 804, 809, 817, 818
++ 0, 314, 314, 323, 324, 328, 329, 335, 339, 344,
++ 345, 346, 347, 348, 349, 354, 359, 360, 361, 362,
++ 363, 372, 372, 373, 374, 375, 376, 377, 378, 379,
++ 380, 384, 385, 394, 395, 399, 410, 414, 418, 426,
++ 436, 437, 447, 448, 454, 467, 467, 472, 472, 477,
++ 477, 482, 492, 493, 494, 495, 500, 501, 505, 506,
++ 511, 512, 516, 517, 521, 522, 523, 536, 545, 549,
++ 553, 561, 562, 566, 579, 580, 585, 586, 587, 605,
++ 609, 613, 621, 623, 628, 635, 645, 649, 653, 661,
++ 667, 680, 681, 687, 688, 689, 696, 696, 704, 705,
++ 706, 711, 714, 716, 718, 720, 722, 724, 726, 728,
++ 730, 735, 736, 745, 769, 770, 771, 772, 784, 786,
++ 810, 815, 816, 821, 829, 830
+ };
+ #endif
+
+@@ -2217,7 +2220,7 @@ yyreduce:
+
+ case 9: /* prologue_declaration: "%header" string.opt */
+ #line 340 "src/parse-gram.y"
+- { handle_header ((yyvsp[0].yykind_75)); }
++ { handle_header (&(yylsp[0]), (yyvsp[0].yykind_75)); }
+ #line 2222 "src/parse-gram.c"
+ break;
+
+@@ -2289,7 +2292,14 @@ yyreduce:
+
+ case 20: /* prologue_declaration: "%output" "string" */
+ #line 359 "src/parse-gram.y"
+- { spec_outfile = unquote ((yyvsp[0].STRING)); gram_scanner_last_string_free (); }
++ {
++ char *file = unquote ((yyvsp[0].STRING));
++ if (valid_output_file_name (file))
++ spec_outfile = file;
++ else
++ complain (&(yylsp[0]), complaint, _("invalid %%output file name ignored"));
++ gram_scanner_last_string_free ();
++ }
+ #line 2294 "src/parse-gram.c"
+ break;
+
+@@ -3290,14 +3300,24 @@ add_param (param_type type, char *decl, location loc)
+ }
+
+
++static bool
++valid_output_file_name (char const *file)
++{
++ return !strchr (file, '/');
++}
++
++
+ static void
+-handle_header (char const *value)
++handle_header (location const *loc, char const *value)
+ {
+ header_flag = true;
+ if (value)
+ {
+ char *file = unquote (value);
+- spec_header_file = xstrdup (file);
++ if (valid_output_file_name (file))
++ spec_header_file = xstrdup (file);
++ else
++ complain (loc, complaint, _("invalid %%header file name ignored"));
+ gram_scanner_last_string_free ();
+ unquote_free (file);
+ }
+
+--
+2.44.4
diff --git a/meta/recipes-devtools/bison/bison_3.8.2.bb b/meta/recipes-devtools/bison/bison_3.8.2.bb
index 03d3cffe2ae..339a9d13364 100644
--- a/meta/recipes-devtools/bison/bison_3.8.2.bb
+++ b/meta/recipes-devtools/bison/bison_3.8.2.bb
@@ -13,6 +13,7 @@ SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.xz \
file://autoconf-2.73.patch \
file://add-with-bisonlocaledir.patch \
file://CVE-2026-56389.patch \
+ file://CVE-2026-56390.patch \
"
SRC_URI[sha256sum] = "9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 02/21] glibc: stable 2.43 branch updates to 124e9adcd4
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 01/21] bison: Fix CVE-2026-56390 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 03/21] sqlite3: Fix CVE-2026-119377 Yoann Congal
` (18 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Hetvi Thakar <hthakar@cisco.com>
Update SRCREV from 562cd7badd to 124e9adcd4 on release/2.43/master.
This pulls eight stable maintenance commits, including fixes for:
CVE-2026-84243: LANGUAGE directory traversal in gettext
CVE-2026-100290: double free after regex allocation failures
CVE-2026-115819: extra NUL byte in wide scanf conversions
Record these CVEs as stable backports because the recipe version remains
2.43+git and version-based matching cannot identify the fixes.
Upstream: https://sourceware.org/git/?p=glibc.git;a=commit;h=124e9adcd407737f0462aa4ba38a37678e8941ec
Signed-off-by: Hetvi Thakar <hthakar@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/recipes-core/glibc/glibc-version.inc | 2 +-
meta/recipes-core/glibc/glibc_2.43.bb | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc
index e8e6bb665ae..ec079d9127a 100644
--- a/meta/recipes-core/glibc/glibc-version.inc
+++ b/meta/recipes-core/glibc/glibc-version.inc
@@ -1,6 +1,6 @@
SRCBRANCH ?= "release/2.43/master"
PV = "2.43+git"
-SRCREV_glibc ?= "562cd7badd3f9edd74b68316439f910f6f7c4c1f"
+SRCREV_glibc ?= "124e9adcd407737f0462aa4ba38a37678e8941ec"
SRCREV_localedef ?= "cba02c503d7c853a38ccfb83c57e343ca5ecd7e5"
GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
diff --git a/meta/recipes-core/glibc/glibc_2.43.bb b/meta/recipes-core/glibc/glibc_2.43.bb
index c962171cf3a..5d2344389ff 100644
--- a/meta/recipes-core/glibc/glibc_2.43.bb
+++ b/meta/recipes-core/glibc/glibc_2.43.bb
@@ -25,6 +25,7 @@ CVE_STATUS_STABLE_BACKPORTS = "CVE-2025-15281 CVE-2026-0861 CVE-2026-0915 CVE-20
CVE-2026-5435 CVE-2026-5450 CVE-2026-5928 CVE-2026-6238 CVE-2026-6791 \
CVE-2026-6368 CVE-2026-19499 CVE-2026-77117 CVE-2026-80489 CVE-2026-18374 CVE-2026-8674 \
CVE-2026-89092 CVE-2026-97399 CVE-2026-19542 CVE-2026-86805 CVE-2026-95818 \
+ CVE-2026-84243 CVE-2026-100290 CVE-2026-115819 \
"
CVE_STATUS_STABLE_BACKPORTS[status] = "cpe-stable-backport: fix available in used git hash"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 03/21] sqlite3: Fix CVE-2026-119377
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 01/21] bison: Fix CVE-2026-56390 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 02/21] glibc: stable 2.43 branch updates to 124e9adcd4 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 04/21] sqlite3: fix CVE-2026-119373 Yoann Congal
` (17 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix series [1], [3], [5], and [7] for
the authorizer bypass. Commits [1] and [3] are dependent commits. Commit
[5] adds authorizer checks for RIGHT JOIN USING terms, and commit [7]
corrects the loop so every term is checked. The GitHub mirror commits
correspond to the SQLite Fossil check-ins shown in [2], [4], [6], and
[8], respectively.
[1] https://github.com/sqlite/sqlite/commit/c70fbd39f9c130bbe1cc45269c3b490dfdf7f259
[2] https://sqlite.org/src/info/625f78a630bb
[3] https://github.com/sqlite/sqlite/commit/ddea119f825bf07f145c55f623022286bc644664
[4] https://sqlite.org/src/info/4ef88a36f9d9
[5] https://github.com/sqlite/sqlite/commit/7ff247c5b9ead3ad8a69c26d3fd264878e127237
[6] https://sqlite.org/src/info/bbd69ce27462
[7] https://github.com/sqlite/sqlite/commit/5694c3bb2a6a40770ecd2f65910eea756734dfd8
[8] https://sqlite.org/src/info/2cb228776836
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119377
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../CVE-2026-119377-dependent_p1.patch | 86 +++++++++++++++++++
.../CVE-2026-119377-dependent_p2.patch | 59 +++++++++++++
.../sqlite/sqlite3/CVE-2026-119377_p1.patch | 52 +++++++++++
.../sqlite/sqlite3/CVE-2026-119377_p2.patch | 51 +++++++++++
meta/recipes-support/sqlite/sqlite3_3.51.3.bb | 4 +
5 files changed, 252 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch
new file mode 100644
index 00000000000..7fdcc9b99d6
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch
@@ -0,0 +1,86 @@
+From fcb432b9952e9ced22fbfaa1ea0bbc7f54c78214 Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Sat, 2 May 2026 17:30:33 +0000
+Subject: [PATCH] Minor optimization to the authorizer.
+
+FossilOrigin-Name: 625f78a630bbf897f945065f1b85a92fe26e426302c8f6edc4d26a817ff62358
+
+CVE: CVE-2026-119377
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/c70fbd39f9c130bbe1cc45269c3b490dfdf7f259]
+
+Backport Changes:
+- Applied the src/auth.c and src/resolve.c changes to sqlite3.c because
+ the Yocto sqlite-autoconf source uses the amalgamated SQLite layout.
+- Kept SQLITE_PRIVATE on sqlite3AuthCheck() to match the amalgamated
+ source.
+- Omitted manifest and manifest.uuid because they are repository
+ metadata and are not needed for this sqlite3.c backport.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 27 ++++++++++++++++++++++-----
+ 1 file changed, 22 insertions(+), 5 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 2f4b77429f..46dd437d82 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -109962,9 +109962,7 @@ lookupname_end:
+ if( cnt==1 ){
+ assert( pNC!=0 );
+ #ifndef SQLITE_OMIT_AUTHORIZATION
+- if( pParse->db->xAuth
+- && (pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER)
+- ){
++ if( db->xAuth && (pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER) ){
+ sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList);
+ }
+ #endif
+@@ -124299,8 +124297,14 @@ SQLITE_PRIVATE void sqlite3AuthRead(
+ ** either SQLITE_OK (zero) or SQLITE_IGNORE or SQLITE_DENY. If SQLITE_DENY
+ ** is returned, then the error count and error message in pParse are
+ ** modified appropriately.
++**
++** Divided into two routines. realAuthCheck() does the work. The
++** sqlite3AuthCheck() routine is usually a fast no-op but invokes
++** realAuthCheck() (and spends time doing some stack pushes and pops
++** as a result) in the uncommon case where an authorization check is
++** actually needed.
+ */
+-SQLITE_PRIVATE int sqlite3AuthCheck(
++static int SQLITE_NOINLINE realAuthCheck(
+ Parse *pParse,
+ int code,
+ const char *zArg1,
+@@ -124314,7 +124318,7 @@ SQLITE_PRIVATE int sqlite3AuthCheck(
+ ** or if the parser is being invoked from within sqlite3_declare_vtab.
+ */
+ assert( !IN_RENAME_OBJECT || db->xAuth==0 );
+- if( db->xAuth==0 || db->init.busy || IN_SPECIAL_PARSE ){
++ if( IN_SPECIAL_PARSE ){
+ return SQLITE_OK;
+ }
+
+@@ -124339,6 +124343,19 @@ SQLITE_PRIVATE int sqlite3AuthCheck(
+ }
+ return rc;
+ }
++SQLITE_PRIVATE int sqlite3AuthCheck(
++ Parse *pParse,
++ int code,
++ const char *zArg1,
++ const char *zArg2,
++ const char *zArg3
++){
++ if( pParse->db->xAuth!=0 && pParse->db->init.busy==0 ){
++ return realAuthCheck(pParse,code,zArg1,zArg2,zArg3);
++ }else{
++ return SQLITE_OK;
++ }
++}
+
+ /*
+ ** Push an authorization context. After this routine is called, the
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch
new file mode 100644
index 00000000000..e2f83209634
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch
@@ -0,0 +1,59 @@
+From e6920a57640e0c3d55c74a3dd850516f6a65d838 Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Mon, 1 Jun 2026 16:49:39 +0000
+Subject: [PATCH] Make sure the authenticator is called for columns that are
+ part of a USING in a FULL JOIN. [bugs:/info/2026-05-31T02:00:37Z|Bug
+ 2026-05-31T02:00:37Z].
+
+FossilOrigin-Name: 4ef88a36f9d9669b0d74c58f79ad497803885ff6078e5f9685f13c96eab397cc
+
+CVE: CVE-2026-119377
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/ddea119f825bf07f145c55f623022286bc644664]
+
+Backport Changes:
+- Applied the src/resolve.c change to sqlite3.c because this recipe
+ uses the amalgamated SQLite source.
+- Omitted manifest and manifest.uuid updates because they are Fossil
+ repository metadata and are not needed in this backport.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 15 ++++++++++++---
+ 1 file changed, 12 insertions(+), 3 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 46dd437d82..8370952d5a 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -109880,7 +109880,7 @@ static int lookupName(
+ ** cnt>1 means there were two or more matches.
+ **
+ ** cnt==0 is always an error. cnt>1 is often an error, but might
+- ** be multiple matches for a NATURAL LEFT JOIN or a LEFT JOIN USING.
++ ** be multiple matches for a NATURAL OUTER JOIN or a OUTER JOIN USING.
+ */
+ assert( pFJMatch==0 || cnt>0 );
+ assert( !ExprHasProperty(pExpr, EP_xIsSelect|EP_IntValue) );
+@@ -109962,8 +109962,17 @@ lookupname_end:
+ if( cnt==1 ){
+ assert( pNC!=0 );
+ #ifndef SQLITE_OMIT_AUTHORIZATION
+- if( db->xAuth && (pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER) ){
+- sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList);
++ if( db->xAuth ){
++ if( pFJMatch ){
++ assert( pExpr->op==TK_FUNCTION );
++ assert( sqlite3_stricmp(pExpr->u.zToken,"coalesce")==0 );
++ assert( pExpr->x.pList==pFJMatch );
++ assert( pFJMatch->nExpr>0 );
++ pExpr = pFJMatch->a[0].pExpr;
++ }
++ if( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ){
++ sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList);
++ }
+ }
+ #endif
+ /* Increment the nRef value on all name contexts from TopNC up to
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch
new file mode 100644
index 00000000000..1cecb494169
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch
@@ -0,0 +1,52 @@
+From aa67fa2ce1fa30fc1e13b169419569b487a4df22 Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Sun, 5 Jul 2026 16:06:33 +0000
+Subject: [PATCH] Be sure to invoke the authorizer callback on all terms of the
+ USING clause in a RIGHT JOIN. [bugs:/info/2026-07-05T08:15:45Z|Bug
+ 2026-07-05T08:15:45Z]
+
+FossilOrigin-Name: bbd69ce27462000873af053bfebdd305c53deac85c426b1e7dbd927b5f17d622
+
+CVE: CVE-2026-119377
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/7ff247c5b9ead3ad8a69c26d3fd264878e127237]
+
+Backport Changes:
+- Applied the src/resolve.c change in sqlite3.c because the Yocto
+ sqlite-autoconf source uses the amalgamated layout.
+- Omitted test/auth.test because the extracted recipe source lacks the
+ upstream Tcl test tree.
+- Omitted manifest and manifest.uuid because they are repository
+ metadata and are not needed in this source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 9 ++++++---
+ 1 file changed, 6 insertions(+), 3 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 8370952d5a..fc32ca3c8f 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -109964,13 +109964,16 @@ lookupname_end:
+ #ifndef SQLITE_OMIT_AUTHORIZATION
+ if( db->xAuth ){
+ if( pFJMatch ){
++ int ii;
+ assert( pExpr->op==TK_FUNCTION );
+ assert( sqlite3_stricmp(pExpr->u.zToken,"coalesce")==0 );
+ assert( pExpr->x.pList==pFJMatch );
+ assert( pFJMatch->nExpr>0 );
+- pExpr = pFJMatch->a[0].pExpr;
+- }
+- if( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ){
++ for(ii=0; ii<pFJMatch->nExpr; ii++){
++ assert( pFJMatch->a[0].pExpr->op==TK_COLUMN );
++ sqlite3AuthRead(pParse, pFJMatch->a[0].pExpr, pSchema, pNC->pSrcList);
++ }
++ }else if( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ){
+ sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList);
+ }
+ }
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch
new file mode 100644
index 00000000000..743e6ba8b18
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch
@@ -0,0 +1,51 @@
+From 23726411060f3440cdc3acae57d27e79d34bb116 Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Fri, 24 Jul 2026 14:53:59 +0000
+Subject: [PATCH] Fix a bug in the check-in [bbd69ce274620008] causing that
+ bug-fix check-in to fail to completely fix the original bug. This fix is in
+ response to the follow-up report at [bugs:/info/2026-07-24T02:52:08Z|Bug
+ 2026-07-24T02:52:08Z].
+
+FossilOrigin-Name: 2cb22877683680c1f89bcc9edb47bd1a4a8755d4a6b846a1a20136a657dacdcc
+
+CVE: CVE-2026-119377
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/5694c3bb2a6a40770ecd2f65910eea756734dfd8]
+
+Backport Changes:
+- Applied the src/resolve.c correction to sqlite3.c because the Yocto
+ recipe source uses the amalgamated SQLite layout.
+- Omitted test/auth.test because the extracted recipe source lacks the
+ upstream Tcl test tree.
+- Omitted manifest and manifest.uuid because they are Fossil
+ repository metadata and are not needed in the source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index fc32ca3c8f..bb908566d4 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -109964,14 +109964,13 @@ lookupname_end:
+ #ifndef SQLITE_OMIT_AUTHORIZATION
+ if( db->xAuth ){
+ if( pFJMatch ){
+- int ii;
+ assert( pExpr->op==TK_FUNCTION );
+ assert( sqlite3_stricmp(pExpr->u.zToken,"coalesce")==0 );
+ assert( pExpr->x.pList==pFJMatch );
+ assert( pFJMatch->nExpr>0 );
+- for(ii=0; ii<pFJMatch->nExpr; ii++){
+- assert( pFJMatch->a[0].pExpr->op==TK_COLUMN );
+- sqlite3AuthRead(pParse, pFJMatch->a[0].pExpr, pSchema, pNC->pSrcList);
++ for(i=0; i<pFJMatch->nExpr; i++){
++ assert( pFJMatch->a[i].pExpr->op==TK_COLUMN );
++ sqlite3AuthRead(pParse,pFJMatch->a[i].pExpr,pSchema,pNC->pSrcList);
+ }
+ }else if( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ){
+ sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList);
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
index 2b0a9c0e4d7..2f821769135 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
@@ -9,4 +9,8 @@ SRC_URI[sha256sum] = "81f5be397049b0cae1b167f2225af7646fc0f82e4a9b3c48c9ea3a533e
SRC_URI += "\
file://0001-Add-option-to-disable-zlib.patch \
file://CVE-2026-11822_CVE-2026-11824.patch \
+ file://CVE-2026-119377-dependent_p1.patch \
+ file://CVE-2026-119377-dependent_p2.patch \
+ file://CVE-2026-119377_p1.patch \
+ file://CVE-2026-119377_p2.patch \
"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 04/21] sqlite3: fix CVE-2026-119373
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (2 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 03/21] sqlite3: Fix CVE-2026-119377 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 05/21] sqlite3: fix CVE-2026-119374 Yoann Congal
` (16 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1], which prevents a buffer
overflow when merging FTS5 detail=none prefix lists with negative
docids. The GitHub mirror commit [1] corresponds to the SQLite Fossil
check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/e1c9934f9f11a499029abb020ea715a08970da80
[2] https://sqlite.org/src/info/a7f8c92f62
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119373
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119373.patch | 56 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.51.3.bb | 1 +
2 files changed, 57 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch
new file mode 100644
index 00000000000..6bf27f3a1f2
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch
@@ -0,0 +1,56 @@
+From ddb597d563f2b17e9f42911f78ef0573cae047ed Mon Sep 17 00:00:00 2001
+From: dan <Dan Kennedy>
+Date: Tue, 4 Aug 2026 11:04:17 +0000
+Subject: [PATCH] In fts5, account for the possibility of negative docids when
+ allocating a buffer to store the results of merging detail=none prefix lists.
+ Fix for report [bugs:/info/2026-08-04T08:49:27Z | 2026-08-04T08:49:27Z].
+
+FossilOrigin-Name: a7f8c92f623e9cbe8a61266d949916acc9e5110c94dff4aa6fd1ad2ea8a60d4e
+
+CVE: CVE-2026-119373
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/e1c9934f9f11a499029abb020ea715a08970da80]
+
+Backport Changes:
+- Applied the FTS5 fix from ext/fts5/fts5_index.c to sqlite3.c because
+ the recipe source uses the amalgamated SQLite layout.
+- Omitted ext/fts5/test/fts5prefix2.test because the extracted source
+ does not include SQLite's Tcl test tree.
+- Omitted manifest and manifest.uuid because they are Fossil
+ repository metadata and are not needed for this source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index bb908566d4..bfd285777d 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -253340,7 +253340,7 @@ static void fts5MergeRowidLists(
+ (void)nBuf;
+ memset(&out, 0, sizeof(out));
+ assert( nBuf==1 );
+- sqlite3Fts5BufferSize(&p->rc, &out, p1->n + p2->n);
++ sqlite3Fts5BufferSize(&p->rc, &out, p1->n + p2->n + 9);
+ if( p->rc ) return;
+
+ fts5NextRowid(p1, &i1, &iRowid1);
+@@ -253348,12 +253348,12 @@ static void fts5MergeRowidLists(
+ while( i1>=0 || i2>=0 ){
+ if( i1>=0 && (i2<0 || iRowid1<iRowid2) ){
+ assert( iOut==0 || iRowid1>iOut );
+- fts5BufferSafeAppendVarint(&out, iRowid1 - iOut);
++ fts5BufferSafeAppendVarint(&out, (u64)iRowid1 - (u64)iOut);
+ iOut = iRowid1;
+ fts5NextRowid(p1, &i1, &iRowid1);
+ }else{
+ assert( iOut==0 || iRowid2>iOut );
+- fts5BufferSafeAppendVarint(&out, iRowid2 - iOut);
++ fts5BufferSafeAppendVarint(&out, (u64)iRowid2 - (u64)iOut);
+ iOut = iRowid2;
+ if( i1>=0 && iRowid1==iRowid2 ){
+ fts5NextRowid(p1, &i1, &iRowid1);
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
index 2f821769135..52e7659a8ef 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
@@ -13,4 +13,5 @@ SRC_URI += "\
file://CVE-2026-119377-dependent_p2.patch \
file://CVE-2026-119377_p1.patch \
file://CVE-2026-119377_p2.patch \
+ file://CVE-2026-119373.patch \
"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 05/21] sqlite3: fix CVE-2026-119374
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (3 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 04/21] sqlite3: fix CVE-2026-119373 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 06/21] sqlite3: fix CVE-2026-119375 Yoann Congal
` (15 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1], which addresses an FTS5
secure-delete buffer overrun when handling a corrupted database.
The GitHub mirror commit [1] corresponds to the SQLite Fossil
check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/d9de6eedbe918c074c7556400fa21df5960704d9
[2] https://sqlite.org/src/info/9cd4f9e920
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119374
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119374.patch | 76 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.51.3.bb | 1 +
2 files changed, 77 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch
new file mode 100644
index 00000000000..e82f48951b8
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch
@@ -0,0 +1,76 @@
+From 260a971baff8140195c181b94ce2264efbb042b9 Mon Sep 17 00:00:00 2001
+From: dan <Dan Kennedy>
+Date: Tue, 11 Aug 2026 14:16:12 +0000
+Subject: [PATCH] Fix a problem in fts5 secure-delete code that could lead to a
+ buffer overrun when dealing with a strategically corrupted database. Problem
+ reported by YEONBA.
+
+FossilOrigin-Name: 9cd4f9e9205c5a5096388397a39349db9ff5377d19095c6b20388ff799969c31
+
+CVE: CVE-2026-119374
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/d9de6eedbe918c074c7556400fa21df5960704d9]
+
+Backport Changes:
+- Applied the fix from ext/fts5/fts5_index.c to sqlite3.c because the
+ recipe uses SQLite's amalgamated source.
+- Omitted ext/fts5/test/fts5corruptB.test because the extracted source
+ does not include the upstream Tcl test tree.
+- Omitted manifest and manifest.uuid because they are Fossil metadata
+ and are not needed for this source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 18 +++++++++++-------
+ 1 file changed, 11 insertions(+), 7 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index bfd285777d..1889632086 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -252752,32 +252752,36 @@ static void fts5DoSecureDelete(
+ if( p->rc==SQLITE_OK ){
+ const int nMove = nPg - iNextOff; /* Number of bytes to move */
+ int nShift = iNextOff - iOff; /* Distance to move them */
+-
++ int nNewPg = 0;
+ int iPrevKeyOut = 0;
+- int iKeyIn = 0;
++ i64 iKeyIn = 0;
+
+ memmove(&aPg[iOff], &aPg[iNextOff], nMove);
+ iPgIdx -= nShift;
+- nPg = iPgIdx;
++ nNewPg = iPgIdx;
+ fts5PutU16(&aPg[2], iPgIdx);
+
+ for(iIdx=0; iIdx<nIdx; /* no-op */){
+ u32 iVal = 0;
+ iIdx += fts5GetVarint32(&aIdx[iIdx], iVal);
+ iKeyIn += iVal;
++ if( iKeyIn>nPg ){
++ FTS5_CORRUPT_IDX(p);
++ break;
++ }
+ if( iKeyIn!=iDelKeyOff ){
+ int iKeyOut = (iKeyIn - (iKeyIn>iOff ? nShift : 0));
+- nPg += sqlite3Fts5PutVarint(&aPg[nPg], iKeyOut - iPrevKeyOut);
++ nNewPg += sqlite3Fts5PutVarint(&aPg[nNewPg], iKeyOut - iPrevKeyOut);
+ iPrevKeyOut = iKeyOut;
+ }
+ }
+
+- if( iPgIdx==nPg && nIdx>0 && pSeg->iLeafPgno!=1 ){
++ if( p->rc==SQLITE_OK && iPgIdx==nNewPg && nIdx>0 && pSeg->iLeafPgno!=1 ){
+ fts5SecureDeleteIdxEntry(p, iSegid, pSeg->iLeafPgno);
+ }
+
+- assert_nc( nPg>4 || fts5GetU16(aPg)==0 );
+- fts5DataWrite(p, FTS5_SEGMENT_ROWID(iSegid,pSeg->iLeafPgno), aPg, nPg);
++ assert_nc( nNewPg>4 || fts5GetU16(aPg)==0 );
++ fts5DataWrite(p, FTS5_SEGMENT_ROWID(iSegid,pSeg->iLeafPgno), aPg, nNewPg);
+ }
+ sqlite3_free(aIdx);
+ }
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
index 52e7659a8ef..f76ca8bd564 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
@@ -14,4 +14,5 @@ SRC_URI += "\
file://CVE-2026-119377_p1.patch \
file://CVE-2026-119377_p2.patch \
file://CVE-2026-119373.patch \
+ file://CVE-2026-119374.patch \
"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 06/21] sqlite3: fix CVE-2026-119375
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (4 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 05/21] sqlite3: fix CVE-2026-119374 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 07/21] sqlite3: fix CVE-2026-119379 Yoann Congal
` (14 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1], which fully initializes the
page read when the WAL and database page sizes differ, preventing
disclosure of uninitialized page data. The GitHub mirror commit [1]
corresponds to the SQLite Fossil check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/e5bf119821f25be1d7f10ef0a2edbe175289166e
[2] https://sqlite.org/src/info/f9b4ee369557c36c
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119375
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119375.patch | 47 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.51.3.bb | 1 +
2 files changed, 48 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch
new file mode 100644
index 00000000000..94bf2752a32
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch
@@ -0,0 +1,47 @@
+From 01d00d78bc2c756021a2f8f01733d58af7dec1ef Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Sun, 16 Aug 2026 10:49:39 +0000
+Subject: [PATCH] When reading a frame from a WAL file where the WAL pagesize
+ and the database pagesize disagree, be sure to fully initialize the page that
+ is read.
+
+FossilOrigin-Name: f9b4ee369557c36c606666bd7e6d8dc4685d87531993d3ce4e7a718aa814a5ac
+
+CVE: CVE-2026-119375
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/e5bf119821f25be1d7f10ef0a2edbe175289166e]
+
+Backport Changes:
+- Applied the src/wal.c change to sqlite3.c because the recipe source
+ uses the amalgamated SQLite layout.
+- Omitted manifest and manifest.uuid because they are Fossil
+ repository metadata and are not needed in this source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 1889632086..bcd317206b 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -70412,11 +70412,15 @@ SQLITE_PRIVATE int sqlite3WalReadFrame(
+ i64 iOffset;
+ sz = pWal->hdr.szPage;
+ sz = (sz&0xfe00) + ((sz&0x0001)<<16);
++ if( nOut>sz ){
++ memset(pOut+sz, 0, nOut-sz);
++ nOut = sz;
++ }
+ testcase( sz<=32768 );
+ testcase( sz>=65536 );
+ iOffset = walFrameOffset(iRead, sz) + WAL_FRAME_HDRSIZE;
+ /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL */
+- return sqlite3OsRead(pWal->pWalFd, pOut, (nOut>sz ? sz : nOut), iOffset);
++ return sqlite3OsRead(pWal->pWalFd, pOut, nOut, iOffset);
+ }
+
+ /*
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
index f76ca8bd564..79d12d4b039 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
@@ -15,4 +15,5 @@ SRC_URI += "\
file://CVE-2026-119377_p2.patch \
file://CVE-2026-119373.patch \
file://CVE-2026-119374.patch \
+ file://CVE-2026-119375.patch \
"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 07/21] sqlite3: fix CVE-2026-119379
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (5 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 06/21] sqlite3: fix CVE-2026-119375 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 08/21] sqlite3: fix CVE-2026-119372 Yoann Congal
` (13 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1], which prevents a buffer
overrun when applying a strategically corrupted changeset through
SQLite's session extension. The GitHub mirror commit [1] corresponds
to the SQLite Fossil check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/64459c87cc702d600704fb77ee40ca1782398a52
[2] https://sqlite.org/src/info/3f57024aecea0f3b
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119379
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119379.patch | 79 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.51.3.bb | 1 +
2 files changed, 80 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch
new file mode 100644
index 00000000000..3a882bd0a9e
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch
@@ -0,0 +1,79 @@
+From f613058ee3c084c6ec1b49e5b9874197df6e7304 Mon Sep 17 00:00:00 2001
+From: dan <Dan Kennedy>
+Date: Mon, 17 Aug 2026 11:31:59 +0000
+Subject: [PATCH] Avoid a buffer overrun when processing a strategically
+ corrupted changeset. Report [bugs:/info/2026-08-16T10:15:25Z |
+ 2026-08-16T10:15:25Z].
+
+FossilOrigin-Name: 3f57024aecea0f3b565ed823cf94b085031c481fd6323c1f2e4319a53500864f
+
+CVE: CVE-2026-119379
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/64459c87cc702d600704fb77ee40ca1782398a52]
+
+Backport Changes:
+- Applied the ext/session/sqlite3session.c fix to sqlite3.c because
+ the recipe source uses the amalgamated SQLite layout.
+- Omitted ext/session/sessioncorrupt.test because the extracted source
+ does not include the upstream test tree.
+- Omitted manifest and manifest.uuid because they are Fossil
+ metadata and are not required for this backport.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 9 ++++-----
+ 1 file changed, 4 insertions(+), 5 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index bcd317206b..83a018d3fc 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -236199,10 +236199,10 @@ static int sessionChangesetApply(
+ int schemaMismatch = 0;
+ int rc = SQLITE_OK; /* Return code */
+ const char *zTab = 0; /* Name of current table */
+- int nTab = 0; /* Result of sqlite3Strlen30(zTab) */
+ SessionApplyCtx sApply; /* changeset_apply() context object */
+ int bPatchset;
+ u64 savedFlag = db->flags & SQLITE_FkNoAction;
++ int bNew = 0; /* True for first entry of new table */
+
+ assert( xConflict!=0 );
+
+@@ -236223,15 +236223,16 @@ static int sessionChangesetApply(
+ if( rc==SQLITE_OK ){
+ rc = sqlite3_exec(db, "PRAGMA defer_foreign_keys = 1", 0, 0, 0);
+ }
+- while( rc==SQLITE_OK && SQLITE_ROW==sqlite3changeset_next(pIter) ){
++ while( rc==SQLITE_OK && SQLITE_ROW==sessionChangesetNext(pIter, 0, 0,&bNew) ){
+ int nCol;
+ int op;
+ const char *zNew;
+
+ sqlite3changeset_op(pIter, &zNew, &nCol, &op, 0);
+
+- if( zTab==0 || sqlite3_strnicmp(zNew, zTab, nTab+1) ){
++ if( bNew ){
+ u8 *abPK;
++ bNew = 0;
+
+ rc = sessionRetryConstraints(
+ db, pIter->bPatchset, zTab, &sApply, xConflict, pCtx
+@@ -236266,7 +236267,6 @@ static int sessionChangesetApply(
+ rc = SQLITE_NOMEM;
+ break;
+ }
+- nTab = (int)strlen(zTab);
+ sApply.azCol = (const char **)zTab;
+ }else{
+ int nMinCol = 0;
+@@ -236319,7 +236319,6 @@ static int sessionChangesetApply(
+ sApply.bStat1 = 0;
+ }
+ }
+- nTab = sqlite3Strlen30(zTab);
+ }
+ }
+
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
index 79d12d4b039..9dd182b168a 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
@@ -16,4 +16,5 @@ SRC_URI += "\
file://CVE-2026-119373.patch \
file://CVE-2026-119374.patch \
file://CVE-2026-119375.patch \
+ file://CVE-2026-119379.patch \
"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 08/21] sqlite3: fix CVE-2026-119372
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (6 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 07/21] sqlite3: fix CVE-2026-119379 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 09/21] sqlite3: fix CVE-2026-119378 Yoann Congal
` (12 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1], which prevents a use-after-free
in FTS3 snippet() processing. The GitHub mirror commit [1] corresponds
to the SQLite Fossil check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/a87bd2471a9c0606e78d3c3678bcd9cecaa0e731
[2] https://sqlite.org/src/info/e4635c41536a
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119372
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119372.patch | 56 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.51.3.bb | 1 +
2 files changed, 57 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch
new file mode 100644
index 00000000000..c05000cb491
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch
@@ -0,0 +1,56 @@
+From 52acd34ba6d51393d9f714b3e0c5ae7d805ddeae Mon Sep 17 00:00:00 2001
+From: dan <Dan Kennedy>
+Date: Mon, 17 Aug 2026 13:55:38 +0000
+Subject: [PATCH] Avoid a problem causing a use-after-free in the fts3
+ snippet() function. Report [bugs:/info/2026-08-17T09:18:24Z |
+ 2026-08-17T09:18:24Z].
+
+FossilOrigin-Name: e4635c41536a0b3620780c3f1c872de33121370bafb608fce9fe7e3113e2ae01
+
+CVE: CVE-2026-119372
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/a87bd2471a9c0606e78d3c3678bcd9cecaa0e731]
+
+Backport Changes:
+- Applied the ext/fts3/fts3_snippet.c fix to sqlite3.c because the
+ recipe source uses the amalgamated SQLite layout.
+- Omitted test/fts3snippet2.test because the extracted source does not
+ include the upstream Tcl test tree.
+- Omitted manifest and manifest.uuid because they are Fossil
+ repository metadata and are not needed for this source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 10 +++++++---
+ 1 file changed, 7 insertions(+), 3 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 83a018d3fc..cbad7b2ae5 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -208133,6 +208133,7 @@ static int fts3BestSnippet(
+ sqlite3_int64 nByte; /* Number of bytes of space to allocate */
+ int iBestScore = -1; /* Best snippet score found so far */
+ int i; /* Loop counter */
++ Fts3Expr *pExpr = pCsr->pExpr;
+
+ memset(&sIter, 0, sizeof(sIter));
+
+@@ -208161,9 +208162,12 @@ static int fts3BestSnippet(
+ sIter.nSnippet = nSnippet;
+ sIter.nPhrase = nList;
+ sIter.iCurrent = -1;
+- rc = sqlite3Fts3ExprIterate(
+- pCsr->pExpr, fts3SnippetFindPositions, (void*)&sIter
+- );
++ rc = sqlite3Fts3ExprIterate(pExpr, fts3SnippetFindPositions, (void*)&sIter);
++ if( rc==SQLITE_OK ){
++ /* Iterate through the expression twice, in case pointers garnered during
++ ** the first iteration are invalidated by a call to fts5EvalRestart(). */
++ rc = sqlite3Fts3ExprIterate(pExpr, fts3SnippetFindPositions, (void*)&sIter);
++ }
+ if( rc==SQLITE_OK ){
+
+ /* Set the *pmSeen output variable. */
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
index 9dd182b168a..c6a19525fa7 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
@@ -17,4 +17,5 @@ SRC_URI += "\
file://CVE-2026-119374.patch \
file://CVE-2026-119375.patch \
file://CVE-2026-119379.patch \
+ file://CVE-2026-119372.patch \
"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 09/21] sqlite3: fix CVE-2026-119378
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (7 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 08/21] sqlite3: fix CVE-2026-119372 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 10/21] sqlite3: fix CVE-2026-119376 Yoann Congal
` (11 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1], which prevents a use-after-free
in R-Tree when a manipulated shadow-table schema causes
sqlite3_last_insert_rowid() to return 0. The GitHub mirror commit [1]
corresponds to the SQLite Fossil check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/d21bd37c7cfc1b85b17a6703555f0926b6236e04
[2] https://sqlite.org/src/info/6a9e1415659f9e75
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119378
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119378.patch | 52 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.51.3.bb | 1 +
2 files changed, 53 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch
new file mode 100644
index 00000000000..5228e32cb65
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch
@@ -0,0 +1,52 @@
+From e92efe57e1f9cc51f7d819bb7fb05bff182b708b Mon Sep 17 00:00:00 2001
+From: dan <Dan Kennedy>
+Date: Thu, 24 Sep 2026 20:14:31 +0000
+Subject: [PATCH] Avoid a use-after-free problem in rtree triggered by an
+ attacker manipulating the shadow table schema to ensure
+ sqlite3_last_insert_rowid() returns 0 after certain INSERTs. Problem reported
+ by Claude and Ada Logics.
+
+FossilOrigin-Name: 6a9e1415659f9e75940b3c3a6f6e123f61c5e9e2a7a612693ee395d7b7567bef
+
+CVE: CVE-2026-119378
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/d21bd37c7cfc1b85b17a6703555f0926b6236e04]
+
+Backport Changes:
+- Applied the ext/rtree/rtree.c fix to sqlite3.c because the recipe
+ source uses the amalgamated SQLite layout.
+- Omitted ext/rtree/rtreeI.test because the extracted source does not
+ include the upstream test tree.
+- Omitted manifest and manifest.uuid because they are Fossil
+ repository metadata and are not needed for this source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 12 +++++++++++-
+ 1 file changed, 11 insertions(+), 1 deletion(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index cbad7b2ae5..45ade42b16 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -216677,7 +216677,17 @@ static int nodeWrite(Rtree *pRtree, RtreeNode *pNode){
+ sqlite3_bind_null(p, 2);
+ if( pNode->iNode==0 && rc==SQLITE_OK ){
+ pNode->iNode = sqlite3_last_insert_rowid(pRtree->db);
+- nodeHashInsert(pRtree, pNode);
++ if( pNode->iNode==0 ){
++ /* If the SQL statement has succeeded but sqlite3_last_insert_rowid()
++ ** returns 0, then the shadow table schema has been corrupted somehow
++ ** (e.g. the %_node table has been replaced by a WITHOUT ROWID table).
++ ** It would be dangerous to continue in this case as the hash table
++ ** implementation assumes iNode==0 means that the node is not part
++ ** of the hash table. */
++ rc = SQLITE_CORRUPT_VTAB;
++ }else{
++ nodeHashInsert(pRtree, pNode);
++ }
+ }
+ }
+ return rc;
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
index c6a19525fa7..7c8658a977c 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
@@ -18,4 +18,5 @@ SRC_URI += "\
file://CVE-2026-119375.patch \
file://CVE-2026-119379.patch \
file://CVE-2026-119372.patch \
+ file://CVE-2026-119378.patch \
"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 10/21] sqlite3: fix CVE-2026-119376
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (8 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 09/21] sqlite3: fix CVE-2026-119378 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 11/21] sqlite3: fix CVE-2026-119371 Yoann Congal
` (10 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1], which includes COLLATE
expressions in expression tree depth calculations and prevents bypass
of the expression depth limit. The GitHub mirror commit [1] corresponds
to the SQLite Fossil check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/d54522a5b832422ab893a1e9fa7a99ab314ea4e2
[2] https://sqlite.org/src/info/252c0b7bf5a727d2
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119376
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119376.patch | 75 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.51.3.bb | 1 +
2 files changed, 76 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch
new file mode 100644
index 00000000000..32060a54449
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch
@@ -0,0 +1,75 @@
+From 0e3ec7377ba0ef29b02e258e9fbb395d0d6dd431 Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Sun, 4 Oct 2026 21:54:17 +0000
+Subject: [PATCH] Fix expression tree depth calculations for COLLATE.
+ [bugs:/info/2026-10-04T04:50:56Z|Bug 2026-10-04T04:50:56Z]
+
+FossilOrigin-Name: 252c0b7bf5a727d29605672bb58e06c758173c276671df3e388a68294998b4d3
+
+CVE: CVE-2026-119376
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/d54522a5b832422ab893a1e9fa7a99ab314ea4e2]
+
+Backport Changes:
+- Ported the src/expr.c and src/sqliteInt.h changes into sqlite3.c
+ because the recipe source uses the amalgamated SQLite layout.
+- Omitted test/sqllimits1.test because the extracted source does not
+ include the upstream test tree.
+- Omitted manifest and manifest.uuid because they are Fossil
+ repository metadata and are not needed for this source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 16 +++++++++++-----
+ 1 file changed, 11 insertions(+), 5 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 45ade42b16..603ca28a27 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -21992,8 +21992,8 @@ SQLITE_PRIVATE void sqlite3SetTextEncoding(sqlite3 *db, u8);
+ SQLITE_PRIVATE CollSeq *sqlite3ExprCollSeq(Parse *pParse, const Expr *pExpr);
+ SQLITE_PRIVATE CollSeq *sqlite3ExprNNCollSeq(Parse *pParse, const Expr *pExpr);
+ SQLITE_PRIVATE int sqlite3ExprCollSeqMatch(Parse*,const Expr*,const Expr*);
+-SQLITE_PRIVATE Expr *sqlite3ExprAddCollateToken(const Parse *pParse, Expr*, const Token*, int);
+-SQLITE_PRIVATE Expr *sqlite3ExprAddCollateString(const Parse*,Expr*,const char*);
++SQLITE_PRIVATE Expr *sqlite3ExprAddCollateToken(Parse *pParse, Expr*, const Token*, int);
++SQLITE_PRIVATE Expr *sqlite3ExprAddCollateString(Parse*,Expr*,const char*);
+ SQLITE_PRIVATE Expr *sqlite3ExprSkipCollate(Expr*);
+ SQLITE_PRIVATE Expr *sqlite3ExprSkipCollateAndLikely(Expr*);
+ SQLITE_PRIVATE int sqlite3CheckCollSeq(Parse *, CollSeq *);
+@@ -111640,23 +111640,29 @@ SQLITE_PRIVATE int sqlite3ExprDataType(const Expr *pExpr){
+ ** and the pExpr parameter is returned unchanged.
+ */
+ SQLITE_PRIVATE Expr *sqlite3ExprAddCollateToken(
+- const Parse *pParse, /* Parsing context */
++ Parse *pParse, /* Parsing context */
+ Expr *pExpr, /* Add the "COLLATE" clause to this expression */
+ const Token *pCollName, /* Name of collating sequence */
+ int dequote /* True to dequote pCollName */
+ ){
+- if( pCollName->n>0 ){
++ if( pCollName->n>0 && pParse->nErr==0 ){
+ Expr *pNew = sqlite3ExprAlloc(pParse->db, TK_COLLATE, pCollName, dequote);
++ assert( pExpr!=0 );
+ if( pNew ){
+ pNew->pLeft = pExpr;
+ pNew->flags |= EP_Collate|EP_Skip;
++#if SQLITE_MAX_EXPR_DEPTH>0
++ pNew->nHeight = pExpr->nHeight+1;
++ sqlite3ExprCheckHeight(pParse, pNew->nHeight);
++ testcase( pParse->nErr>0 );
++#endif
+ pExpr = pNew;
+ }
+ }
+ return pExpr;
+ }
+ SQLITE_PRIVATE Expr *sqlite3ExprAddCollateString(
+- const Parse *pParse, /* Parsing context */
++ Parse *pParse, /* Parsing context */
+ Expr *pExpr, /* Add the "COLLATE" clause to this expression */
+ const char *zC /* The collating sequence name */
+ ){
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
index 7c8658a977c..c16576354a7 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
@@ -19,4 +19,5 @@ SRC_URI += "\
file://CVE-2026-119379.patch \
file://CVE-2026-119372.patch \
file://CVE-2026-119378.patch \
+ file://CVE-2026-119376.patch \
"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 11/21] sqlite3: fix CVE-2026-119371
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (9 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 10/21] sqlite3: fix CVE-2026-119376 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 12/21] sqlite3: fix CVE-2026-119591 Yoann Congal
` (9 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch series applies the upstream prerequisite [1] and CTE recursion
fix [3]. Commit [1] adds VIEW and subquery nesting tracking; commit [3]
uses that counter to limit recursive CTE depth. The GitHub commits [1]
and [3] correspond to SQLite Fossil check-ins [2] and [4], respectively.
[1] https://github.com/sqlite/sqlite/commit/9fb225190c3ac0e51f11a7fddab0d4cc960417ad
[2] https://sqlite.org/src/info/3f3fb9b638f59ad9
[3] https://github.com/sqlite/sqlite/commit/e6ff280c839fdfc7418fd5add12e8f32702a17fb
[4] https://sqlite.org/src/info/f54730871303e655
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119371
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite3/CVE-2026-119371-dependent.patch | 109 ++++++++++++++++++
.../sqlite/sqlite3/CVE-2026-119371.patch | 103 +++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.51.3.bb | 2 +
3 files changed, 214 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch
new file mode 100644
index 00000000000..21fed4b6f8b
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch
@@ -0,0 +1,109 @@
+From 15fc374428c9fa554b25e8f51ebb9b3d38107a00 Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Tue, 16 Jun 2026 13:43:08 +0000
+Subject: [PATCH] Limit VIEW recursion depth to SQLITE_LIMIT_EXPR_DEPTH to
+ prevent static overflow in malicious schemas with tens of thousands of levels
+ of recursive views. [bugs:/info/2026-06-16T04:21:51Z|Bug
+ 2026-06-16T04:21:51Z]
+
+FossilOrigin-Name: 3f3fb9b638f59ad982beafb7c117f24ddd3da612e62c862510805fa672ffae06
+
+CVE: CVE-2026-119371
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/9fb225190c3ac0e51f11a7fddab0d4cc960417ad]
+
+Backport Changes:
+- Ported src/select.c and src/sqliteInt.h code into the amalgamated
+ sqlite3.c source file.
+- Updated limit documentation in sqlite3.c and sqlite3.h.
+- Omitted test/view.test because the extracted source lacks the upstream
+ test tree.
+- Omitted manifest and manifest.uuid because they are Fossil metadata.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 16 ++++++++++++++--
+ sqlite3.h | 6 ++++--
+ 2 files changed, 18 insertions(+), 4 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 603ca28a27..87c568b41e 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -4655,7 +4655,8 @@ SQLITE_API int sqlite3_limit(sqlite3*, int id, int newVal);
+ ** or in an ORDER BY or GROUP BY clause.</dd>)^
+ **
+ ** [[SQLITE_LIMIT_EXPR_DEPTH]] ^(<dt>SQLITE_LIMIT_EXPR_DEPTH</dt>
+-** <dd>The maximum depth of the parse tree on any expression.</dd>)^
++** <dd>The maximum depth of the parse tree on any expression and
++** the maximum nesting depth for subqueries and VIEWs</dd>)^
+ **
+ ** [[SQLITE_LIMIT_COMPOUND_SELECT]] ^(<dt>SQLITE_LIMIT_COMPOUND_SELECT</dt>
+ ** <dd>The maximum number of terms in a compound SELECT statement.</dd>)^
+@@ -4682,7 +4683,8 @@ SQLITE_API int sqlite3_limit(sqlite3*, int id, int newVal);
+ ** <dd>The maximum index number of any [parameter] in an SQL statement.)^
+ **
+ ** [[SQLITE_LIMIT_TRIGGER_DEPTH]] ^(<dt>SQLITE_LIMIT_TRIGGER_DEPTH</dt>
+-** <dd>The maximum depth of recursion for triggers.</dd>)^
++** <dd>The maximum depth of recursion for triggers, and the maximum
++** nesting depth for separate triggers.</dd>)^
+ **
+ ** [[SQLITE_LIMIT_WORKER_THREADS]] ^(<dt>SQLITE_LIMIT_WORKER_THREADS</dt>
+ ** <dd>The maximum number of auxiliary worker threads that a single
+@@ -20531,6 +20533,7 @@ struct Parse {
+ int szOpAlloc; /* Bytes of memory space allocated for Vdbe.aOp[] */
+ int iSelfTab; /* Table associated with an index on expr, or negative
+ ** of the base register during check-constraint eval */
++ int nNestSel; /* Number of nested SELECT statements and/or VIEWs */
+ int nLabel; /* The *negative* of the number of labels used */
+ int nLabelAlloc; /* Number of slots in aLabel */
+ int *aLabel; /* Space to hold the labels */
+@@ -149283,6 +149286,13 @@ SQLITE_PRIVATE Table *sqlite3ResultSetOfSelect(Parse *pParse, Select *pSelect, c
+ sqlite3 *db = pParse->db;
+ u64 savedFlags;
+
++ pParse->nNestSel++;
++#if SQLITE_MAX_EXPR_DEPTH>0
++ if( pParse->nNestSel >= db->aLimit[SQLITE_LIMIT_EXPR_DEPTH] ){
++ sqlite3ErrorMsg(pParse, "VIEWs and/or subqueries nested too deep");
++ return 0;
++ }
++#endif
+ savedFlags = db->flags;
+ db->flags &= ~(u64)SQLITE_FullColNames;
+ db->flags |= SQLITE_ShortColNames;
+@@ -149304,6 +149314,8 @@ SQLITE_PRIVATE Table *sqlite3ResultSetOfSelect(Parse *pParse, Select *pSelect, c
+ sqlite3DeleteTable(db, pTab);
+ return 0;
+ }
++ pParse->nNestSel--;
++ assert( pParse->nNestSel>=0 );
+ return pTab;
+ }
+
+diff --git a/sqlite3.h b/sqlite3.h
+index 302f0f5b16..b34982a3e5 100644
+--- a/sqlite3.h
++++ b/sqlite3.h
+@@ -4334,7 +4334,8 @@ SQLITE_API int sqlite3_limit(sqlite3*, int id, int newVal);
+ ** or in an ORDER BY or GROUP BY clause.</dd>)^
+ **
+ ** [[SQLITE_LIMIT_EXPR_DEPTH]] ^(<dt>SQLITE_LIMIT_EXPR_DEPTH</dt>
+-** <dd>The maximum depth of the parse tree on any expression.</dd>)^
++** <dd>The maximum depth of the parse tree on any expression and
++** the maximum nesting depth for subqueries and VIEWs</dd>)^
+ **
+ ** [[SQLITE_LIMIT_COMPOUND_SELECT]] ^(<dt>SQLITE_LIMIT_COMPOUND_SELECT</dt>
+ ** <dd>The maximum number of terms in a compound SELECT statement.</dd>)^
+@@ -4361,7 +4362,8 @@ SQLITE_API int sqlite3_limit(sqlite3*, int id, int newVal);
+ ** <dd>The maximum index number of any [parameter] in an SQL statement.)^
+ **
+ ** [[SQLITE_LIMIT_TRIGGER_DEPTH]] ^(<dt>SQLITE_LIMIT_TRIGGER_DEPTH</dt>
+-** <dd>The maximum depth of recursion for triggers.</dd>)^
++** <dd>The maximum depth of recursion for triggers, and the maximum
++** nesting depth for separate triggers.</dd>)^
+ **
+ ** [[SQLITE_LIMIT_WORKER_THREADS]] ^(<dt>SQLITE_LIMIT_WORKER_THREADS</dt>
+ ** <dd>The maximum number of auxiliary worker threads that a single
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch
new file mode 100644
index 00000000000..d2d99cf8d84
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch
@@ -0,0 +1,103 @@
+From f6040218564d03a040d991179d1b3491f4e9a566 Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Mon, 5 Oct 2026 09:32:24 +0000
+Subject: [PATCH] Limit the depth of recursion for CTEs using
+ SQLITE_LIMIT_EXPR_DEPTH. [bugs:/info/2026-10-04T04:58:58Z|Bug
+ 2026-10-04T04:58:58Z].
+
+FossilOrigin-Name: f54730871303e655a70f3167ce1a39dcd4e53fcf017d225f429e2bb67ad96604
+
+CVE: CVE-2026-119371
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/e6ff280c839fdfc7418fd5add12e8f32702a17fb]
+
+Backport Changes:
+- Ported src/select.c changes into the amalgamated sqlite3.c file.
+- Omitted test/with2.test because the extracted source lacks the
+ upstream test tree.
+- Omitted manifest and manifest.uuid because they are Fossil metadata.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 36 ++++++++++++++++++++++++------------
+ 1 file changed, 24 insertions(+), 12 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 87c568b41e..19ab450812 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -149277,6 +149277,20 @@ SQLITE_PRIVATE void sqlite3SubqueryColumnTypes(
+ pTab->szTabRow = 1; /* Any non-zero value works */
+ }
+
++/*
++** Check the current subquery nesting depth. Return true and set an
++** error if it has gone too deep.
++*/
++static int checkSubqueryNestingDepth(Parse *pParse){
++#if SQLITE_MAX_EXPR_DEPTH>0
++ if( pParse->nNestSel >= pParse->db->aLimit[SQLITE_LIMIT_EXPR_DEPTH] ){
++ sqlite3ErrorMsg(pParse, "VIEWs and/or subqueries nested too deep");
++ return 1;
++ }
++#endif
++ return 0;
++}
++
+ /*
+ ** Given a SELECT statement, generate a Table structure that describes
+ ** the result set of that SELECT.
+@@ -149287,12 +149301,7 @@ SQLITE_PRIVATE Table *sqlite3ResultSetOfSelect(Parse *pParse, Select *pSelect, c
+ u64 savedFlags;
+
+ pParse->nNestSel++;
+-#if SQLITE_MAX_EXPR_DEPTH>0
+- if( pParse->nNestSel >= db->aLimit[SQLITE_LIMIT_EXPR_DEPTH] ){
+- sqlite3ErrorMsg(pParse, "VIEWs and/or subqueries nested too deep");
+- return 0;
+- }
+-#endif
++ if( checkSubqueryNestingDepth(pParse) ) return 0;
+ savedFlags = db->flags;
+ db->flags &= ~(u64)SQLITE_FullColNames;
+ db->flags |= SQLITE_ShortColNames;
+@@ -152617,14 +152626,13 @@ SQLITE_PRIVATE With *sqlite3WithPush(Parse *pParse, With *pWith, u8 bFree){
+ }
+
+ /*
+-** This function checks if argument pFrom refers to a CTE declared by
++** This function checks to see if argument pFrom refers to a CTE declared by
+ ** a WITH clause on the stack currently maintained by the parser (on the
+-** pParse->pWith linked list). And if currently processing a CTE
+-** CTE expression, through routine checks to see if the reference is
+-** a recursive reference to the CTE.
++** pParse->pWith linked list). And if currently processing a CTE expression,
++** it also checks to see if the reference is a recursive reference to the CTE.
+ **
+-** If pFrom matches a CTE according to either of these two above, pFrom->pSTab
+-** and other fields are populated accordingly.
++** If pFrom matches a CTE, pFrom->pSTab and other fields are populated
++** accordingly.
+ **
+ ** Return 0 if no match is found.
+ ** Return 1 if a match is found.
+@@ -152753,6 +152761,8 @@ static int resolveFromTermToCte(
+ pRecTerm = pRecTerm->pPrior;
+ }
+
++ pParse->nNestSel++;
++ if( checkSubqueryNestingDepth(pParse) ) return 2;
+ pCte->zCteErr = "circular reference: %s";
+ pSavedWith = pParse->pWith;
+ pParse->pWith = pWith;
+@@ -152777,6 +152787,8 @@ static int resolveFromTermToCte(
+ }
+ }
+ pParse->pWith = pWith;
++ pParse->nNestSel--;
++ assert( pParse->nNestSel>=0 );
+
+ for(pLeft=pSel; pLeft->pPrior; pLeft=pLeft->pPrior);
+ pEList = pLeft->pEList;
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
index c16576354a7..4073a48202b 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
@@ -20,4 +20,6 @@ SRC_URI += "\
file://CVE-2026-119372.patch \
file://CVE-2026-119378.patch \
file://CVE-2026-119376.patch \
+ file://CVE-2026-119371-dependent.patch \
+ file://CVE-2026-119371.patch \
"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 12/21] sqlite3: fix CVE-2026-119591
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (10 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 11/21] sqlite3: fix CVE-2026-119371 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 13/21] popt: correct CVE-2026-18739.patch metadata Yoann Congal
` (8 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1] for stack exhaustion in the
count-of-view optimization. The GitHub mirror commit [1] corresponds
to the SQLite Fossil check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2
[2] https://sqlite.org/src/info/ab621a3e11ee4acc
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119591
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119591.patch | 40 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.51.3.bb | 1 +
2 files changed, 41 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch
new file mode 100644
index 00000000000..3b616842fb4
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch
@@ -0,0 +1,40 @@
+From 0894e1c6c54cde37d822bd1cb367fd1ed2765732 Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Mon, 5 Oct 2026 12:18:23 +0000
+Subject: [PATCH] Prevent the expression generated by the count-of-view
+ optimization from getting too deep and causing a CPU stack overflow.
+ [bugs:/info/2026-10-04T05:34:47Z|Bug 2026-10-04T05:34:47Z]
+
+FossilOrigin-Name: ab621a3e11ee4accce14bf6c90a7cc273d9c25a7c3d9dd2466f2bdc2bbbf8084
+
+CVE: CVE-2026-119591
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2]
+
+Backport Changes:
+- Ported the src/select.c change into the amalgamated sqlite3.c.
+- Omitted manifest and manifest.uuid because they are Fossil metadata
+ and are not needed for this source layout.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 19ab450812..f3f10400c4 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -154164,6 +154164,10 @@ static int countOfViewOptimization(Parse *pParse, Select *p){
+ }else{
+ pExpr = sqlite3PExpr(pParse, TK_PLUS, pTerm, pExpr);
+ }
++ if( pParse->nErr ){
++ sqlite3ExprDelete(db, pExpr);
++ pExpr = 0;
++ }
+ pSub = pPrior;
+ }
+ p->pEList->a[0].pExpr = pExpr;
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
index 4073a48202b..6347fcd8d51 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.51.3.bb
@@ -22,4 +22,5 @@ SRC_URI += "\
file://CVE-2026-119376.patch \
file://CVE-2026-119371-dependent.patch \
file://CVE-2026-119371.patch \
+ file://CVE-2026-119591.patch \
"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 13/21] popt: correct CVE-2026-18739.patch metadata
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (11 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 12/21] sqlite3: fix CVE-2026-119591 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 14/21] popt: patch CVE-2026-18839 Yoann Congal
` (7 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
There was a typo in CVE tag in this patch.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 15c5b3e7ff3e62b1763dfffa127875145b74730b)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/recipes-support/popt/popt/CVE-2026-18739.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-support/popt/popt/CVE-2026-18739.patch b/meta/recipes-support/popt/popt/CVE-2026-18739.patch
index 0a1e8f35907..94366f63437 100644
--- a/meta/recipes-support/popt/popt/CVE-2026-18739.patch
+++ b/meta/recipes-support/popt/popt/CVE-2026-18739.patch
@@ -14,7 +14,7 @@ Co-authored-by: Panu Matilainen <pmatilai@redhat.com>
Fixes: CVE-2026-18739
-CVE: CVE-2026-18743
+CVE: CVE-2026-18739
Upstream-Status: Backport [https://github.com/rpm-software-management/popt/commit/14c42b415ba0c11640f7d4ee80920452d0287058]
Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 14/21] popt: patch CVE-2026-18839
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (12 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 13/21] popt: correct CVE-2026-18739.patch metadata Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 15/21] aspell: upgrade 0.60.8.2 -> 0.60.8.3 Yoann Congal
` (6 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
Pick commits from PR [1] referencing this CVE.
Modify the patch by converting cmake change to autotools.
[1] https://github.com/rpm-software-management/popt/pull/142
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a522f7f1d73e21745699243f6ca4fc89351fb91a)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../popt/popt/CVE-2026-18839-01.patch | 89 ++++
.../popt/popt/CVE-2026-18839-02.patch | 419 ++++++++++++++++++
meta/recipes-support/popt/popt_1.19.bb | 4 +-
3 files changed, 511 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-support/popt/popt/CVE-2026-18839-01.patch
create mode 100644 meta/recipes-support/popt/popt/CVE-2026-18839-02.patch
diff --git a/meta/recipes-support/popt/popt/CVE-2026-18839-01.patch b/meta/recipes-support/popt/popt/CVE-2026-18839-01.patch
new file mode 100644
index 00000000000..c3cb7e319c8
--- /dev/null
+++ b/meta/recipes-support/popt/popt/CVE-2026-18839-01.patch
@@ -0,0 +1,89 @@
+From 4f5a070cd98aade2767677de22661f4854d4a195 Mon Sep 17 00:00:00 2001
+From: Panu Matilainen <pmatilai@redhat.com>
+Date: Thu, 20 Aug 2026 13:46:32 +0300
+Subject: [PATCH] Bring in our own allocating printf() variants
+
+These are brought mostly as-is from rpm under a new POPT_ name, just
+with a slight change return an error on memory alloc failure whereas
+rpm exits on error.
+As the author of rvasprintf() and rasprintf() there, I'm at liberty to
+(re)license them under MIT as well.
+
+No functional changes here, just needed for sanity going forward.
+
+CVE: CVE-2026-18839
+Upstream-Status: Backport [https://github.com/rpm-software-management/popt/commit/4f5a070cd98aade2767677de22661f4854d4a195]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ src/poptint.c | 38 ++++++++++++++++++++++++++++++++++++++
+ src/poptint.h | 4 ++++
+ 2 files changed, 42 insertions(+)
+
+diff --git a/src/poptint.c b/src/poptint.c
+index b8dc90f..6b61ae3 100644
+--- a/src/poptint.c
++++ b/src/poptint.c
+@@ -192,3 +192,41 @@ POPT_fprintf (FILE * stream, const char * format, ...)
+ }
+
+ #endif /* !defined(POPT_fprintf) */
++
++int POPT_vasprintf(char **strp, const char *fmt, va_list ap)
++{
++ char * p = NULL;
++ va_list aq;
++
++ if (strp == NULL)
++ return -1;
++
++ va_copy(aq, ap);
++ int n = vsnprintf(NULL, 0, fmt, aq);
++ va_end(aq);
++
++ if (n >= 0) {
++ size_t nb = (size_t)n + 1;
++ if ((p = malloc(nb))) {
++ va_copy(aq, ap);
++ n = vsnprintf(p, nb, fmt, aq);
++ va_end(aq);
++ } else {
++ n = -1;
++ }
++ }
++ *strp = p;
++
++ return n;
++}
++
++int POPT_asprintf(char **strp, const char *fmt, ...)
++{
++ va_list ap;
++
++ va_start(ap, fmt);
++ int n = POPT_vasprintf(strp, fmt, ap);
++ va_end(ap);
++
++ return n;
++}
+diff --git a/src/poptint.h b/src/poptint.h
+index 910d6f5..d4127b3 100644
+--- a/src/poptint.h
++++ b/src/poptint.h
+@@ -10,6 +10,7 @@
+ #define H_POPTINT
+
+ #include <stdint.h>
++#include <stdarg.h>
+
+ /**
+ * Wrapper to free(3), hides const compilation noise, permit NULL, return NULL.
+@@ -136,6 +137,9 @@ const char *POPT_next_char (const char *str);
+
+ #endif
+
++int POPT_vasprintf(char **strp, const char *fmt, va_list ap);
++int POPT_asprintf(char **strp, const char *fmt, ...);
++
+ #if defined(ENABLE_NLS) && defined(HAVE_LIBINTL_H)
+ #include <libintl.h>
+ #endif
diff --git a/meta/recipes-support/popt/popt/CVE-2026-18839-02.patch b/meta/recipes-support/popt/popt/CVE-2026-18839-02.patch
new file mode 100644
index 00000000000..702403c2b3a
--- /dev/null
+++ b/meta/recipes-support/popt/popt/CVE-2026-18839-02.patch
@@ -0,0 +1,419 @@
+From af6f19e5968d48608a062d6d92d28b7fd248f8ea Mon Sep 17 00:00:00 2001
+From: Panu Matilainen <pmatilai@redhat.com>
+Date: Thu, 20 Aug 2026 14:28:11 +0300
+Subject: [PATCH] Fix a bucketful of buffer overflows in popt --help printing
+
+singleOptionDefaultValue() based the default value string output buffer
+size on the available line length, without any sort of bounds checking
+for most data. This was trivial to overflow with longer option names.
+
+There was also this baffling ellipsizing of long string arguments, done
+done based on the rather arbitrary buffer size instead of screen limits.
+Ellipsizing of long values might be totally reasonable but that belongs
+to the display code that does all manner of formatting too.
+
+Just use our newly introduced allocating sprintf() to get it right for
+good. Drop the line length argument entirely, it was only used for
+a bad estimation of the needed buffer size.
+
+At the other end, make sure the indent length stays below available
+columns to avoid the underflow from help printing.
+
+Annoyingly we need multiple different test programs for this because
+the various crashes are quite sensitive to the max length of a single
+option in the table. There are more broken cases than these, but we
+can't test everything and these cover the CVE-2026-18839 case.
+Update the ellipsis test a bit because it no longer makes sense.
+
+Note: this depends on the previous commit.
+
+Fixes: CVE-2026-18839
+
+CVE: CVE-2026-18839
+Upstream-Status: Backport [https://github.com/rpm-software-management/popt/commit/af6f19e5968d48608a062d6d92d28b7fd248f8ea]
+Convert cmake change to autotools.
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ src/popthelp.c | 55 ++++++++++++++++-------------------------------
+ tests/Makefile.am | 10 ++++++++-
+ tests/test1.c | 2 +-
+ tests/test4-1.c | 33 ++++++++++++++++++++++++++++
+ tests/test4-2.c | 33 ++++++++++++++++++++++++++++
+ tests/test4-3.c | 33 ++++++++++++++++++++++++++++
+ tests/test4-4.c | 33 ++++++++++++++++++++++++++++
+ tests/testit.sh | 36 +++++++++++++++++++++++++++++--
+ 8 files changed, 195 insertions(+), 40 deletions(-)
+ create mode 100644 tests/test4-1.c
+ create mode 100644 tests/test4-2.c
+ create mode 100644 tests/test4-3.c
+ create mode 100644 tests/test4-4.c
+
+diff --git a/src/popthelp.c b/src/popthelp.c
+index fa31901..3950975 100644
+--- a/src/popthelp.c
++++ b/src/popthelp.c
+@@ -197,79 +197,60 @@ getArgDescrip(const struct poptOption * opt,
+
+ /**
+ * Display default value for an option.
+- * @param lineLength display positions remaining
+ * @param opt option(s)
+ * @param translation_domain translation domain
+ * @return
+ */
+ static char *
+-singleOptionDefaultValue(size_t lineLength,
++singleOptionDefaultValue(
+ const struct poptOption * opt,
+ /* FIX: i18n macros disabled with lclint */
+ const char * translation_domain)
+ {
+ const char * defstr = D_(translation_domain, "default");
+- char * le = malloc(4*lineLength + 1);
+- char * l = le;
++ char * l = NULL;
+
+- if (le == NULL) return NULL; /* XXX can't happen */
+- *le = '\0';
+- *le++ = '(';
+- le = stpcpy(le, defstr);
+- *le++ = ':';
+- *le++ = ' ';
+ if (opt->arg) { /* XXX programmer error */
+ poptArg arg = { .ptr = opt->arg };
+ switch (poptArgType(opt)) {
+ case POPT_ARG_VAL:
+ case POPT_ARG_INT:
+- le += sprintf(le, "%d", arg.intp[0]);
++ POPT_asprintf(&l, "(%s: %d)", defstr, arg.intp[0]);
+ break;
+ case POPT_ARG_SHORT:
+- le += sprintf(le, "%hd", arg.shortp[0]);
++ POPT_asprintf(&l, "(%s: %hd)", defstr, arg.shortp[0]);
+ break;
+ case POPT_ARG_LONG:
+- le += sprintf(le, "%ld", arg.longp[0]);
++ POPT_asprintf(&l, "(%s: %ld)", defstr, arg.longp[0]);
+ break;
+ case POPT_ARG_LONGLONG:
+- le += sprintf(le, "%lld", arg.longlongp[0]);
++ POPT_asprintf(&l, "(%s: %lld)", defstr, arg.longlongp[0]);
+ break;
+ case POPT_ARG_FLOAT:
+ { double aDouble = (double) arg.floatp[0];
+- le += sprintf(le, "%g", aDouble);
++ POPT_asprintf(&l, "(%s: %g)", defstr, aDouble);
+ } break;
+ case POPT_ARG_DOUBLE:
+- le += sprintf(le, "%g", arg.doublep[0]);
++ POPT_asprintf(&l, "(%s: %g)", defstr, arg.doublep[0]);
+ break;
+ case POPT_ARG_MAINCALL:
+- le += sprintf(le, "%p", opt->arg);
++ POPT_asprintf(&l, "(%s: %p)", defstr, opt->arg);
+ break;
+ case POPT_ARG_ARGV:
+- le += sprintf(le, "%p", opt->arg);
++ POPT_asprintf(&l, "(%s: %p)", defstr, opt->arg);
+ break;
+ case POPT_ARG_STRING:
+- { const char * s = arg.argv[0];
+- if (s == NULL)
+- le = stpcpy(le, "null");
+- else {
+- size_t limit = 4*lineLength - (le - l) - sizeof("\"\")");
+- size_t slen;
+- *le++ = '"';
+- strncpy(le, s, limit); le[limit] = '\0'; le += (slen = strlen(le));
+- if (slen == limit && s[limit])
+- le[-1] = le[-2] = le[-3] = '.';
+- *le++ = '"';
+- }
+- } break;
++ if (arg.argv[0])
++ POPT_asprintf(&l, "(%s: \"%s\")", defstr, arg.argv[0]);
++ else
++ POPT_asprintf(&l, "(%s: %s)", defstr, "null");
++ break;
+ case POPT_ARG_NONE:
+ default:
+- l = _free(l);
+ return NULL;
+ break;
+ }
+ }
+- *le++ = ')';
+- *le = '\0';
+
+ return l;
+ }
+@@ -286,7 +267,9 @@ static void singleOptionHelp(FILE * fp, columns_t columns,
+ const char * translation_domain)
+ {
+ size_t maxLeftCol = columns->cur;
+- size_t indentLength = maxLeftCol + 5;
++ size_t indentLength = maxLeftCol + 5 < columns->max ?
++ maxLeftCol + 5 :
++ columns->max - (maxLeftCol % columns->max) - 1;
+ size_t lineLength = columns->max - indentLength;
+ const char * help = D_(translation_domain, opt->descrip);
+ const char * argDescrip = getArgDescrip(opt, translation_domain);
+@@ -347,7 +330,7 @@ static void singleOptionHelp(FILE * fp, columns_t columns,
+
+ /* Choose type of output */
+ if (F_ISSET(opt, SHOW_DEFAULT)) {
+- defs = singleOptionDefaultValue(lineLength, opt, translation_domain);
++ defs = singleOptionDefaultValue(opt, translation_domain);
+ if (defs) {
+ char * t = malloc((help ? strlen(help) : 0) +
+ strlen(defs) + sizeof(" "));
+diff --git a/tests/Makefile.am b/tests/Makefile.am
+index 99fbf64..dfc60e7 100644
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -11,7 +11,7 @@ EXTRA_DIST = testit.sh \
+
+ AM_CPPFLAGS = -I. -I$(top_srcdir)/src
+
+-noinst_PROGRAMS = test1 test2 tdict test3 tstuff
++noinst_PROGRAMS = test1 test2 tdict test3 tstuff test4-1 test4-2 test4-3 test4-4
+ tstuff_SOURCES = tstuff.c
+ tstuff_LDFLAGS =
+ tstuff_LDADD = $(top_builddir)/src/libpopt.la
+@@ -24,6 +24,14 @@ test2_LDADD = $(top_builddir)/src/libpopt.la
+ test3_SOURCES = test3.c
+ test3_LDFLAGS =
+ test3_LDADD = $(top_builddir)/src/libpopt.la
++test4_1_SOURCES = test4-1.c
++test4_1_LDADD = $(top_builddir)/src/libpopt.la
++test4_2_SOURCES = test4-2.c
++test4_2_LDADD = $(top_builddir)/src/libpopt.la
++test4_3_SOURCES = test4-3.c
++test4_3_LDADD = $(top_builddir)/src/libpopt.la
++test4_4_SOURCES = test4-4.c
++test4_4_LDADD = $(top_builddir)/src/libpopt.la
+ tdict_SOURCES = tdict.c
+ tdict_LDFLAGS =
+ tdict_LDADD = $(top_builddir)/src/libpopt.la
+diff --git a/tests/test1.c b/tests/test1.c
+index 7a3e663..3007f27 100644
+--- a/tests/test1.c
++++ b/tests/test1.c
+@@ -49,7 +49,7 @@ static char * oStr = (char *) -1;
+ static int singleDash = 0;
+
+ static const char * lStr =
+-"This tests default strings and exceeds the ... limit. "
++"This tests default strings and exceeds the former ... limit. "
+ "123456789+123456789+123456789+123456789+123456789+ "
+ "123456789+123456789+123456789+123456789+123456789+ "
+ "123456789+123456789+123456789+123456789+123456789+ "
+diff --git a/tests/test4-1.c b/tests/test4-1.c
+new file mode 100644
+index 0000000..2a0f094
+--- /dev/null
++++ b/tests/test4-1.c
+@@ -0,0 +1,33 @@
++#include <stdio.h>
++#include <popt.h>
++
++static char *arg2 = "meh";
++
++static struct poptOption options[] = {
++ { "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaargh",
++ '\0', POPT_ARG_STRING | POPT_ARGFLAG_SHOW_DEFAULT,
++ &arg2, 0, "Second", NULL },
++
++ POPT_AUTOALIAS
++ POPT_AUTOHELP
++ POPT_TABLEEND
++};
++
++int main(int argc, const char *argv[])
++{
++ poptContext optCon = poptGetContext("test4", argc, argv, options, 0);
++
++ poptReadDefaultConfig(optCon, 0);
++
++ int rc = poptGetNextOpt(optCon);
++
++ if (rc < -1) {
++ fprintf(stderr, "%s: bad argument %s: %s\n",
++ argv[0], poptBadOption(optCon, POPT_BADOPTION_NOALIAS),
++ poptStrerror(rc));
++ goto exit;
++ }
++
++exit:
++ poptFreeContext(optCon);
++}
+diff --git a/tests/test4-2.c b/tests/test4-2.c
+new file mode 100644
+index 0000000..f9cd13d
+--- /dev/null
++++ b/tests/test4-2.c
+@@ -0,0 +1,33 @@
++#include <stdio.h>
++#include <popt.h>
++
++static char *arg3 = NULL;
++
++static struct poptOption options[] = {
++ { "brrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgh",
++ '\0', POPT_ARG_STRING | POPT_ARGFLAG_SHOW_DEFAULT,
++ &arg3, 0, "Third", NULL },
++
++ POPT_AUTOALIAS
++ POPT_AUTOHELP
++ POPT_TABLEEND
++};
++
++int main(int argc, const char *argv[])
++{
++ poptContext optCon = poptGetContext("test4", argc, argv, options, 0);
++
++ poptReadDefaultConfig(optCon, 0);
++
++ int rc = poptGetNextOpt(optCon);
++
++ if (rc < -1) {
++ fprintf(stderr, "%s: bad argument %s: %s\n",
++ argv[0], poptBadOption(optCon, POPT_BADOPTION_NOALIAS),
++ poptStrerror(rc));
++ goto exit;
++ }
++
++exit:
++ poptFreeContext(optCon);
++}
+diff --git a/tests/test4-3.c b/tests/test4-3.c
+new file mode 100644
+index 0000000..a29f359
+--- /dev/null
++++ b/tests/test4-3.c
+@@ -0,0 +1,33 @@
++#include <stdio.h>
++#include <popt.h>
++
++static char *arg2 = NULL;
++
++static struct poptOption options[] = {
++ { "aarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrggggggh",
++ '\0', POPT_ARG_STRING,
++ &arg2, 0, "xxxxx", NULL },
++
++ POPT_AUTOALIAS
++ POPT_AUTOHELP
++ POPT_TABLEEND
++};
++
++int main(int argc, const char *argv[])
++{
++ poptContext optCon = poptGetContext("test4", argc, argv, options, 0);
++
++ poptReadDefaultConfig(optCon, 0);
++
++ int rc = poptGetNextOpt(optCon);
++
++ if (rc < -1) {
++ fprintf(stderr, "%s: bad argument %s: %s\n",
++ argv[0], poptBadOption(optCon, POPT_BADOPTION_NOALIAS),
++ poptStrerror(rc));
++ goto exit;
++ }
++
++exit:
++ poptFreeContext(optCon);
++}
+diff --git a/tests/test4-4.c b/tests/test4-4.c
+new file mode 100644
+index 0000000..b1b1322
+--- /dev/null
++++ b/tests/test4-4.c
+@@ -0,0 +1,33 @@
++#include <stdio.h>
++#include <popt.h>
++
++static char *arg2 = NULL;
++
++static struct poptOption options[] = {
++ { "aarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgggggghyyyyy",
++ '\0', POPT_ARG_STRING,
++ &arg2, 0, "xxxxx", NULL },
++
++ POPT_AUTOALIAS
++ POPT_AUTOHELP
++ POPT_TABLEEND
++};
++
++int main(int argc, const char *argv[])
++{
++ poptContext optCon = poptGetContext("test4", argc, argv, options, 0);
++
++ poptReadDefaultConfig(optCon, 0);
++
++ int rc = poptGetNextOpt(optCon);
++
++ if (rc < -1) {
++ fprintf(stderr, "%s: bad argument %s: %s\n",
++ argv[0], poptBadOption(optCon, POPT_BADOPTION_NOALIAS),
++ poptStrerror(rc));
++ goto exit;
++ }
++
++exit:
++ poptFreeContext(optCon);
++}
+diff --git a/tests/testit.sh b/tests/testit.sh
+index d26be3a..b8357c8 100755
+--- a/tests/testit.sh
++++ b/tests/testit.sh
+@@ -149,8 +149,8 @@ Usage: test1 [OPTION...]
+ --nstr=STRING POPT_ARG_STRING: (null) (default: null)
+ --lstr=STRING POPT_ARG_STRING: \"123456789...\" (default:
+ \"This tests default strings and exceeds the
+- ... limit.
+- 123456789+123456789+123456789+123456789+123456789+ 123456789+123456789+123456789+123456789+123456789+ 1234567...\")
++ former ... limit.
++ 123456789+123456789+123456789+123456789+123456789+ 123456789+123456789+123456789+123456789+123456789+ 123456789+123456789+123456789+123456789+123456789+ 123456789+123456789+123456789+123456789+123456789+ \")
+
+ arg for cb2
+ -c, --cb2=STRING Test argument callbacks
+@@ -183,5 +183,37 @@ run_diff test3 "test3 - 2" test3-data/02.input test3-data/02.answer
+ run_diff test3 "test3 - 3" test3-data/03.input test3-data/03.answer
+ run_diff test3 "test3 - 5" test3-data/05.input test3-data/05.answer
+
++run test4-1 "test 4-1 - 63" "\
++Usage: test4-1 [OPTION...]
++ --aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaargh=STRING Second (default: \"meh\")
++
++Help options:
++ -?, --help Show this help message
++ --usage Display brief usage message" --help
++
++run test4-2 "test 4-2 - 64" "\
++Usage: test4-2 [OPTION...]
++ --brrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgh=STRING Third (default: null)
++
++Help options:
++ -?, --help Show this help message
++ --usage Display brief usage message" --help
++
++run test4-3 "test 4-3 - 65" "\
++Usage: test4-3 [OPTION...]
++ --aarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrggggggh=STRING xxxxx
++
++Help options:
++ -?, --help Show this help message
++ --usage Display brief usage message" --help
++
++run test4-4 "test 4-4 - 66" "\
++Usage: test4-4 [OPTION...]
++ --aarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgggggghyyyyy=STRING xxxxx
++
++Help options:
++ -?, --help Show this help message
++ --usage Display brief usage message" --help
++
+ echo ""
+ echo "Passed."
diff --git a/meta/recipes-support/popt/popt_1.19.bb b/meta/recipes-support/popt/popt_1.19.bb
index 10c4b4b0af7..cd35ddcdc63 100644
--- a/meta/recipes-support/popt/popt_1.19.bb
+++ b/meta/recipes-support/popt/popt_1.19.bb
@@ -12,6 +12,8 @@ SRC_URI = "http://ftp.rpm.org/popt/releases/popt-1.x/${BP}.tar.gz \
file://run-ptest \
file://CVE-2026-18743.patch \
file://CVE-2026-18739.patch \
+ file://CVE-2026-18839-01.patch \
+ file://CVE-2026-18839-02.patch \
"
SRC_URI[sha256sum] = "c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9"
@@ -24,7 +26,7 @@ do_compile_ptest() {
}
do_install_ptest() {
- for f in test1 test2 tdict test3 tstuff testit.sh test-poptrc; do
+ for f in test1 test2 tdict test3 test4-1 test4-2 test4-3 test4-4 tstuff testit.sh test-poptrc; do
${B}/libtool --mode=install install ${B}/tests/$f ${D}/${PTEST_PATH}
done
}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 15/21] aspell: upgrade 0.60.8.2 -> 0.60.8.3
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (13 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 14/21] popt: patch CVE-2026-18839 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 16/21] libsndfile1: patch CVE-2024-50613 Yoann Congal
` (5 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Ankur Tyagi <ankur.tyagi85@gmail.com>
- Fix CVE-2026-75818, CVE-2026-75819, CVE-2026-75820 and CVE-2026-103658.
- Fix various other memory problems.
- Fix various typos in documentation.
- Remove unused MySpell example code.
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 05baab915b146a19776cd292962e2cf4edfc6f20)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../aspell/{aspell_0.60.8.2.bb => aspell_0.60.8.3.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/aspell/{aspell_0.60.8.2.bb => aspell_0.60.8.3.bb} (93%)
diff --git a/meta/recipes-support/aspell/aspell_0.60.8.2.bb b/meta/recipes-support/aspell/aspell_0.60.8.3.bb
similarity index 93%
rename from meta/recipes-support/aspell/aspell_0.60.8.2.bb
rename to meta/recipes-support/aspell/aspell_0.60.8.3.bb
index 5b4fab7c354..6ac547887b0 100644
--- a/meta/recipes-support/aspell/aspell_0.60.8.2.bb
+++ b/meta/recipes-support/aspell/aspell_0.60.8.3.bb
@@ -14,7 +14,7 @@ LICENSE = "LGPL-2.0-only | LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
SRC_URI = "${GNU_MIRROR}/aspell/aspell-${PV}.tar.gz"
-SRC_URI[sha256sum] = "57fe4863eae6048f72245a8575b44b718fb85ca14b9f8c0afc41b254dfd76919"
+SRC_URI[sha256sum] = "0534eae11132405120d11e46bf595bd5dd189bc124ba77a5dd6aae861b48a162"
PACKAGECONFIG ??= ""
PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 16/21] libsndfile1: patch CVE-2024-50613
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (14 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 15/21] aspell: upgrade 0.60.8.2 -> 0.60.8.3 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 17/21] libsndfile1: patch CVE-2025-52194 Yoann Congal
` (4 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
Pick patch from [1] which linked this CVE.
[1] https://github.com/libsndfile/libsndfile/pull/1198
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e56fdd1720050fbd2107ff48bb8d24e24dff72b9)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../libsndfile1/CVE-2024-50613.patch | 348 ++++++++++++++++++
.../libsndfile/libsndfile1_1.2.2.bb | 1 +
2 files changed, 349 insertions(+)
create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch
new file mode 100644
index 00000000000..9b7302b2316
--- /dev/null
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch
@@ -0,0 +1,348 @@
+From ecbccc2f23de6cefd2d97842fc0333bb742a0625 Mon Sep 17 00:00:00 2001
+From: Capsize Security <contact@capsize.online>
+Date: Mon, 26 Oct 2026 17:28:12 -0600
+Subject: [PATCH] mpeg: sanitize float/double input to LAME ieee entry points
+
+Crafted files can deliver NaNs, infinities, or huge finite values through sf_writef_float / sf_writef_double into the MP3 encoder. Passing those straight to LAME trips assertions inside LAME (psymodel.c: calc_energy: `el >= 0') and aborts the host application.
+
+Clamp encoder input to the [-1, 1] range LAME's ieee_float / ieee_double entry points document ("data must be scaled to +/- 1 full scale", lame/lame.h); non-finite samples become silence. All four float/double x mono/stereo paths funnel through the sanitizing normalize_float / normalize_double helpers, including the non-normalized paths via a 1/0x8000 pre-scale (the stereo path already did this). The mono non-normalized path previously used lame_encode_buffer_float; routing it through the scaled ieee_float entry instead changes its gain by ~0.003% (1 part in 32768).
+
+Note: clamping to +/-1 intentionally changes output for valid slightly-over-full-scale input (e.g. a constant 2.0), which LAME's ieee entries never accepted in-contract; in-range audio passes through unchanged.
+
+CVE-2024-50613 Issue: https://github.com/libsndfile/libsndfile/issues/1034
+
+Signed-off-by: Capsize Security <contact@capsize.online>
+
+CVE: CVE-2024-50613
+Upstream-Status: Backport [https://github.com/libsndfile/libsndfile/commit/ecbccc2f23de6cefd2d97842fc0333bb742a0625]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ src/mpeg_l3_encode.c | 91 ++++++++++++++++++-------
+ tests/mpeg_test.c | 158 +++++++++++++++++++++++++++++++++++++++++++
+ 2 files changed, 226 insertions(+), 23 deletions(-)
+
+diff --git a/src/mpeg_l3_encode.c b/src/mpeg_l3_encode.c
+index aba22394..c712e6e7 100644
+--- a/src/mpeg_l3_encode.c
++++ b/src/mpeg_l3_encode.c
+@@ -596,22 +596,77 @@ mpeg_l3_encode_write_int_stereo (SF_PRIVATE *psf, const int *ptr, sf_count_t len
+ }
+
+
++/* LAME's ieee_float / ieee_double entry points require input samples in the
++** range [-1.0, +1.0] ("data must be scaled to +/- 1 full scale", lame/lame.h).
++** Crafted input files can deliver NaNs, infinities, or huge finite values
++** through the public sf_writef_float / sf_writef_double API ; passing those
++** straight to LAME trips assertions inside LAME (psymodel.c : calc_energy :
++** `el >= 0') and aborts the host application (CVE-2024-50613,
++** https://github.com/libsndfile/libsndfile/issues/1034). Clamp here so the
++** encoder only ever sees in-contract input. Samples already in range pass
++** through unchanged.
++*/
++
++static inline float
++sanitize_float_sample (float x)
++{ if (!isfinite (x))
++ return 0.0f ;
++ if (x > 1.0f)
++ return 1.0f ;
++ if (x < -1.0f)
++ return -1.0f ;
++ return x ;
++} /* sanitize_float_sample */
++
++static inline double
++sanitize_double_sample (double x)
++{ if (!isfinite (x))
++ return 0.0 ;
++ if (x > 1.0)
++ return 1.0 ;
++ if (x < -1.0)
++ return -1.0 ;
++ return x ;
++} /* sanitize_double_sample */
++
++static inline void
++normalize_float (float *dest, const float *src, sf_count_t count, float norm_fact)
++{ while (--count >= 0)
++ dest [count] = sanitize_float_sample (src [count] * norm_fact) ;
++} /* normalize_float */
++
++static inline void
++normalize_double (double *dest, const double *src, sf_count_t count, double norm_fact)
++{ while (--count >= 0)
++ dest [count] = sanitize_double_sample (src [count] * norm_fact) ;
++} /* normalize_double */
++
++
+ static sf_count_t
+ mpeg_l3_encode_write_float_mono (SF_PRIVATE *psf, const float *ptr, sf_count_t len)
+-{ MPEG_L3_ENC_PRIVATE *pmpeg = (MPEG_L3_ENC_PRIVATE*) psf->codec_data ;
++{ BUF_UNION ubuf ;
++ MPEG_L3_ENC_PRIVATE *pmpeg = (MPEG_L3_ENC_PRIVATE*) psf->codec_data ;
+ sf_count_t total = 0 ;
+ int nbytes, writecount, writen ;
+
+ if ((psf->error = mpeg_l3_encoder_construct (psf)))
+ return 0 ;
+
++ const sf_count_t max_samples = SF_MIN (ARRAY_LEN (ubuf.fbuf), pmpeg->frame_samples) ;
+ while (len)
+- { writecount = SF_MIN (len, (sf_count_t) pmpeg->frame_samples) ;
++ { writecount = SF_MIN (len, max_samples) ;
+
+ if (psf->norm_float)
+- nbytes = lame_encode_buffer_ieee_float (pmpeg->lamef, ptr + total, NULL, writecount, pmpeg->block, pmpeg->block_len) ;
++ { normalize_float (ubuf.fbuf, ptr + total, writecount, 1.0f) ;
++ nbytes = lame_encode_buffer_ieee_float (pmpeg->lamef, ubuf.fbuf, NULL, writecount, pmpeg->block, pmpeg->block_len) ;
++ }
+ else
+- nbytes = lame_encode_buffer_float (pmpeg->lamef, ptr + total, NULL, writecount, pmpeg->block, pmpeg->block_len) ;
++ { /* Lame lacks a non-normalized mono float write, so scale to
++ ** ieee full scale here, mirroring the stereo path below.
++ */
++ normalize_float (ubuf.fbuf, ptr + total, writecount, 1.0 / (float) 0x8000) ;
++ nbytes = lame_encode_buffer_ieee_float (pmpeg->lamef, ubuf.fbuf, NULL, writecount, pmpeg->block, pmpeg->block_len) ;
++ }
+ if (nbytes < 0)
+ { psf_log_printf (psf, "lame_encode_buffer returned %d\n", nbytes) ;
+ break ;
+@@ -632,14 +687,6 @@ mpeg_l3_encode_write_float_mono (SF_PRIVATE *psf, const float *ptr, sf_count_t l
+ }
+
+
+-static inline void
+-normalize_float (float *dest, const float *src, sf_count_t count, float norm_fact)
+-{ while (--count >= 0)
+- { dest [count] = src [count] * norm_fact ;
+- } ;
+-}
+-
+-
+ static sf_count_t
+ mpeg_l3_encode_write_float_stereo (SF_PRIVATE *psf, const float *ptr, sf_count_t len)
+ { BUF_UNION ubuf ;
+@@ -655,7 +702,9 @@ mpeg_l3_encode_write_float_stereo (SF_PRIVATE *psf, const float *ptr, sf_count_t
+ { writecount = SF_MIN (len, max_samples) ;
+
+ if (psf->norm_float)
+- nbytes = lame_encode_buffer_interleaved_ieee_float (pmpeg->lamef, ptr + total, writecount / 2, pmpeg->block, pmpeg->block_len) ;
++ { normalize_float (ubuf.fbuf, ptr + total, writecount, 1.0f) ;
++ nbytes = lame_encode_buffer_interleaved_ieee_float (pmpeg->lamef, ubuf.fbuf, writecount / 2, pmpeg->block, pmpeg->block_len) ;
++ }
+ else
+ { /* Lame lacks a non-normalized interleaved float write. Bummer. */
+ normalize_float (ubuf.fbuf, ptr + total, writecount, 1.0 / (float) 0x8000) ;
+@@ -682,14 +731,6 @@ mpeg_l3_encode_write_float_stereo (SF_PRIVATE *psf, const float *ptr, sf_count_t
+ }
+
+
+-static inline void
+-normalize_double (double *dest, const double *src, sf_count_t count, double norm_fact)
+-{ while (--count >= 0)
+- { dest [count] = src [count] * norm_fact ;
+- } ;
+-}
+-
+-
+ static sf_count_t
+ mpeg_l3_encode_write_double_mono (SF_PRIVATE *psf, const double *ptr, sf_count_t len)
+ { BUF_UNION ubuf ;
+@@ -705,7 +746,9 @@ mpeg_l3_encode_write_double_mono (SF_PRIVATE *psf, const double *ptr, sf_count_t
+ { writecount = SF_MIN (len, max_samples) ;
+
+ if (psf->norm_double)
+- nbytes = lame_encode_buffer_ieee_double (pmpeg->lamef, ptr + total, NULL, writecount, pmpeg->block, pmpeg->block_len) ;
++ { normalize_double (ubuf.dbuf, ptr + total, writecount, 1.0) ;
++ nbytes = lame_encode_buffer_ieee_double (pmpeg->lamef, ubuf.dbuf, NULL, writecount, pmpeg->block, pmpeg->block_len) ;
++ }
+ else
+ { /* Lame lacks non-normalized double writing */
+ normalize_double (ubuf.dbuf, ptr + total, writecount, 1.0 / (double) 0x8000) ;
+@@ -747,7 +790,9 @@ mpeg_l3_encode_write_double_stereo (SF_PRIVATE *psf, const double *ptr, sf_count
+ { writecount = SF_MIN (len, max_samples) ;
+
+ if (psf->norm_double)
+- nbytes = lame_encode_buffer_interleaved_ieee_double (pmpeg->lamef, ptr + total, writecount / 2, pmpeg->block, pmpeg->block_len) ;
++ { normalize_double (ubuf.dbuf, ptr + total, writecount, 1.0) ;
++ nbytes = lame_encode_buffer_interleaved_ieee_double (pmpeg->lamef, ubuf.dbuf, writecount / 2, pmpeg->block, pmpeg->block_len) ;
++ }
+ else
+ { /* Lame lacks interleaved non-normalized double writing */
+ normalize_double (ubuf.dbuf, ptr + total, writecount, 1.0 / (double) 0x8000) ;
+diff --git a/tests/mpeg_test.c b/tests/mpeg_test.c
+index fe7f53d1..87adf2ac 100644
+--- a/tests/mpeg_test.c
++++ b/tests/mpeg_test.c
+@@ -258,6 +258,162 @@ mpeg_double_test (void)
+ unlink (filename) ;
+ } /* mpeg_double_test */
+
++/* Hostile input (CVE-2024-50613) : NaNs, infinities and huge finite values
++** must be sanitized before reaching LAME, not abort it. One helper covers
++** mono and stereo (channels == 2 exercises the interleaved_ieee paths),
++** with float normalization on or off.
++*/
++static void
++mpeg_hostile_float_case (int channels, int normalize)
++{ char filename [64] ;
++ SNDFILE * file ;
++ SF_INFO sfinfo ;
++ unsigned k ;
++ size_t samples = ARRAY_LEN (data_out.f) ;
++
++ snprintf (filename, sizeof (filename), "mpeg_hostile_float_%dch_%s.mp3",
++ channels, normalize ? "norm" : "nonorm") ;
++
++ print_test_name ("mpeg_hostile_float_test", filename) ;
++
++ if (channels == 1)
++ { gen_windowed_sine_float (data_out.f, samples, normalize ? 0.95 : 1.0 * 0x7F00) ;
++ }
++ else
++ { /* Interleave two mirrored channels. data_in.f is scratch here ;
++ ** it is overwritten by the read-back below.
++ */
++ gen_windowed_sine_float (data_in.f, samples / 2, normalize ? 0.95 : 1.0 * 0x7F00) ;
++ for (k = 0 ; k < samples / 2 ; k++)
++ { data_out.f [2 * k] = data_in.f [k] ;
++ data_out.f [2 * k + 1] = data_in.f [samples / 2 - k - 1] ;
++ } ;
++ } ;
++
++ data_out.f [0] = NAN ;
++ data_out.f [1] = INFINITY ;
++ data_out.f [2] = -INFINITY ;
++ data_out.f [3] = 1.0e30f ;
++ data_out.f [4] = -1.0e30f ;
++
++ memset (&sfinfo, 0, sizeof (sfinfo)) ;
++
++ /* Set up output file type. */
++ sfinfo.format = SF_FORMAT_MPEG | SF_FORMAT_MPEG_LAYER_III ;
++ sfinfo.channels = channels ;
++ sfinfo.samplerate = SAMPLE_RATE ;
++
++ /* Write the output file. */
++ file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ;
++ if (! normalize)
++ sf_command (file, SFC_SET_NORM_FLOAT, NULL, SF_FALSE) ;
++ test_write_float_or_die (file, 0, data_out.f, samples, __LINE__) ;
++ sf_close (file) ;
++
++ /* Read the file in again. */
++ memset (&sfinfo, 0, sizeof (sfinfo)) ;
++
++ file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
++ test_read_float_or_die (file, 0, data_in.f, samples, __LINE__) ;
++ sf_close (file) ;
++
++ /* The decoded output must be finite and within a sane range. MP3 is
++ ** lossy so decoded peaks may overshoot the encoder's +/-1 clamp
++ ** slightly ; a generous bound catches scale errors without
++ ** false-failing on codec noise. Explicit checks (no assert.h
++ ** dependency) match the surrounding test style.
++ */
++ for (k = 0 ; k < samples ; k++)
++ if (! isfinite (data_in.f [k]) || fabsf (data_in.f [k]) > 4.0f)
++ { printf ("\n\nLine %d : bad decoded sample at index %u : %f.\n\n", __LINE__, k, data_in.f [k]) ;
++ exit (1) ;
++ } ;
++
++ puts ("ok") ;
++
++ unlink (filename) ;
++} /* mpeg_hostile_float_case */
++
++static void
++mpeg_hostile_float_test (void)
++{ mpeg_hostile_float_case (1, SF_TRUE) ;
++ mpeg_hostile_float_case (1, SF_FALSE) ;
++ mpeg_hostile_float_case (2, SF_TRUE) ;
++ mpeg_hostile_float_case (2, SF_FALSE) ;
++} /* mpeg_hostile_float_test */
++
++/* Double-precision version of the helper above. */
++static void
++mpeg_hostile_double_case (int channels, int normalize)
++{ char filename [64] ;
++ SNDFILE * file ;
++ SF_INFO sfinfo ;
++ unsigned k ;
++ size_t samples = ARRAY_LEN (data_out.d) ;
++
++ snprintf (filename, sizeof (filename), "mpeg_hostile_double_%dch_%s.mp3",
++ channels, normalize ? "norm" : "nonorm") ;
++
++ print_test_name ("mpeg_hostile_double_test", filename) ;
++
++ if (channels == 1)
++ { gen_windowed_sine_double (data_out.d, samples, normalize ? 0.95 : 1.0 * 0x7F00) ;
++ }
++ else
++ { gen_windowed_sine_double (data_in.d, samples / 2, normalize ? 0.95 : 1.0 * 0x7F00) ;
++ for (k = 0 ; k < samples / 2 ; k++)
++ { data_out.d [2 * k] = data_in.d [k] ;
++ data_out.d [2 * k + 1] = data_in.d [samples / 2 - k - 1] ;
++ } ;
++ } ;
++
++ data_out.d [0] = NAN ;
++ data_out.d [1] = INFINITY ;
++ data_out.d [2] = -INFINITY ;
++ data_out.d [3] = 1.0e300 ;
++ data_out.d [4] = -1.0e300 ;
++
++ memset (&sfinfo, 0, sizeof (sfinfo)) ;
++
++ /* Set up output file type. */
++ sfinfo.format = SF_FORMAT_MPEG | SF_FORMAT_MPEG_LAYER_III ;
++ sfinfo.channels = channels ;
++ sfinfo.samplerate = SAMPLE_RATE ;
++
++ /* Write the output file. */
++ file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ;
++ if (! normalize)
++ sf_command (file, SFC_SET_NORM_DOUBLE, NULL, SF_FALSE) ;
++ test_write_double_or_die (file, 0, data_out.d, samples, __LINE__) ;
++ sf_close (file) ;
++
++ /* Read the file in again. */
++ memset (&sfinfo, 0, sizeof (sfinfo)) ;
++
++ file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
++ test_read_double_or_die (file, 0, data_in.d, samples, __LINE__) ;
++ sf_close (file) ;
++
++ /* Finite and sane, as above. */
++ for (k = 0 ; k < samples ; k++)
++ if (! isfinite (data_in.d [k]) || fabs (data_in.d [k]) > 4.0)
++ { printf ("\n\nLine %d : bad decoded sample at index %u : %f.\n\n", __LINE__, k, data_in.d [k]) ;
++ exit (1) ;
++ } ;
++
++ puts ("ok") ;
++
++ unlink (filename) ;
++} /* mpeg_hostile_double_case */
++
++static void
++mpeg_hostile_double_test (void)
++{ mpeg_hostile_double_case (1, SF_TRUE) ;
++ mpeg_hostile_double_case (1, SF_FALSE) ;
++ mpeg_hostile_double_case (2, SF_TRUE) ;
++ mpeg_hostile_double_case (2, SF_FALSE) ;
++} /* mpeg_hostile_double_test */
++
+
+ static void
+ mpeg_stereo_seek_test (const char * filename, int format)
+@@ -338,6 +494,8 @@ main (void)
+ mpeg_int_test () ;
+ mpeg_float_test () ;
+ mpeg_double_test () ;
++ mpeg_hostile_float_test () ;
++ mpeg_hostile_double_test () ;
+
+ mpeg_stereo_seek_test ("mpeg_seek.mp3", SF_FORMAT_MPEG | SF_FORMAT_MPEG_LAYER_III) ;
+ }
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
index a26f57d7f42..fb466190ab4 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
@@ -15,6 +15,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \
file://CVE-2025-56226-01.patch \
file://CVE-2025-56226-02.patch \
file://CVE-2026-37555.patch \
+ file://CVE-2024-50613.patch \
"
GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 17/21] libsndfile1: patch CVE-2025-52194
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (15 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 16/21] libsndfile1: patch CVE-2024-50613 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 18/21] libsndfile1: patch CVE-2026-109828 Yoann Congal
` (3 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
Pick patch references by [1] references in CVE report.
[1] https://github.com/libsndfile/libsndfile/issues/1082#issuecomment-6442050313
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc20c00e9261011c175d4bb92c99f02b5773b419)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../libsndfile1/CVE-2025-52194.patch | 27 +++++++++++++++++++
.../libsndfile/libsndfile1_1.2.2.bb | 1 +
2 files changed, 28 insertions(+)
create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch
new file mode 100644
index 00000000000..ec5da0b731e
--- /dev/null
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch
@@ -0,0 +1,27 @@
+From 7ff854d1e0bd9a751a9ff52ed980c62afced91fe Mon Sep 17 00:00:00 2001
+From: Saddam <saddamr3e@gmail.com>
+Date: Tue, 21 Jul 2026 20:49:11 +0530
+Subject: [PATCH] ircam: use psf_lrintf when reading samplerate
+
+The IRCAM header sample rate is a float read straight from the file. (int) samplerate is undefined when the value is out of int range or non-finite; psf_lrintf matches mat4/mat5 which convert a file sample rate the same way.
+
+CVE: CVE-2025-52194
+Upstream-Status: Backport [https://github.com/libsndfile/libsndfile/commit/7ff854d1e0bd9a751a9ff52ed980c62afced91fe]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ src/ircam.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/ircam.c b/src/ircam.c
+index 3d73ba44..d0780d8a 100644
+--- a/src/ircam.c
++++ b/src/ircam.c
+@@ -161,7 +161,7 @@ ircam_read_header (SF_PRIVATE *psf)
+
+ psf_log_printf (psf, "marker: 0x%X\n", marker) ;
+
+- psf->sf.samplerate = (int) samplerate ;
++ psf->sf.samplerate = psf_lrintf (samplerate) ;
+
+ psf_log_printf (psf, " Sample Rate : %d\n"
+ " Channels : %d\n"
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
index fb466190ab4..2c3e28dc1c8 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
@@ -16,6 +16,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \
file://CVE-2025-56226-02.patch \
file://CVE-2026-37555.patch \
file://CVE-2024-50613.patch \
+ file://CVE-2025-52194.patch \
"
GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 18/21] libsndfile1: patch CVE-2026-109828
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (16 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 17/21] libsndfile1: patch CVE-2025-52194 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 19/21] speex: patch CVE-2026-116741 Yoann Congal
` (2 subsequent siblings)
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
Pick patch from [1] which clsed [2] linked from [3].
Also pick a refactoring commit which is required for a clean
cherry-pick.
[1] https://github.com/libsndfile/libsndfile/pull/1170
[2] https://github.com/libsndfile/libsndfile/issues/1169
[3] https://nvd.nist.gov/vuln/detail/cve-2026-109828
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6c80a8917e6c815cea297d2aa6c7d715f07c57d9)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../libsndfile1/CVE-2026-109828-01.patch | 234 ++++++++++++++++++
.../libsndfile1/CVE-2026-109828-02.patch | 26 ++
.../libsndfile/libsndfile1_1.2.2.bb | 2 +
3 files changed, 262 insertions(+)
create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch
create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch
new file mode 100644
index 00000000000..61acc37c2dc
--- /dev/null
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch
@@ -0,0 +1,234 @@
+From 59babedce8fa8eb1000ecb3c87a5dd4a1190ad9e Mon Sep 17 00:00:00 2001
+From: iceray-Li <108821718+iceray00@users.noreply.github.com>
+Date: Tue, 22 Sep 2026 06:05:03 +0000
+Subject: [PATCH] aiff, wav, wavlike: index the cue array through a pointer
+
+The cue array of an SF_CUES struct is allocated with room for the actual cue
+count (SF_CUES_VAR_SIZE()), but the public SF_CUES type declares it with a
+fixed length of 100 (SF_CUES_VAR (100)). Compilers therefore assume that
+cue_points [] holds 100 elements, and UBSan's array-bounds check flags every
+access beyond that even though the allocation is larger:
+
+ src/aiff.c:823:8: runtime error: index 100 out of bounds for type 'SF_CUE_POINT [100]'
+ src/aiff.c:943:38: runtime error: index 100 out of bounds for type 'SF_CUE_POINT [100]'
+ src/wav.c:524:8: runtime error: index 100 out of bounds for type 'SF_CUE_POINT [100]'
+
+The declared bound is also the reason the CVE-2022-33064 report (issue #832)
+is still open. The accesses themselves are inside the allocation: the cue
+count is capped at 2500 by wav.c and aiff.c, psf_cues_alloc() reserves
+cue_count * sizeof (SF_CUE_POINT) bytes, and the same inputs are clean under
+ASan, so no validation of the file can make the diagnostic disappear.
+
+Add psf_cues_points(), which hands out the first element of the array as an
+ordinary pointer, and use it at every place that subscripts cue_points [].
+The layout of the public SF_CUES struct, the API it exposes and the file
+handling are unchanged.
+
+Tested with ossfuzz/sndfile_fuzzer and ossfuzz/sndfile_alt_fuzzer built with
+-fsanitize=address,undefined: the crafted AIFF and WAV inputs abort in
+src/aiff.c and src/wav.c before the change and are clean after it.
+
+CVE: CVE-2026-109828
+Upstream-Status: Backport [https://github.com/libsndfile/libsndfile/commit/59babedce8fa8eb1000ecb3c87a5dd4a1190ad9e]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ src/aiff.c | 36 ++++++++++++++++++++----------------
+ src/common.h | 10 ++++++++++
+ src/wav.c | 23 +++++++++++++----------
+ src/wavlike.c | 5 +++--
+ 4 files changed, 46 insertions(+), 28 deletions(-)
+
+diff --git a/src/aiff.c b/src/aiff.c
+index e36b21e0..39c3221d 100644
+--- a/src/aiff.c
++++ b/src/aiff.c
+@@ -403,6 +403,7 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt)
+ int k, found_chunk = 0, done = 0, error = 0 ;
+ char *cptr ;
+ int instr_found = 0, mark_found = 0 ;
++ SF_CUE_POINT *cue_points = NULL ;
+
+ if (psf->filelength > 0xFFFFFFFFLL)
+ psf_log_printf (psf, "Warning : filelength > 0xffffffff. This is bad!!!!\n") ;
+@@ -813,6 +814,8 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt)
+ if ((psf->cues = psf_cues_alloc (mark_count)) == NULL)
+ return SFE_MALLOC_FAILED ;
+
++ cue_points = psf_cues_points (psf->cues) ;
++
+ for (n = 0 ; n < mark_count && bytesread < chunk_size ; n++)
+ { uint32_t pstr_len ;
+ uint8_t ch ;
+@@ -820,12 +823,12 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt)
+ bytesread += psf_binheader_readf (psf, "E241", &mark_id, &position, &ch) ;
+ psf_log_printf (psf, " Mark ID : %u\n Position : %u\n", mark_id, position) ;
+
+- psf->cues->cue_points [n].indx = mark_id ;
+- psf->cues->cue_points [n].position = 0 ;
+- psf->cues->cue_points [n].fcc_chunk = MAKE_MARKER ('d', 'a', 't', 'a') ; /* always data */
+- psf->cues->cue_points [n].chunk_start = 0 ;
+- psf->cues->cue_points [n].block_start = 0 ;
+- psf->cues->cue_points [n].sample_offset = position ;
++ cue_points [n].indx = mark_id ;
++ cue_points [n].position = 0 ;
++ cue_points [n].fcc_chunk = MAKE_MARKER ('d', 'a', 't', 'a') ; /* always data */
++ cue_points [n].chunk_start = 0 ;
++ cue_points [n].block_start = 0 ;
++ cue_points [n].sample_offset = position ;
+
+ pstr_len = (ch & 1) ? ch : ch + 1 ;
+
+@@ -841,7 +844,7 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt)
+
+ psf_log_printf (psf, " Name : %s\n", ubuf.scbuf) ;
+
+- psf_strlcpy (psf->cues->cue_points [n].name, sizeof (psf->cues->cue_points [n].name), ubuf.cbuf) ;
++ psf_strlcpy (cue_points [n].name, sizeof (cue_points [n].name), ubuf.cbuf) ;
+
+ paiff->markstr [n].markerID = mark_id ;
+ paiff->markstr [n].position = position ;
+@@ -940,14 +943,14 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt)
+
+ for (j = 0 ; j < psf->cues->cue_count - (uint32_t) (psf->instrument->loop_count * 2) ; j ++)
+ { /* This simply copies the information in cues above loop positions and writes it at current count instead */
+- psf->cues->cue_points [j].indx = psf->cues->cue_points [j + psf->instrument->loop_count * 2].indx ;
+- psf->cues->cue_points [j].position = psf->cues->cue_points [j + psf->instrument->loop_count * 2].position ;
+- psf->cues->cue_points [j].fcc_chunk = psf->cues->cue_points [j + psf->instrument->loop_count * 2].fcc_chunk ;
+- psf->cues->cue_points [j].chunk_start = psf->cues->cue_points [j + psf->instrument->loop_count * 2].chunk_start ;
+- psf->cues->cue_points [j].block_start = psf->cues->cue_points [j + psf->instrument->loop_count * 2].block_start ;
+- psf->cues->cue_points [j].sample_offset = psf->cues->cue_points [j + psf->instrument->loop_count * 2].sample_offset ;
++ cue_points [j].indx = cue_points [j + psf->instrument->loop_count * 2].indx ;
++ cue_points [j].position = cue_points [j + psf->instrument->loop_count * 2].position ;
++ cue_points [j].fcc_chunk = cue_points [j + psf->instrument->loop_count * 2].fcc_chunk ;
++ cue_points [j].chunk_start = cue_points [j + psf->instrument->loop_count * 2].chunk_start ;
++ cue_points [j].block_start = cue_points [j + psf->instrument->loop_count * 2].block_start ;
++ cue_points [j].sample_offset = cue_points [j + psf->instrument->loop_count * 2].sample_offset ;
+ for (str_index = 0 ; str_index < 256 ; str_index++)
+- psf->cues->cue_points [j].name [str_index] = psf->cues->cue_points [j + psf->instrument->loop_count * 2].name [str_index] ;
++ cue_points [j].name [str_index] = cue_points [j + psf->instrument->loop_count * 2].name [str_index] ;
+ } ;
+ psf->cues->cue_count -= psf->instrument->loop_count * 2 ;
+ } else
+@@ -1461,10 +1464,11 @@ aiff_write_header (SF_PRIVATE *psf, int calc_length)
+ { /* There are cues but no loops */
+ uint32_t idx ;
+ int totalStringLength = 0, stringLength ;
++ SF_CUE_POINT *cue_points = psf_cues_points (psf->cues) ;
+
+ /* Here we count how many bytes will the pascal strings need */
+ for (idx = 0 ; idx < psf->cues->cue_count ; idx++)
+- { stringLength = strlen (psf->cues->cue_points [idx].name) + 1 ; /* We'll count the first byte also of every pascal string */
++ { stringLength = strlen (cue_points [idx].name) + 1 ; /* We'll count the first byte also of every pascal string */
+ totalStringLength += stringLength + (stringLength % 2 == 0 ? 0 : 1) ;
+ } ;
+
+@@ -1472,7 +1476,7 @@ aiff_write_header (SF_PRIVATE *psf, int calc_length)
+ BHWm (MARK_MARKER), BHW4 (2 + psf->cues->cue_count * (2 + 4) + totalStringLength), BHW2 (psf->cues->cue_count)) ;
+
+ for (idx = 0 ; idx < psf->cues->cue_count ; idx++)
+- psf_binheader_writef (psf, "E24p", BHW2 (psf->cues->cue_points [idx].indx), BHW4 (psf->cues->cue_points [idx].sample_offset), BHWp (psf->cues->cue_points [idx].name)) ;
++ psf_binheader_writef (psf, "E24p", BHW2 (cue_points [idx].indx), BHW4 (cue_points [idx].sample_offset), BHWp (cue_points [idx].name)) ;
+ } ;
+
+ if (psf->strings.flags & SF_STR_LOCATE_START)
+diff --git a/src/common.h b/src/common.h
+index 01f6ae09..ee6844b8 100644
+--- a/src/common.h
++++ b/src/common.h
+@@ -989,6 +989,16 @@ SF_CUES * psf_cues_dup (const void * ptr, size_t datasize) ;
+ SF_CUES * psf_cues_alloc (uint32_t cue_count) ;
+ void psf_get_cues (SF_PRIVATE * psf, void * data, size_t datasize) ;
+
++/* The cue array is allocated with room for the actual cue count (see
++** psf_cues_alloc()), but the public SF_CUES type declares it with a fixed
++** length of 100. Index it through a pointer so that compilers do not flag
++** accesses to the longer, correctly allocated array (issue #832).
++*/
++static inline SF_CUE_POINT *
++psf_cues_points (SF_CUES *cues)
++{ return cues->cue_points ;
++} /* psf_cues_points */
++
+ SF_INSTRUMENT * psf_instrument_alloc (void) ;
+
+ void psf_sanitize_string (char * cptr, int len) ;
+diff --git a/src/wav.c b/src/wav.c
+index 80dda4e1..f206bc34 100644
+--- a/src/wav.c
++++ b/src/wav.c
+@@ -484,6 +484,7 @@ wav_read_header (SF_PRIVATE *psf, int *blockalign, int *framesperblock)
+
+ { uint32_t thisread, bytesread, cue_count, position, offset ;
+ int id, chunk_id, chunk_start, block_start, cue_index ;
++ SF_CUE_POINT *cue_points ;
+
+ bytesread = psf_binheader_readf (psf, "4", &cue_count) ;
+ psf_log_printf (psf, "%M : %u\n", marker, chunk_size) ;
+@@ -504,6 +505,7 @@ wav_read_header (SF_PRIVATE *psf, int *blockalign, int *framesperblock)
+ if ((psf->cues = psf_cues_alloc (cue_count)) == NULL)
+ return SFE_MALLOC_FAILED ;
+
++ cue_points = psf_cues_points (psf->cues) ;
+ cue_index = 0 ;
+
+ while (cue_count)
+@@ -521,13 +523,13 @@ wav_read_header (SF_PRIVATE *psf, int *blockalign, int *framesperblock)
+ else if (cue_index == 10)
+ psf_log_printf (psf, " (Skipping)\n") ;
+
+- psf->cues->cue_points [cue_index].indx = id ;
+- psf->cues->cue_points [cue_index].position = position ;
+- psf->cues->cue_points [cue_index].fcc_chunk = chunk_id ;
+- psf->cues->cue_points [cue_index].chunk_start = chunk_start ;
+- psf->cues->cue_points [cue_index].block_start = block_start ;
+- psf->cues->cue_points [cue_index].sample_offset = offset ;
+- psf->cues->cue_points [cue_index].name [0] = '\0' ;
++ cue_points [cue_index].indx = id ;
++ cue_points [cue_index].position = position ;
++ cue_points [cue_index].fcc_chunk = chunk_id ;
++ cue_points [cue_index].chunk_start = chunk_start ;
++ cue_points [cue_index].block_start = block_start ;
++ cue_points [cue_index].sample_offset = offset ;
++ cue_points [cue_index].name [0] = '\0' ;
+ cue_count -- ;
+ cue_index ++ ;
+ } ;
+@@ -1210,13 +1212,14 @@ wav_write_header (SF_PRIVATE *psf, int calc_length)
+
+ if (psf->cues != NULL)
+ { uint32_t k ;
++ SF_CUE_POINT *cue_points = psf_cues_points (psf->cues) ;
+
+ psf_binheader_writef (psf, "em44", BHWm (cue_MARKER), BHW4 (4 + psf->cues->cue_count * 6 * 4), BHW4 (psf->cues->cue_count)) ;
+
+ for (k = 0 ; k < psf->cues->cue_count ; k++)
+- psf_binheader_writef (psf, "e44m444", BHW4 (psf->cues->cue_points [k].indx), BHW4 (psf->cues->cue_points [k].position),
+- BHWm (psf->cues->cue_points [k].fcc_chunk), BHW4 (psf->cues->cue_points [k].chunk_start),
+- BHW4 (psf->cues->cue_points [k].block_start), BHW4 (psf->cues->cue_points [k].sample_offset)) ;
++ psf_binheader_writef (psf, "e44m444", BHW4 (cue_points [k].indx), BHW4 (cue_points [k].position),
++ BHWm (cue_points [k].fcc_chunk), BHW4 (cue_points [k].chunk_start),
++ BHW4 (cue_points [k].block_start), BHW4 (cue_points [k].sample_offset)) ;
+ } ;
+
+ if (psf->instrument != NULL)
+diff --git a/src/wavlike.c b/src/wavlike.c
+index 05691323..0c3577a8 100644
+--- a/src/wavlike.c
++++ b/src/wavlike.c
+@@ -1060,13 +1060,14 @@ wavlike_subchunk_parse (SF_PRIVATE *psf, int chunk, uint32_t chunk_length)
+
+ if (psf->cues)
+ { unsigned int i = 0 ;
++ SF_CUE_POINT *cue_points = psf_cues_points (psf->cues) ;
+
+ /* find id to store label */
+- while (i < psf->cues->cue_count && psf->cues->cue_points [i].indx != mark_id)
++ while (i < psf->cues->cue_count && cue_points [i].indx != mark_id)
+ i++ ;
+
+ if (i < psf->cues->cue_count)
+- memcpy (psf->cues->cue_points [i].name, buffer, sizeof (psf->cues->cue_points [i].name)) ;
++ memcpy (cue_points [i].name, buffer, sizeof (cue_points [i].name)) ;
+ } ;
+ } ;
+ break ;
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch
new file mode 100644
index 00000000000..dab12f04ace
--- /dev/null
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch
@@ -0,0 +1,26 @@
+From 1ccd2a18826722c3aa9ed54122ebff20e3b92b10 Mon Sep 17 00:00:00 2001
+From: Ilias Aberkane <user.name>
+Date: Fri, 25 Sep 2026 13:38:54 +0200
+Subject: [PATCH] wavlike: copy only the labl bytes actually read into cue
+ names
+
+CVE: CVE-2026-109828
+Upstream-Status: Backport [https://github.com/libsndfile/libsndfile/commit/1ccd2a18826722c3aa9ed54122ebff20e3b92b10]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ src/wavlike.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/wavlike.c b/src/wavlike.c
+index 0c3577a8..9d99b74a 100644
+--- a/src/wavlike.c
++++ b/src/wavlike.c
+@@ -1067,7 +1067,7 @@ wavlike_subchunk_parse (SF_PRIVATE *psf, int chunk, uint32_t chunk_length)
+ i++ ;
+
+ if (i < psf->cues->cue_count)
+- memcpy (cue_points [i].name, buffer, sizeof (cue_points [i].name)) ;
++ psf_strlcpy (cue_points [i].name, sizeof (cue_points [i].name), buffer) ;
+ } ;
+ } ;
+ break ;
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
index 2c3e28dc1c8..75242c34050 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
@@ -17,6 +17,8 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \
file://CVE-2026-37555.patch \
file://CVE-2024-50613.patch \
file://CVE-2025-52194.patch \
+ file://CVE-2026-109828-01.patch \
+ file://CVE-2026-109828-02.patch \
"
GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 19/21] speex: patch CVE-2026-116741
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (17 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 18/21] libsndfile1: patch CVE-2026-109828 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 20/21] tzdata/tzcode-native: upgrade 2026e -> 2026f Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 21/21] python3-certifi: correct license to MPL-2.0 Yoann Congal
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
Pick patch from [1] linked from CVE report.
[1] https://gitlab.xiph.org/xiph/speex/-/merge_requests/32
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit acdf6b0bfcf0a2c3b858ccf2f1b385afd5b13574)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../speex/speex/CVE-2026-116741.patch | 29 +++++++++++++++++++
meta/recipes-multimedia/speex/speex_1.2.1.bb | 5 +++-
2 files changed, 33 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch
diff --git a/meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch b/meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch
new file mode 100644
index 00000000000..4d71f7fa82c
--- /dev/null
+++ b/meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch
@@ -0,0 +1,29 @@
+From 09b569d1b437e5edccf3406a38714ad795e46d38 Mon Sep 17 00:00:00 2001
+From: Tristan Matthews <tmatth@videolan.org>
+Date: Thu, 22 Oct 2026 09:00:44 -0400
+Subject: [PATCH] bits: fix OOB write in read_whole_bytes for non-owned buffers
+
+Fixes https://github.com/xiph/speex/issues/42
+
+Reported by HaiND (Nguyen Dinh Hai), Post and Telecommunication Institute of Technology, github.com/Haind03.
+
+CVE: CVE-2026-116741
+Upstream-Status: Backport [https://gitlab.xiph.org/xiph/speex/-/commit/09b569d1b437e5edccf3406a38714ad795e46d38]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ libspeex/bits.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libspeex/bits.c b/libspeex/bits.c
+index 4f457af..c5546e8 100644
+--- 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;
+ }
+ }
+
diff --git a/meta/recipes-multimedia/speex/speex_1.2.1.bb b/meta/recipes-multimedia/speex/speex_1.2.1.bb
index c40198fa8f3..2a174db0aa4 100644
--- a/meta/recipes-multimedia/speex/speex_1.2.1.bb
+++ b/meta/recipes-multimedia/speex/speex_1.2.1.bb
@@ -8,7 +8,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eff3f76350f52a99a3df5eec6b79c02a \
"
DEPENDS = "libogg speexdsp"
-SRC_URI = "http://downloads.xiph.org/releases/speex/speex-${PV}.tar.gz"
+SRC_URI = " \
+ http://downloads.xiph.org/releases/speex/speex-${PV}.tar.gz \
+ file://CVE-2026-116741.patch \
+"
UPSTREAM_CHECK_REGEX = "speex-(?P<pver>\d+(\.\d+)+)\.tar"
SRC_URI[sha256sum] = "4b44d4f2b38a370a2d98a78329fefc56a0cf93d1c1be70029217baae6628feea"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 20/21] tzdata/tzcode-native: upgrade 2026e -> 2026f
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (18 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 19/21] speex: patch CVE-2026-116741 Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 21/21] python3-certifi: correct license to MPL-2.0 Yoann Congal
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Ankur Tyagi <ankur.tyagi85@gmail.com>
Changelog:
https://www.iana.org/time-zones/releases/2026f
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a5c5781d51df60bbb3d9945c9b3ad89f4d9502f4)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/recipes-extended/timezone/timezone.inc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-extended/timezone/timezone.inc b/meta/recipes-extended/timezone/timezone.inc
index eb439701997..59cc50dedc6 100644
--- a/meta/recipes-extended/timezone/timezone.inc
+++ b/meta/recipes-extended/timezone/timezone.inc
@@ -6,7 +6,7 @@ SECTION = "base"
LICENSE = "PD & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba"
-PV = "2026e"
+PV = "2026f"
SRC_URI = "http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode;subdir=tz \
http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata;subdir=tz \
@@ -14,5 +14,5 @@ SRC_URI = "http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz
S = "${UNPACKDIR}/tz"
-SRC_URI[tzcode.sha256sum] = "cc3d27ca2a0d8399504551b920970d80af83bfb9c216e8082a15491921935d54"
-SRC_URI[tzdata.sha256sum] = "b26882805f26aac59d5b222978e6580484b834ccdc98be89df2f05a6dc53a652"
+SRC_URI[tzcode.sha256sum] = "5a18da01393679ef2559214dc687563f7f3d05691f6f58b7fbc0166f3e796cd6"
+SRC_URI[tzdata.sha256sum] = "01b4a91cec5167ed48c11e8ab78f2048cead78ce94b0cafcad0ae8c5a3044d3d"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [OE-core][wrynose 21/21] python3-certifi: correct license to MPL-2.0
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
` (19 preceding siblings ...)
2026-11-24 22:52 ` [OE-core][wrynose 20/21] tzdata/tzcode-native: upgrade 2026e -> 2026f Yoann Congal
@ 2026-11-24 22:52 ` Yoann Congal
20 siblings, 0 replies; 23+ messages in thread
From: Yoann Congal @ 2026-11-24 22:52 UTC (permalink / raw)
To: openembedded-core
From: Anders Heimer <anders.heimer@est.tech>
Correct the LICENSE variable to match upstreams MPL 2.0.
The LICENSE file and checksum remain the same.
License-Update: Change declared license from ISC to MPL 2.0
Reviewed-by: Henrik Nilsson <henrik.b.nilsson@est.tech>
Signed-off-by: Anders Heimer <anders.heimer@est.tech>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b270958cab94f1fa117b5eee36157cf5b14d3cf)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/recipes-devtools/python/python3-certifi_2026.10.19.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/python/python3-certifi_2026.10.19.bb b/meta/recipes-devtools/python/python3-certifi_2026.10.19.bb
index 0a3ad7dac51..e71d34d5310 100644
--- a/meta/recipes-devtools/python/python3-certifi_2026.10.19.bb
+++ b/meta/recipes-devtools/python/python3-certifi_2026.10.19.bb
@@ -4,7 +4,7 @@ Python code. This is useful for verifying HTTP requests, for example. This is t
which ships with the Requests codebase, and is derived from Mozilla Firefox's canonical set."
HOMEPAGE = "http://certifi.io/"
-LICENSE = "ISC"
+LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=11618cb6a975948679286b1211bd573c"
SRC_URI[sha256sum] = "035c1e85572b141bf1c3a3eff0e33a8eb74917522f2559075ff8d2fea780a1ae"
^ permalink raw reply related [flat|nested] 23+ messages in thread
end of thread, other threads:[~2026-11-24 22:52 UTC | newest]
Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 22:52 [OE-core][wrynose 00/21] Patch review Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 01/21] bison: Fix CVE-2026-56390 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 02/21] glibc: stable 2.43 branch updates to 124e9adcd4 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 03/21] sqlite3: Fix CVE-2026-119377 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 04/21] sqlite3: fix CVE-2026-119373 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 05/21] sqlite3: fix CVE-2026-119374 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 06/21] sqlite3: fix CVE-2026-119375 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 07/21] sqlite3: fix CVE-2026-119379 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 08/21] sqlite3: fix CVE-2026-119372 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 09/21] sqlite3: fix CVE-2026-119378 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 10/21] sqlite3: fix CVE-2026-119376 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 11/21] sqlite3: fix CVE-2026-119371 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 12/21] sqlite3: fix CVE-2026-119591 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 13/21] popt: correct CVE-2026-18739.patch metadata Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 14/21] popt: patch CVE-2026-18839 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 15/21] aspell: upgrade 0.60.8.2 -> 0.60.8.3 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 16/21] libsndfile1: patch CVE-2024-50613 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 17/21] libsndfile1: patch CVE-2025-52194 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 18/21] libsndfile1: patch CVE-2026-109828 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 19/21] speex: patch CVE-2026-116741 Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 20/21] tzdata/tzcode-native: upgrade 2026e -> 2026f Yoann Congal
2026-11-24 22:52 ` [OE-core][wrynose 21/21] python3-certifi: correct license to MPL-2.0 Yoann Congal
-- strict thread matches above, loose matches on Subject: below --
2026-06-10 22:54 [OE-core][wrynose 00/21] Patch review Yoann Congal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.