c-ares: mark CVEs fixed
PATCH 1/42 c-ares: mark CVEs fixed
From: Ankur Tyagi <[email protected]>
CVE-2026-33630, CVE-2026-69184 and CVE-2026-69186 were fixed in v1.34.7[1]
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-33630
https://nvd.nist.gov/vuln/detail/cve-2026-69184
https://nvd.nist.gov/vuln/detail/cve-2026-69186
[1]https://github.com/c-ares/c-ares/releases/tag/v1.34.7
--- meta-oe/recipes-support/c-ares/c-ares_1.34.8.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-oe/recipes-support/c-ares/c-ares_1.34.8.bb +3 -0
@@ -30,3 +30,6 @@ FILES:${PN}-utils = "${bindir}" BBCLASSEXTEND = "native nativesdk" CVE_STATUS[CVE-2025-31498] = "fixed-version: Fixed since 1.34.5" +CVE_STATUS[CVE-2026-33630] = "fixed-version: Fixed since 1.34.7" +CVE_STATUS[CVE-2026-69184] = "fixed-version: Fixed since 1.34.7" +CVE_STATUS[CVE-2026-69186] = "fixed-version: Fixed since 1.34.7"
PATCH 2/42 cjose: mark CVE-2026-53938 and CVE-2026-53939 fixed
From: Ankur Tyagi <[email protected]>
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-53938
https://nvd.nist.gov/vuln/detail/cve-2026-53939
--- meta-oe/recipes-support/cjose/cjose_0.6.2.8.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-support/cjose/cjose_0.6.2.8.bb +2 -0
@@ -11,3 +11,5 @@ DEPENDS = "openssl libcheck jansson" inherit pkgconfig autotools +CVE_STATUS[CVE-2026-53938] = "fixed-version: Fixed since v0.6.2.5" +CVE_STATUS[CVE-2026-53939] = "fixed-version: Fixed since v0.6.2.6"
PATCH 3/42 cjson: patch CVE-2026-87933
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-87933
--- .../cjson/cjson/CVE-2026-87933.patch | 110 ++++++++++++++++++ .../recipes-devtools/cjson/cjson_1.7.19.bb | 1 + 2 files changed, 111 insertions(+) create mode 100644 meta-oe/recipes-devtools/cjson/cjson/CVE-2026-87933.patch
meta-oe/recipes-devtools/cjson/cjson/CVE-2026-87933.patch new file +110 -0
@@ -0,0 +1,110 @@ +From a1b370963c98e1374e5538e97841f9d476a8932e Mon Sep 17 00:00:00 2001 +From: lilu5458 <[email protected]> +Date: Wed, 16 Sep 2026 09:55:35 +0800 +Subject: [PATCH] Fix: heap-use-after-free in merge_patch when patch is subtree + of target (#1065) + +When cJSONUtils_MergePatch(target, patch) is called with a non-object +patch (scalar, array, or NULL) that happens to be a subtree of target, +merge_patch() called cJSON_Delete(target) first, which freed the patch +memory, and then cJSON_Duplicate(patch, 1) read the already-freed memory, +triggering a heap-use-after-free (detected by AddressSanitizer at +cJSON_Duplicate_rec, cJSON.c:2808). + +Fix: duplicate the patch first into a local variable, then delete the +target, then return the duplicate. This matches the Option B approach +proposed in issue #1060. + +Verified locally: +- Reproduced the UAF with a minimal PoC under ASan before the fix. +- After the fix the PoC runs cleanly (exit 0, correct result [1,2,3]). +- Added a regression unit test + (merge_patch_should_not_read_freed_memory_when_patch_is_subtree). +- Full ctest suite passes (22/22 tests). + +Fixes #1060 + +Signed-off-by: lilu <[email protected]> +(cherry picked from commit 6d9f2443ab071f86e5d9b43025a40929ec41c46c) + +CVE: CVE-2026-87933 +Upstream-Status: Backport [https://github.com/DaveGamble/cJSON/commit/6d9f2443ab071f86e5d9b43025a40929ec41c46c] + +Signed-off-by: Ankur Tyagi <[email protected]> +--- + cJSON_Utils.c | 8 ++++++-- + tests/old_utils_tests.c | 34 ++++++++++++++++++++++++++++++++++ + 2 files changed, 40 insertions(+), 2 deletions(-) + +diff --git a/cJSON_Utils.c b/cJSON_Utils.c +index 8fa24f8..6f41875 100644 +--- a/cJSON_Utils.c ++++ b/cJSON_Utils.c +@@ -1324,9 +1324,13 @@ static cJSON *merge_patch(cJSON *target, const cJSON * const patch, const cJSON_ + + if (!cJSON_IsObject(patch)) + { +- /* scalar value, array or NULL, just duplicate */ ++ /* scalar value, array or NULL, just duplicate. ++ * Duplicate the patch first in case it is a subtree of target, ++ * otherwise cJSON_Delete(target) would free the patch memory ++ * and the subsequent cJSON_Duplicate would read freed memory. */ ++ cJSON *duplicate = cJSON_Duplicate(patch, 1); + cJSON_Delete(target); +- return cJSON_Duplicate(patch, 1); ++ return duplicate; + } + + if (!cJSON_IsObject(target)) +diff --git a/tests/old_utils_tests.c b/tests/old_utils_tests.c +index 690dbb5..bdc7393 100644 +--- a/tests/old_utils_tests.c ++++ b/tests/old_utils_tests.c +@@ -189,6 +189,39 @@ static void merge_tests(void) + } + } + ++static void merge_patch_should_not_read_freed_memory_when_patch_is_subtree(void) ++{ ++ /* When patch is a subtree of target, merge_patch must duplicate the patch ++ * before deleting target. Otherwise cJSON_Delete(target) frees the patch ++ * memory and the subsequent cJSON_Duplicate reads freed memory (UAF). ++ * See CVE candidate: heap-use-after-free in merge_patch (cJSON_Utils.c). */ ++ cJSON *target = cJSON_Parse("{\"a\":[1,2,3]}"); ++ cJSON *patch = cJSON_GetObjectItem(target, "a"); ++ cJSON *result = NULL; ++ cJSON *first = NULL; ++ cJSON *second = NULL; ++ cJSON *third = NULL; ++ ++ TEST_ASSERT_NOT_NULL(target); ++ TEST_ASSERT_NOT_NULL(patch); ++ ++ /* patch (array [1,2,3]) is a subtree of target. This used to trigger ++ * heap-use-after-free under AddressSanitizer before the fix. */ ++ result = cJSONUtils_MergePatch(target, patch); ++ TEST_ASSERT_NOT_NULL(result); ++ TEST_ASSERT_TRUE(cJSON_IsArray(result)); ++ TEST_ASSERT_EQUAL_INT(3, cJSON_GetArraySize(result)); ++ ++ first = cJSON_GetArrayItem(result, 0); ++ second = cJSON_GetArrayItem(result, 1); ++ third = cJSON_GetArrayItem(result, 2); ++ TEST_ASSERT_EQUAL_INT(1, first->valueint); ++ TEST_ASSERT_EQUAL_INT(2, second->valueint); ++ TEST_ASSERT_EQUAL_INT(3, third->valueint); ++ ++ cJSON_Delete(result); ++} ++ + static void generate_merge_tests(void) + { + size_t i = 0; +@@ -219,6 +252,7 @@ int main(void) + RUN_TEST(misc_tests); + RUN_TEST(sort_tests); + RUN_TEST(merge_tests); ++ RUN_TEST(merge_patch_should_not_read_freed_memory_when_patch_is_subtree); + RUN_TEST(generate_merge_tests); + + return UNITY_END();
meta-oe/recipes-devtools/cjson/cjson_1.7.19.bb +1 -0
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=218947f77e8cb8e2fa02918dc41c50d0" SRC_URI = "git://github.com/DaveGamble/cJSON.git;branch=master;protocol=https \ file://run-ptest \ file://0001-allow-build-with-cmake-4.patch \ + file://CVE-2026-87933.patch \ " SRCREV = "c859b25da02955fef659d658b8f324b5cde87be3"
PATCH 4/42 colord: ignore CVE-2026-85062
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-85062
--- meta-oe/recipes-support/colord/colord.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-support/colord/colord.bb +1 -0
@@ -54,3 +54,4 @@ do_install:append() { USERADD_PACKAGES = "${PN}" USERADD_PARAM:${PN} = "--system --user-group --shell /bin/false --no-create-home --home-dir ${localstatedir}/lib/colord colord" +CVE_STATUS[CVE-2026-85062] = "cpe-incorrect: this CVE is for JavaScript colord tool"
PATCH 5/42 flatcc: patch CVE-2026-90786
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-90786
--- .../flatcc/flatcc/CVE-2026-90786.patch | 40 +++++++++++++++++++ meta-oe/recipes-devtools/flatcc/flatcc_git.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 meta-oe/recipes-devtools/flatcc/flatcc/CVE-2026-90786.patch
meta-oe/recipes-devtools/flatcc/flatcc/CVE-2026-90786.patch new file +40 -0
@@ -0,0 +1,40 @@ +From bb5238cd959e88c590b413d3b105562e6d1c5114 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Mikkel=20Fahn=C3=B8e=20J=C3=B8rgensen?= <[email protected]> +Date: Tue, 4 Aug 2026 19:53:26 +0200 +Subject: [PATCH] Fail early on duplicate symbols to aovid triggering unhandled + assertions in release build (closes #387) + +(cherry picked from commit 8b19ba4e992ebcad7f5970704d1afc5507fa5205) + +CVE: CVE-2026-90786 +Upstream-Status: Backport [https://github.com/jimjag/flatcc/commit/8b19ba4e992ebcad7f5970704d1afc5507fa5205] + +Signed-off-by: Ankur Tyagi <[email protected]> +--- + src/compiler/semantics.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/src/compiler/semantics.c b/src/compiler/semantics.c +index 6c56c37..21ff948 100644 +--- a/src/compiler/semantics.c ++++ b/src/compiler/semantics.c +@@ -1351,6 +1351,8 @@ static int process_table(fb_parser_t *P, fb_compound_type_t *ct) + id_failed = 1; + } + } ++ // Ordering assumes there are no duplicates so conservatively abort on error. ++ if (P->failed) return P->failed; + /* Order in which data is ordered in binary buffer. */ + if (ct->metadata_flags & fb_f_original_order) { + ct->ordered_members = original_order_members(P, (fb_member_t *)ct->members); +@@ -1821,6 +1823,10 @@ int fb_build_schema(fb_parser_t *P) + #endif + } + } ++ ++ /* Semantic analysis assumes no duplicates so conservatibely abort on error. */ ++ if (P->failed) return P->failed; ++ + install_known_attributes(P); + + if (!P->opts.hide_later_enum) {
meta-oe/recipes-devtools/flatcc/flatcc_git.bb +1 -0
@@ -12,6 +12,7 @@ SRC_URI = " \ git://github.com/dvidelabs/flatcc.git;protocol=https;branch=master \ file://0001-Check-for-C-standard-version-23-for-__fallthrough__.patch \ file://0002-allow-build-with-cmake-4.patch \ + file://CVE-2026-90786.patch \ " SRCREV = "1653ec964730ec7d9892a08a1695ada6d20f5196"
PATCH 6/42 flatcc: patch CVE-2026-90785
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-90785
--- .../flatcc/flatcc/CVE-2026-90785.patch | 29 +++++++++++++++++++ meta-oe/recipes-devtools/flatcc/flatcc_git.bb | 1 + 2 files changed, 30 insertions(+) create mode 100644 meta-oe/recipes-devtools/flatcc/flatcc/CVE-2026-90785.patch
meta-oe/recipes-devtools/flatcc/flatcc/CVE-2026-90785.patch new file +29 -0
@@ -0,0 +1,29 @@ +From d44946b10f4da3c2c7b46e0a58bb86f9b5e9f342 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Mikkel=20Fahn=C3=B8e=20J=C3=B8rgensen?= <[email protected]> +Date: Tue, 4 Aug 2026 20:01:22 +0200 +Subject: [PATCH] Avoid processing structs recursively if recursion already + detected (closes #388) + +(cherry picked from commit f705032346ee39efd7d3848c50b73d455d28d06d) + +CVE: CVE-2026-90785 +Upstream-Status: Backport [https://github.com/dvidelabs/flatcc/commit/f705032346ee39efd7d3848c50b73d455d28d06d] +Signed-off-by: Ankur Tyagi <[email protected]> +--- + src/compiler/semantics.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/compiler/semantics.c b/src/compiler/semantics.c +index 21ff948..2b49eee 100644 +--- a/src/compiler/semantics.c ++++ b/src/compiler/semantics.c +@@ -505,6 +505,9 @@ static int analyze_struct(fb_parser_t *P, fb_compound_type_t *ct) + uint16_t align; + fb_token_t *t; + ++ /* Avoid triggering assertions on already detected circular references. */ ++ if (P->failed) return P->failed; ++ + assert(ct->symbol.kind == fb_is_struct); + + assert(!(ct->symbol.flags & fb_circular_open));
meta-oe/recipes-devtools/flatcc/flatcc_git.bb +1 -0
@@ -13,6 +13,7 @@ SRC_URI = " \ file://0001-Check-for-C-standard-version-23-for-__fallthrough__.patch \ file://0002-allow-build-with-cmake-4.patch \ file://CVE-2026-90786.patch \ + file://CVE-2026-90785.patch \ " SRCREV = "1653ec964730ec7d9892a08a1695ada6d20f5196"
PATCH 7/42 fluidsynth: mark CVEs fixed
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Release note[1] also confirms the fix.
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-58264
https://nvd.nist.gov/vuln/detail/cve-2026-61714
https://nvd.nist.gov/vuln/detail/cve-2026-61720
https://nvd.nist.gov/vuln/detail/cve-2026-61721
https://nvd.nist.gov/vuln/detail/cve-2026-61722
https://nvd.nist.gov/vuln/detail/cve-2026-61723
[1]https://github.com/FluidSynth/fluidsynth/releases/tag/v2.5.6
--- .../recipes-multimedia/fluidsynth/fluidsynth_2.5.7.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.5.7.bb +6 -0
@@ -40,3 +40,9 @@ PACKAGECONFIG[sdl] = "-Denable-sdl3=ON,-Denable-sdl3=OFF,libsdl3" PACKAGECONFIG[sndfile] = "-Denable-libsndfile=ON,-Denable-libsndfile=OFF,libsndfile1" PACKAGECONFIG[systemd] = "-Denable-systemd=ON,-Denable-systemd=OFF,systemd" +CVE_STATUS[CVE-2026-58264] = "fixed-version: fixed since v2.5.6" +CVE_STATUS[CVE-2026-61714] = "fixed-version: fixed since v2.5.6" +CVE_STATUS[CVE-2026-61720] = "fixed-version: fixed since v2.5.6" +CVE_STATUS[CVE-2026-61721] = "fixed-version: fixed since v2.5.6" +CVE_STATUS[CVE-2026-61722] = "fixed-version: fixed since v2.5.6" +CVE_STATUS[CVE-2026-61723] = "fixed-version: fixed since v2.5.6"
PATCH 8/42 freeipmi: patch CVE-2026-85509
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Backport commit from v1.6.19 matching NVD description.
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-85509
--- .../freeipmi/freeipmi/CVE-2026-85509.patch | 54 +++++++++++++++++++ .../freeipmi/freeipmi_1.6.17.bb | 1 + 2 files changed, 55 insertions(+) create mode 100644 meta-oe/recipes-support/freeipmi/freeipmi/CVE-2026-85509.patch
meta-oe/recipes-support/freeipmi/freeipmi/CVE-2026-85509.patch new file +54 -0
@@ -0,0 +1,54 @@ +From f0360d8816918c1f8de6aa8ea7cbe2ee51971a32 Mon Sep 17 00:00:00 2001 +From: Albert L Chu <[email protected]> +Date: Tue, 11 Aug 2026 14:24:56 -0700 +Subject: [PATCH] libfreeipmi: clamp count_returned in _read_fru_data before + memcpy + +_read_fru_data reads FRU inventory in chunks, requesting at most +count_to_read (<= IPMI_FRU_COUNT_TO_READ_BLOCK_SIZE, 16) bytes per +iteration and copying the response into a fixed stack buffer frubuf. +The BMC-supplied count_returned was validated only as non-zero and as +equal to the returned data length -- never against the number of bytes +requested. A malicious or malfunctioning BMC returning more bytes than +were asked for (up to 255) with a matching payload passes both existing +checks, so memcpy(frubuf + num_bytes_read, buf, count_returned) writes +past the intended chunk and can advance num_bytes_read beyond +fru_read_bytes, overflowing the stack frubuf buffer. + +Reject count_returned > count_to_read before the memcpy. + +Assisted-by: Claude (Opus 4.8) <[email protected]> +(cherry picked from commit b7d4f1021c89a9a5dede0f481b10d438a9e18e23) + +CVE: CVE-2026-85509 +Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/freeipmi.git/commit/?h=freeipmi-1-6-19&id=b7d4f1021c89a9a5dede0f481b10d438a9e18e23] + +Dropped changes to the ChangeLog file. + +Signed-off-by: Ankur Tyagi <[email protected]> +--- + libfreeipmi/fru/ipmi-fru.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/libfreeipmi/fru/ipmi-fru.c b/libfreeipmi/fru/ipmi-fru.c +index f9dc8866d..bf35911c0 100644 +--- a/libfreeipmi/fru/ipmi-fru.c ++++ b/libfreeipmi/fru/ipmi-fru.c +@@ -488,6 +488,17 @@ _read_fru_data (ipmi_fru_ctx_t ctx, + goto cleanup; + } + ++ /* The BMC must not return more bytes than were requested. A ++ * larger count_returned would advance num_bytes_read past ++ * fru_read_bytes and overflow frubuf via the memcpy below, so ++ * reject it rather than trust the device-supplied count. ++ */ ++ if (count_returned > count_to_read) ++ { ++ FRU_SET_ERRNUM (ctx, IPMI_FRU_ERR_IPMI_ERROR); ++ goto cleanup; ++ } ++ + memcpy (frubuf + num_bytes_read, + buf, + count_returned);
meta-oe/recipes-support/freeipmi/freeipmi_1.6.17.bb +1 -0
@@ -16,6 +16,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ SRC_URI = "${GNU_MIRROR}/freeipmi/freeipmi-${PV}.tar.gz \ file://CVE-2026-50031-1.patch \ file://CVE-2026-50031-2.patch \ + file://CVE-2026-85509.patch \ " SRC_URI[sha256sum] = "16783d10faa28847a795cce0bf86deeaa72b8fbe71d1f0dc1101d13a6b501ec1"
PATCH 9/42 freeipmi: patch CVE-2026-85508
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Backport commit from v1.6.19 matching NVD description.
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-85508
--- .../freeipmi/freeipmi/CVE-2026-85508.patch | 51 +++++++++++++++++++ .../freeipmi/freeipmi_1.6.17.bb | 1 + 2 files changed, 52 insertions(+) create mode 100644 meta-oe/recipes-support/freeipmi/freeipmi/CVE-2026-85508.patch
meta-oe/recipes-support/freeipmi/freeipmi/CVE-2026-85508.patch new file +51 -0
@@ -0,0 +1,51 @@ +From 4525750676ebf8dcf96a04bcd8cd59767581c44c Mon Sep 17 00:00:00 2001 +From: Albert L Chu <[email protected]> +Date: Tue, 18 Aug 2026 12:44:01 -0700 +Subject: [PATCH] ipmi-oem: bound Dell CMC-IPv6-info accumulation loop against + buffer size + +_output_dell_system_info_cmc_ipv6_info accumulates configuration +parameter data from four get-system-info responses into a 256-byte +cmc_ipv6_info stack buffer, copying (len - 1) bytes per iteration at a +running offset with no check against the destination size. The response +field is BMC-controlled and can legitimately return up to 128 bytes per +call, so a malicious BMC returning large blocks overflows the stack +buffer with attacker-controlled data starting on the third iteration. + +Reject any copy whose cumulative length would exceed sizeof +(cmc_ipv6_info) before the memcpy, mirroring the existing invalid-length +error path. + +Assisted-by: Claude (Opus 4.8) <[email protected]> +(cherry picked from commit b34841134f3d3206840de06fb152ae3ee0b8bcff) + +CVE: CVE-2026-85508 +Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/freeipmi.git/commit/?h=freeipmi-1-6-19&id=b34841134f3d3206840de06fb152ae3ee0b8bcff] + +Dropped changes to the ChangeLog file. + +Signed-off-by: Ankur Tyagi <[email protected]> +--- + ipmi-oem/ipmi-oem-dell.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/ipmi-oem/ipmi-oem-dell.c b/ipmi-oem/ipmi-oem-dell.c +index f322cdfb8..ff2d39b1c 100644 +--- a/ipmi-oem/ipmi-oem-dell.c ++++ b/ipmi-oem/ipmi-oem-dell.c +@@ -1220,6 +1220,15 @@ _output_dell_system_info_cmc_ipv6_info (ipmi_oem_state_data_t *state_data) + goto cleanup; + } + ++ if ((cmc_ipv6_info_len + (len - 1)) > sizeof (cmc_ipv6_info)) ++ { ++ pstdout_fprintf (state_data->pstate, ++ stderr, ++ "ipmi_cmd_get_system_info_parameters: invalid buffer length returned: %d\n", ++ len); ++ goto cleanup; ++ } ++ + memcpy (&cmc_ipv6_info[cmc_ipv6_info_len], + configuration_parameter_data + 1, /* remove set selector */ + len - 1);
meta-oe/recipes-support/freeipmi/freeipmi_1.6.17.bb +1 -0
@@ -17,6 +17,7 @@ SRC_URI = "${GNU_MIRROR}/freeipmi/freeipmi-${PV}.tar.gz \ file://CVE-2026-50031-1.patch \ file://CVE-2026-50031-2.patch \ file://CVE-2026-85509.patch \ + file://CVE-2026-85508.patch \ " SRC_URI[sha256sum] = "16783d10faa28847a795cce0bf86deeaa72b8fbe71d1f0dc1101d13a6b501ec1"
PATCH 10/42 freeipmi: patch CVE-2026-85507
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Backport commit from v1.6.19 matching NVD description.
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-85507
--- .../freeipmi/freeipmi/CVE-2026-85507.patch | 50 +++++++++++++++++++ .../freeipmi/freeipmi_1.6.17.bb | 1 + 2 files changed, 51 insertions(+) create mode 100644 meta-oe/recipes-support/freeipmi/freeipmi/CVE-2026-85507.patch
meta-oe/recipes-support/freeipmi/freeipmi/CVE-2026-85507.patch new file +50 -0
@@ -0,0 +1,50 @@ +From fa27bdb4a6df199b5a60c078ed1ce78936b6276f Mon Sep 17 00:00:00 2001 +From: Albert L Chu <[email protected]> +Date: Tue, 18 Aug 2026 12:56:55 -0700 +Subject: [PATCH] ipmi-oem: bound Dell CMC-info accumulation loop against + buffer size + +_output_dell_system_info_cmc_info accumulates configuration parameter +data from four get-system-info responses into a 256-byte cmc_info stack +buffer, copying (len - 1) bytes per iteration at a running offset with no +check against the destination size. The response field is BMC-controlled +and can legitimately return up to 128 bytes per call, so a malicious BMC +returning large blocks overflows the stack buffer with attacker-controlled +data starting on the third iteration. + +Reject any copy whose cumulative length would exceed sizeof (cmc_info) +before the memcpy, mirroring the existing invalid-length error path. + +Assisted-by: Claude (Opus 4.8) <[email protected]> +(cherry picked from commit 65759a170b0179b15a9bd3483ddc067e337bd150) + +CVE: CVE-2026-85507 +Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/freeipmi.git/commit/?h=freeipmi-1-6-19&id=65759a170b0179b15a9bd3483ddc067e337bd150] + +Dropped changes to the ChangeLog file. + +Signed-off-by: Ankur Tyagi <[email protected]> +--- + ipmi-oem/ipmi-oem-dell.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/ipmi-oem/ipmi-oem-dell.c b/ipmi-oem/ipmi-oem-dell.c +index ff2d39b1c..19c962cb1 100644 +--- a/ipmi-oem/ipmi-oem-dell.c ++++ b/ipmi-oem/ipmi-oem-dell.c +@@ -937,6 +937,15 @@ _output_dell_system_info_cmc_info (ipmi_oem_state_data_t *state_data) + goto cleanup; + } + ++ if ((cmc_info_len + (len - 1)) > sizeof (cmc_info)) ++ { ++ pstdout_fprintf (state_data->pstate, ++ stderr, ++ "ipmi_cmd_get_system_info_parameters: invalid buffer length returned: %d\n", ++ len); ++ goto cleanup; ++ } ++ + memcpy (&cmc_info[cmc_info_len], + configuration_parameter_data + 1, /* remove set selector */ + len - 1);
meta-oe/recipes-support/freeipmi/freeipmi_1.6.17.bb +1 -0
@@ -18,6 +18,7 @@ SRC_URI = "${GNU_MIRROR}/freeipmi/freeipmi-${PV}.tar.gz \ file://CVE-2026-50031-2.patch \ file://CVE-2026-85509.patch \ file://CVE-2026-85508.patch \ + file://CVE-2026-85507.patch \ " SRC_URI[sha256sum] = "16783d10faa28847a795cce0bf86deeaa72b8fbe71d1f0dc1101d13a6b501ec1"
PATCH 11/42 freeipmi: patch CVE-2026-85506
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Backport commit from v1.6.19 matching NVD description.
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-85506
--- .../freeipmi/freeipmi/CVE-2026-85506.patch | 51 +++++++++++++++++++ .../freeipmi/freeipmi_1.6.17.bb | 1 + 2 files changed, 52 insertions(+) create mode 100644 meta-oe/recipes-support/freeipmi/freeipmi/CVE-2026-85506.patch
meta-oe/recipes-support/freeipmi/freeipmi/CVE-2026-85506.patch new file +51 -0
@@ -0,0 +1,51 @@ +From 8652f7ca02cb6920c7a4c89add8effa6e9419ec7 Mon Sep 17 00:00:00 2001 +From: Albert L Chu <[email protected]> +Date: Tue, 18 Aug 2026 14:09:35 -0700 +Subject: [PATCH] ipmi-oem: bound Dell iDRAC-info accumulation loop against + buffer size + +_get_dell_system_info_idrac_info accumulates configuration parameter data +from three get-system-info responses into a 256-byte idrac_info stack +buffer, copying (len - 1) bytes per iteration at a running offset with no +check against the destination size. The response field is BMC-controlled +and can legitimately return up to 128 bytes per call, so a malicious BMC +returning large blocks overflows the stack buffer with attacker-controlled +data on the third iteration. This helper is also reached via +dell get-system-info mac-addresses. + +Reject any copy whose cumulative length would exceed sizeof (idrac_info) +before the memcpy, mirroring the existing invalid-length error path. + +Assisted-by: Claude (Opus 4.8) <[email protected]> +(cherry picked from commit 301458ac7b230dbfa42e73ee2c2959e4bbaecf30) + +CVE: CVE-2026-85506 +Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/freeipmi.git/commit/?h=freeipmi-1-6-19&id=301458ac7b230dbfa42e73ee2c2959e4bbaecf30] + +Dropped changes to the ChangeLog file. + +Signed-off-by: Ankur Tyagi <[email protected]> +--- + ipmi-oem/ipmi-oem-dell.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/ipmi-oem/ipmi-oem-dell.c b/ipmi-oem/ipmi-oem-dell.c +index 19c962cb1..f8e5ae165 100644 +--- a/ipmi-oem/ipmi-oem-dell.c ++++ b/ipmi-oem/ipmi-oem-dell.c +@@ -595,6 +595,15 @@ _get_dell_system_info_idrac_info (ipmi_oem_state_data_t *state_data, + goto cleanup; + } + ++ if ((idrac_info_len + (len - 1)) > sizeof (idrac_info)) ++ { ++ pstdout_fprintf (state_data->pstate, ++ stderr, ++ "ipmi_cmd_get_system_info_parameters: invalid buffer length returned: %d\n", ++ len); ++ goto cleanup; ++ } ++ + memcpy (&idrac_info[idrac_info_len], + configuration_parameter_data + 1, /* remove set selector */ + len - 1);
meta-oe/recipes-support/freeipmi/freeipmi_1.6.17.bb +1 -0
@@ -19,6 +19,7 @@ SRC_URI = "${GNU_MIRROR}/freeipmi/freeipmi-${PV}.tar.gz \ file://CVE-2026-85509.patch \ file://CVE-2026-85508.patch \ file://CVE-2026-85507.patch \ + file://CVE-2026-85506.patch \ " SRC_URI[sha256sum] = "16783d10faa28847a795cce0bf86deeaa72b8fbe71d1f0dc1101d13a6b501ec1"
PATCH 12/42 freeipmi: patch CVE-2026-85505
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Backport commit from v1.6.19 matching NVD description.
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-85505
--- .../freeipmi/freeipmi/CVE-2026-85505.patch | 49 +++++++++++++++++++ .../freeipmi/freeipmi_1.6.17.bb | 1 + 2 files changed, 50 insertions(+) create mode 100644 meta-oe/recipes-support/freeipmi/freeipmi/CVE-2026-85505.patch
meta-oe/recipes-support/freeipmi/freeipmi/CVE-2026-85505.patch new file +49 -0
@@ -0,0 +1,49 @@ +From e479401fcd9588f1ffb7444e09b97afc29f21f82 Mon Sep 17 00:00:00 2001 +From: Albert L Chu <[email protected]> +Date: Mon, 17 Aug 2026 16:55:00 -0700 +Subject: [PATCH] ipmi-oem: clamp Fujitsu SEL long-text truncate copy to actual + data + +ipmi_oem_fujitsu_get_sel_entry_long_text, in the "truncate if there is +overflow" branch, copied a fixed +IPMI_OEM_FUJITSU_SEL_ENTRY_LONG_TEXT_MAX_DATA_LENGTH - offset bytes from +&bytes_rs[16] into data_buf regardless of how many bytes the BMC +actually returned. bytes_rs is filled only to rs_len and is not +memset, so a short response left the memcpy reading uninitialized stack +past the real data. The read stayed within the 256-byte bytes_rs and +the data_buf destination, so it was an uninitialized read, not an +out-of-bounds access. + +The truncate branch is entered only when offset + component_length +exceeds data_length, so data_length - offset is both the number of bytes +needed to fill data_buf to data_length and strictly less than +component_length (= strlen of the NUL-terminated response data), hence +always within the received bytes. Copy that amount instead of the fixed +maximum. + +Assisted-by: Claude (Opus 4.8) <[email protected]> +(cherry picked from commit 8e0e908c5f11f3ccbf128e09af58568767e6367c) + +CVE: CVE-2026-85505 +Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/freeipmi.git/commit/?h=freeipmi-1-6-19&id=8e0e908c5f11f3ccbf128e09af58568767e6367c] + +Dropped changes to the ChangeLog file. + +Signed-off-by: Ankur Tyagi <[email protected]> +--- + ipmi-oem/ipmi-oem-fujitsu.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ipmi-oem/ipmi-oem-fujitsu.c b/ipmi-oem/ipmi-oem-fujitsu.c +index 10220c9fc..57d04a0bf 100644 +--- a/ipmi-oem/ipmi-oem-fujitsu.c ++++ b/ipmi-oem/ipmi-oem-fujitsu.c +@@ -1400,7 +1400,7 @@ ipmi_oem_fujitsu_get_sel_entry_long_text (ipmi_oem_state_data_t *state_data) + { + memcpy (data_buf + offset, + &bytes_rs[16], +- IPMI_OEM_FUJITSU_SEL_ENTRY_LONG_TEXT_MAX_DATA_LENGTH - offset); ++ data_length - offset); + offset = data_length; + } + else
meta-oe/recipes-support/freeipmi/freeipmi_1.6.17.bb +1 -0
@@ -20,6 +20,7 @@ SRC_URI = "${GNU_MIRROR}/freeipmi/freeipmi-${PV}.tar.gz \ file://CVE-2026-85508.patch \ file://CVE-2026-85507.patch \ file://CVE-2026-85506.patch \ + file://CVE-2026-85505.patch \ " SRC_URI[sha256sum] = "16783d10faa28847a795cce0bf86deeaa72b8fbe71d1f0dc1101d13a6b501ec1"
PATCH 13/42 freeipmi: patch CVE-2026-85504
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Backport commit from v1.6.19 matching NVD description.
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-85504
--- .../freeipmi/freeipmi/CVE-2026-85504.patch | 93 +++++++++++++++++++ .../freeipmi/freeipmi_1.6.17.bb | 1 + 2 files changed, 94 insertions(+) create mode 100644 meta-oe/recipes-support/freeipmi/freeipmi/CVE-2026-85504.patch
meta-oe/recipes-support/freeipmi/freeipmi/CVE-2026-85504.patch new file +93 -0
@@ -0,0 +1,93 @@ +From 23bdae46ad532196ccd8a85d8a5c771e2aea1339 Mon Sep 17 00:00:00 2001 +From: Albert L Chu <[email protected]> +Date: Tue, 25 Aug 2026 11:40:41 -0700 +Subject: [PATCH] libfreeipmi: bound Fujitsu SEL long-text responses + +Reject short and oversized Fujitsu iRMC responses and cap each text chunk before copying it into the fixed-size output buffer. + +Assisted-by: Codex, GPT-5.6-SOL +(cherry picked from commit 29fa34264e1eff685dcb9e0176e1eea0a6788e59) + +CVE: CVE-2026-85504 +Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/freeipmi.git/commit/?h=freeipmi-1-6-19&id=29fa34264e1eff685dcb9e0176e1eea0a6788e590] + +Dropped changes to the ChangeLog file. + +Signed-off-by: Ankur Tyagi <[email protected]> +--- + .../sel/ipmi-sel-string-fujitsu-irmc-common.c | 41 +++++++++++-------- + 1 file changed, 24 insertions(+), 17 deletions(-) + +diff --git a/libfreeipmi/sel/ipmi-sel-string-fujitsu-irmc-common.c b/libfreeipmi/sel/ipmi-sel-string-fujitsu-irmc-common.c +index f514a56c5..24aa94fb7 100644 +--- a/libfreeipmi/sel/ipmi-sel-string-fujitsu-irmc-common.c ++++ b/libfreeipmi/sel/ipmi-sel-string-fujitsu-irmc-common.c +@@ -80,10 +80,10 @@ _ipmi_sel_oem_fujitsu_get_sel_entry_long_text (ipmi_sel_ctx_t ctx, + uint8_t severity = 0; + char data_buf[IPMI_OEM_FUJITSU_SEL_ENTRY_LONG_TEXT_MAX_DATA_LENGTH + 1]; + char string_buf[IPMI_OEM_FUJITSU_SEL_ENTRY_LONG_TEXT_MAX_STRING_LENGTH + 1]; +- uint8_t data_length; ++ unsigned int data_length; + uint8_t max_read_length; +- uint8_t offset = 0; +- uint8_t component_length = 0; ++ unsigned int offset = 0; ++ size_t component_length = 0; + const char *css_str = NULL; + const char *severity_str = NULL; + int rv = -1; +@@ -208,8 +208,10 @@ _ipmi_sel_oem_fujitsu_get_sel_entry_long_text (ipmi_sel_ctx_t ctx, + "[Fujitsu OEM decoding requires administrator privilege]"); + goto out; + } +- goto cleanup; + } ++ ++ SEL_SET_ERRNUM (ctx, IPMI_SEL_ERR_IPMI_ERROR); ++ goto cleanup; + } + + /* Get severity and CSS flag only once */ +@@ -224,24 +226,29 @@ _ipmi_sel_oem_fujitsu_get_sel_entry_long_text (ipmi_sel_ctx_t ctx, + + data_length = bytes_rs[15]; + ++ if (data_length > IPMI_OEM_FUJITSU_SEL_ENTRY_LONG_TEXT_MAX_DATA_LENGTH ++ || offset > data_length) ++ { ++ SEL_SET_ERRNUM (ctx, IPMI_SEL_ERR_IPMI_ERROR); ++ goto cleanup; ++ } ++ + bytes_rs[rs_len-1] = '\0'; /* just to be sure it's terminated */ + component_length = strlen ((char *)bytes_rs + 16); + +- /* achu: truncate if there is overflow */ +- if (offset + component_length > data_length) +- { +- memcpy (data_buf + offset, +- &bytes_rs[16], +- IPMI_OEM_FUJITSU_SEL_ENTRY_LONG_TEXT_MAX_DATA_LENGTH - offset); +- offset = data_length; +- } +- else ++ if (component_length > (data_length - offset)) ++ component_length = data_length - offset; ++ ++ if (!component_length && offset < data_length) + { +- memcpy (data_buf + offset, +- &bytes_rs[16], +- component_length); +- offset += component_length; ++ SEL_SET_ERRNUM (ctx, IPMI_SEL_ERR_IPMI_ERROR); ++ goto cleanup; + } ++ ++ memcpy (data_buf + offset, ++ &bytes_rs[16], ++ component_length); ++ offset += component_length; + } + + if (css == IPMI_OEM_FUJITSU_CSS_COMPONENT)
meta-oe/recipes-support/freeipmi/freeipmi_1.6.17.bb +1 -0
@@ -21,6 +21,7 @@ SRC_URI = "${GNU_MIRROR}/freeipmi/freeipmi-${PV}.tar.gz \ file://CVE-2026-85507.patch \ file://CVE-2026-85506.patch \ file://CVE-2026-85505.patch \ + file://CVE-2026-85504.patch \ " SRC_URI[sha256sum] = "16783d10faa28847a795cce0bf86deeaa72b8fbe71d1f0dc1101d13a6b501ec1"
PATCH 14/42 libde265: patch CVE-2026-54240 and CVE-2026-54241
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Debian identified same commit as fix for both CVE[1][2]
[1]https://security-tracker.debian.org/tracker/CVE-2026-54240 [2]https://security-tracker.debian.org/tracker/CVE-2026-54241
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-54240
https://nvd.nist.gov/vuln/detail/cve-2026-54241
--- .../CVE-2026-54240-CVE-2026-54241.patch | 426 ++++++++++++++++++ .../libde265/libde265_1.0.19.bb | 1 + 2 files changed, 427 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/libde265/libde265/CVE-2026-54240-CVE-2026-54241.patch
meta-multimedia/recipes-multimedia/libde265/libde265/CVE-2026-54240-CVE-2026-54241.patch new file +426 -0
@@ -0,0 +1,426 @@ +From 14750b5cde9b6d5fe9086771482c05552bc8093b Mon Sep 17 00:00:00 2001 +From: Dirk Farin <[email protected]> +Date: Wed, 3 Jun 2026 16:44:32 +0200 +Subject: [PATCH] fix pixel-accessor integer overflow on large frames + (GHSA-ccfw-29x7-rrx3) + +The de265_image::get_image_plane_at_pos*() accessors computed the pixel +offset `xpos + ypos*stride` in signed 32-bit int. For frames where +width*height exceeds INT32_MAX (e.g. 46344x46344, both within the existing +<=65535 limit), ypos*stride wraps negative and the returned pointer lands +~2 GB before the buffer -> heap out-of-bounds read/write. This is independent +of the earlier allocation fix (GHSA-vv8h-932h-7r86), which only widened the +buffer size, not the offset arithmetic. + +Widen the image stride to ptrdiff_t (members, get_image_stride/get_luma_stride/ +get_chroma_stride, set_image_plane) so all pixel-offset math is evaluated in +64 bits. The public C API (de265_get/set_image_plane) keeps int for ABI; the +narrowing at that boundary is safe (stride <= ~65552). + +The same 32-bit-stride / absolute-coordinate pattern existed in several scalar +paths that the accessors don't cover; widen those too: + - sao.cc: SAO offset indexing, and the inputCopy allocation+memcpy size + (an int size_t under-allocation -> heap write) + - motion.cc: mc_luma/mc_chroma reference-plane access (ref_stride, src_stride) + - intrapred.h: intra reference-border fill + - sei.cc: decoded-picture-hash MD5/CRC/checksum + - image-io.cc: YUV plane read and write +The deblock kernels, SIMD layer (acceleration.h) and per-block code already +use ptrdiff_t or only small block-local offsets and need no change. + +Also store pic_width/height_in_luma_samples as uint16_t (the value is +provably <= MAX_PICTURE_WIDTH = 65535 after validation) so PicSizeInSamplesY +needs only a single uint32_t cast instead of int*int (which was signed-overflow +UB on the same trigger); add static_asserts tying the limits to the storage. + +Verified: girlshy bit-exact single- and multi-threaded; ASan+UBSan PoC against +the get_image_plane_at_pos sink crashes pre-fix (UBSan signed-overflow at the +accessor + ASan wild write) and is clean post-fix. + +(cherry picked from commit bdca87569b9c63c2a7054d90ae4462dbb78d159a) + +CVE: CVE-2026-54240 CVE-2026-54241 +Upstream-Status: Backport [https://github.com/strukturag/libde265/commit/bdca87569b9c63c2a7054d90ae4462dbb78d159a] + +Signed-off-by: Ankur Tyagi <[email protected]> +--- + libde265/de265.cc | 2 +- + libde265/image-io.cc | 4 ++-- + libde265/image.cc | 2 +- + libde265/image.h | 21 +++++++++++---------- + libde265/intrapred.h | 2 +- + libde265/motion.cc | 8 ++++---- + libde265/sao.cc | 18 +++++++++--------- + libde265/sei.cc | 18 ++++++++++-------- + libde265/sps.cc | 4 ++-- + libde265/sps.h | 11 +++++++++-- + 10 files changed, 50 insertions(+), 40 deletions(-) + +diff --git a/libde265/de265.cc b/libde265/de265.cc +index 48e38a01..02b2d5fd 100644 +--- a/libde265/de265.cc ++++ b/libde265/de265.cc +@@ -678,7 +678,7 @@ LIBDE265_API const uint8_t* de265_get_image_plane(const de265_image* img, int ch + + uint8_t* data = img->pixels_confwin[channel]; + +- if (stride) *stride = img->get_image_stride(channel) * ((de265_get_bits_per_pixel(img, channel)+7) / 8); ++ if (stride) *stride = static_cast<int>(img->get_image_stride(channel) * ((de265_get_bits_per_pixel(img, channel)+7) / 8)); + + return data; + } +diff --git a/libde265/image-io.cc b/libde265/image-io.cc +index f15234b6..14ca95f0 100644 +--- a/libde265/image-io.cc ++++ b/libde265/image-io.cc +@@ -76,7 +76,7 @@ de265_image* ImageSource_YUV::read_next_image() + // --- load image --- + + uint8_t* p; +- int stride; ++ ptrdiff_t stride; + + p = img->get_image_plane(0); stride = img->get_image_stride(0); + for (uint32_t y=0;y<height;y++) { +@@ -174,7 +174,7 @@ void ImageSink_YUV::send_image(const de265_image* img) + // --- write image --- + + const uint8_t* p; +- int stride; ++ ptrdiff_t stride; + + int width = img->get_width(); + int height= img->get_height(); +diff --git a/libde265/image.cc b/libde265/image.cc +index 94f3c974..59a19184 100644 +--- a/libde265/image.cc ++++ b/libde265/image.cc +@@ -184,7 +184,7 @@ de265_image_allocation de265_image::default_image_allocation = { + }; + + +-void de265_image::set_image_plane(int cIdx, uint8_t* mem, int stride, void *userdata) ++void de265_image::set_image_plane(int cIdx, uint8_t* mem, ptrdiff_t stride, void *userdata) + { + pixels[cIdx] = mem; + plane_user_data[cIdx] = userdata; +diff --git a/libde265/image.h b/libde265/image.h +index e0f1db24..114f41e4 100644 +--- a/libde265/image.h ++++ b/libde265/image.h +@@ -26,6 +26,7 @@ + #endif + + #include <assert.h> ++#include <stddef.h> + #include <stdint.h> + #include <stdlib.h> + #include <string.h> +@@ -235,11 +236,11 @@ struct de265_image { + /* */ uint8_t* get_image_plane(int cIdx) { return pixels[cIdx]; } + const uint8_t* get_image_plane(int cIdx) const { return pixels[cIdx]; } + +- void set_image_plane(int cIdx, uint8_t* mem, int stride, void *userdata); ++ void set_image_plane(int cIdx, uint8_t* mem, ptrdiff_t stride, void *userdata); + + uint8_t* get_image_plane_at_pos(int cIdx, int xpos,int ypos) + { +- int stride = get_image_stride(cIdx); ++ ptrdiff_t stride = get_image_stride(cIdx); + return pixels[cIdx] + xpos + ypos*stride; + } + +@@ -248,38 +249,38 @@ struct de265_image { + template <class pixel_t> + pixel_t* get_image_plane_at_pos_NEW(int cIdx, int xpos,int ypos) + { +- int stride = get_image_stride(cIdx); ++ ptrdiff_t stride = get_image_stride(cIdx); + return (pixel_t*)(pixels[cIdx] + (xpos + ypos*stride)*sizeof(pixel_t)); + } + + const uint8_t* get_image_plane_at_pos(int cIdx, int xpos,int ypos) const + { +- int stride = get_image_stride(cIdx); ++ ptrdiff_t stride = get_image_stride(cIdx); + return pixels[cIdx] + xpos + ypos*stride; + } + + void* get_image_plane_at_pos_any_depth(int cIdx, int xpos,int ypos) + { +- int stride = get_image_stride(cIdx); ++ ptrdiff_t stride = get_image_stride(cIdx); + return pixels[cIdx] + ((xpos + ypos*stride) << bpp_shift[cIdx]); + } + + const void* get_image_plane_at_pos_any_depth(int cIdx, int xpos,int ypos) const + { +- int stride = get_image_stride(cIdx); ++ ptrdiff_t stride = get_image_stride(cIdx); + return pixels[cIdx] + ((xpos + ypos*stride) << bpp_shift[cIdx]); + } + + /* Number of pixels in one row (not number of bytes). + */ +- int get_image_stride(int cIdx) const ++ ptrdiff_t get_image_stride(int cIdx) const + { + if (cIdx==0) return stride; + else return chroma_stride; + } + +- int get_luma_stride() const { return stride; } +- int get_chroma_stride() const { return chroma_stride; } ++ ptrdiff_t get_luma_stride() const { return stride; } ++ ptrdiff_t get_chroma_stride() const { return chroma_stride; } + + int get_width (int cIdx=0) const { return cIdx==0 ? width : chroma_width; } + int get_height(int cIdx=0) const { return cIdx==0 ? height : chroma_height; } +@@ -333,7 +334,7 @@ private: + int width = 0, height = 0; // size in luma pixels + + int chroma_width = 0, chroma_height = 0; +- int stride = 0, chroma_stride = 0; ++ ptrdiff_t stride = 0, chroma_stride = 0; + + public: + uint8_t BitDepth_Y = 0, BitDepth_C = 0; +diff --git a/libde265/intrapred.h b/libde265/intrapred.h +index 9b17f75b..a256cb3a 100644 +--- a/libde265/intrapred.h ++++ b/libde265/intrapred.h +@@ -533,7 +533,7 @@ void intra_border_computer<pixel_t>::fill_from_image() + assert(nT<=32); + + pixel_t* image; +- int stride; ++ ptrdiff_t stride; + image = (pixel_t*)img->get_image_plane(cIdx); + stride = img->get_image_stride(cIdx); + +diff --git a/libde265/motion.cc b/libde265/motion.cc +index c62c24c3..14e920e1 100644 +--- a/libde265/motion.cc ++++ b/libde265/motion.cc +@@ -50,7 +50,7 @@ void mc_luma(const base_context* ctx, + const seq_parameter_set* sps, int mv_x, int mv_y, + int xP,int yP, + int16_t* out, int out_stride, +- const pixel_t* ref, int ref_stride, ++ const pixel_t* ref, ptrdiff_t ref_stride, + int nPbW, int nPbH, int bitDepth_L) + { + int xFracL = mv_x & 3; +@@ -129,7 +129,7 @@ void mc_luma(const base_context* ctx, + pixel_t padbuf[(MAX_CU_SIZE+16)*(MAX_CU_SIZE+7)]; + + const pixel_t* src_ptr; +- int src_stride; ++ ptrdiff_t src_stride; + + if (-extra_left + xIntOffsL >= 0 && + -extra_top + yIntOffsL >= 0 && +@@ -181,7 +181,7 @@ void mc_chroma(const base_context* ctx, + int mv_x, int mv_y, + int xP,int yP, + int16_t* out, int out_stride, +- const pixel_t* ref, int ref_stride, ++ const pixel_t* ref, ptrdiff_t ref_stride, + int nPbWC, int nPbHC, int bit_depth_C) + { + // chroma sample interpolation process (8.5.3.2.2.2) +@@ -227,7 +227,7 @@ void mc_chroma(const base_context* ctx, + pixel_t padbuf[(MAX_CU_SIZE+16)*(MAX_CU_SIZE+3)]; + + const pixel_t* src_ptr; +- int src_stride; ++ ptrdiff_t src_stride; + + int extra_top = 1; + int extra_left = 1; +diff --git a/libde265/sao.cc b/libde265/sao.cc +index a0db84b2..579dcef2 100644 +--- a/libde265/sao.cc ++++ b/libde265/sao.cc +@@ -28,8 +28,8 @@ + template <class pixel_t> + void apply_sao_internal(de265_image* img, int xCtb,int yCtb, + const slice_segment_header* shdr, int cIdx, int nSW,int nSH, +- const pixel_t* in_img, int in_stride, +- /* */ pixel_t* out_img, int out_stride) ++ const pixel_t* in_img, ptrdiff_t in_stride, ++ /* */ pixel_t* out_img, ptrdiff_t out_stride) + { + const sao_info* saoinfo = img->get_sao_info(xCtb,yCtb); + +@@ -77,7 +77,7 @@ void apply_sao_internal(de265_image* img, int xCtb,int yCtb, + + if (SaoTypeIdx==2) { + int hPos[2], vPos[2]; +- int vPosStride[2]; // vPos[] multiplied by image stride ++ ptrdiff_t vPosStride[2]; // vPos[] multiplied by image stride + int SaoEoClass = (saoinfo->SaoEoClass >> (2*cIdx)) & 0x3; + + switch (SaoEoClass) { +@@ -266,8 +266,8 @@ void apply_sao_internal(de265_image* img, int xCtb,int yCtb, + template <class pixel_t> + void apply_sao(de265_image* img, int xCtb,int yCtb, + const slice_segment_header* shdr, int cIdx, int nSW,int nSH, +- const pixel_t* in_img, int in_stride, +- /* */ pixel_t* out_img, int out_stride) ++ const pixel_t* in_img, ptrdiff_t in_stride, ++ /* */ pixel_t* out_img, ptrdiff_t out_stride) + { + if (img->high_bit_depth(cIdx)) { + apply_sao_internal<uint16_t>(img,xCtb,yCtb, shdr,cIdx,nSW,nSH, +@@ -332,8 +332,8 @@ void apply_sample_adaptive_offset_sequential(de265_image* img) + return; + } + +- int lumaImageSize = img->get_image_stride(0) * img->get_height(0) * img->get_bytes_per_pixel(0); +- int chromaImageSize = img->get_image_stride(1) * img->get_height(1) * img->get_bytes_per_pixel(1); ++ size_t lumaImageSize = static_cast<size_t>(img->get_image_stride(0)) * img->get_height(0) * img->get_bytes_per_pixel(0); ++ size_t chromaImageSize = static_cast<size_t>(img->get_image_stride(1)) * img->get_height(1) * img->get_bytes_per_pixel(1); + + uint8_t* inputCopy = new uint8_t[ libde265_max(lumaImageSize, chromaImageSize) ]; + if (inputCopy == nullptr) { +@@ -347,10 +347,10 @@ void apply_sample_adaptive_offset_sequential(de265_image* img) + + for (int cIdx=0;cIdx<nChannels;cIdx++) { + +- int stride = img->get_image_stride(cIdx); ++ ptrdiff_t stride = img->get_image_stride(cIdx); + int height = img->get_height(cIdx); + +- memcpy(inputCopy, img->get_image_plane(cIdx), stride * height * img->get_bytes_per_pixel(cIdx)); ++ memcpy(inputCopy, img->get_image_plane(cIdx), static_cast<size_t>(stride) * height * img->get_bytes_per_pixel(cIdx)); + + for (int yCtb=0; yCtb<sps.PicHeightInCtbsY; yCtb++) + for (int xCtb=0; xCtb<sps.PicWidthInCtbsY; xCtb++) +diff --git a/libde265/sei.cc b/libde265/sei.cc +index 17b7f8b5..8a3d80a7 100644 +--- a/libde265/sei.cc ++++ b/libde265/sei.cc +@@ -99,7 +99,7 @@ static void dump_sei_decoded_picture_hash(const sei_message* sei, + class raw_hash_data + { + public: +- raw_hash_data(int w, int stride); ++ raw_hash_data(int w, ptrdiff_t stride); + ~raw_hash_data(); + + struct data_chunk { +@@ -111,13 +111,14 @@ public: + data_chunk prepare_16bit(const uint8_t* data,int y); + + private: +- int mWidth, mStride; ++ int mWidth; ++ ptrdiff_t mStride; + + uint8_t* mMem; + }; + + +-raw_hash_data::raw_hash_data(int w, int stride) ++raw_hash_data::raw_hash_data(int w, ptrdiff_t stride) + { + mWidth=w; + mStride=stride; +@@ -157,7 +158,7 @@ raw_hash_data::data_chunk raw_hash_data::prepare_16bit(const uint8_t* data,int y + } + + +-static uint32_t compute_checksum(uint8_t* data,int w,int h,int stride, int bit_depth) ++static uint32_t compute_checksum(uint8_t* data,int w,int h,ptrdiff_t stride, int bit_depth) + { + uint32_t sum = 0; + +@@ -170,7 +171,7 @@ static uint32_t compute_checksum(uint8_t* data,int w,int h,int stride, int bit_d + } + else { + auto* data16 = reinterpret_cast<uint16_t*>(data); +- int stride16 = stride / 2; ++ ptrdiff_t stride16 = stride / 2; + for (int y=0; y<h; y++) + for(int x=0; x<w; x++) { + uint8_t xorMask = ( x & 0xFF ) ^ ( y & 0xFF ) ^ ( x >> 8 ) ^ ( y >> 8 ); +@@ -224,7 +225,7 @@ static inline uint16_t crc_process_byte_parallel(uint16_t crc, uint8_t byte) + (t << 12)) & 0xFFFF; + } + +-static uint32_t compute_CRC_8bit_fast(const uint8_t* data,int w,int h,int stride, int bit_depth) ++static uint32_t compute_CRC_8bit_fast(const uint8_t* data,int w,int h,ptrdiff_t stride, int bit_depth) + { + raw_hash_data raw_data(w,stride); + +@@ -250,7 +251,7 @@ static uint32_t compute_CRC_8bit_fast(const uint8_t* data,int w,int h,int stride + } + + +-static void compute_MD5(uint8_t* data,int w,int h,int stride, uint8_t* result, int bit_depth) ++static void compute_MD5(uint8_t* data,int w,int h,ptrdiff_t stride, uint8_t* result, int bit_depth) + { + MD5_CTX md5; + MD5_Init(&md5); +@@ -289,7 +290,8 @@ static de265_error process_sei_decoded_picture_hash(const sei_message* sei, de26 + int nHashes = img->get_sps().chroma_format_idc==0 ? 1 : 3; + for (int i=0;i<nHashes;i++) { + uint8_t* data; +- int w,h,stride; ++ int w,h; ++ ptrdiff_t stride; + + w = img->get_width(i); + h = img->get_height(i); +diff --git a/libde265/sps.cc b/libde265/sps.cc +index aa871a09..a29a3c0a 100644 +--- a/libde265/sps.cc ++++ b/libde265/sps.cc +@@ -570,7 +570,7 @@ de265_error seq_parameter_set::compute_derived_values(bool sanitize_values) + PicHeightInCtbsY = ceil_div(pic_height_in_luma_samples,CtbSizeY); + PicSizeInMinCbsY = PicWidthInMinCbsY * PicHeightInMinCbsY; + PicSizeInCtbsY = PicWidthInCtbsY * PicHeightInCtbsY; +- PicSizeInSamplesY = pic_width_in_luma_samples * pic_height_in_luma_samples; ++ PicSizeInSamplesY = static_cast<uint32_t>(pic_width_in_luma_samples) * pic_height_in_luma_samples; + + if (chroma_format_idc==0 || separate_colour_plane_flag) { + CtbWidthC = 0; +@@ -1325,7 +1325,7 @@ de265_error seq_parameter_set::write(error_queue* errqueue, CABAC_encoder& out) + PicHeightInCtbsY = ceil_div(pic_height_in_luma_samples,CtbSizeY); + PicSizeInMinCbsY = PicWidthInMinCbsY * PicHeightInMinCbsY; + PicSizeInCtbsY = PicWidthInCtbsY * PicHeightInCtbsY; +- PicSizeInSamplesY = pic_width_in_luma_samples * pic_height_in_luma_samples; ++ PicSizeInSamplesY = static_cast<uint32_t>(pic_width_in_luma_samples) * pic_height_in_luma_samples; + if (chroma_format_idc==0 || separate_colour_plane_flag) { + CtbWidthC = 0; + CtbHeightC = 0; +diff --git a/libde265/sps.h b/libde265/sps.h +index c8be9788..5cb0b46c 100644 +--- a/libde265/sps.h ++++ b/libde265/sps.h +@@ -39,6 +39,13 @@ constexpr int MAX_NUM_LT_REF_PICS_SPS = 32; + constexpr int MAX_PICTURE_WIDTH = 65535; + constexpr int MAX_PICTURE_HEIGHT = 65535; + ++// pic_width/height_in_luma_samples are stored as uint16_t and PicSizeInSamplesY as uint32_t, ++// so these limits must keep width/height in 16 bits and their product in 32 bits. ++static_assert(MAX_PICTURE_WIDTH <= 0xFFFF, "picture width must fit in uint16_t"); ++static_assert(MAX_PICTURE_HEIGHT <= 0xFFFF, "picture height must fit in uint16_t"); ++static_assert((uint64_t)MAX_PICTURE_WIDTH * MAX_PICTURE_HEIGHT <= 0xFFFFFFFFu, ++ "total luma sample count must fit in uint32_t"); ++ + enum { + CHROMA_MONO = 0, + CHROMA_420 = 1, +@@ -111,8 +118,8 @@ public: + uint8_t chroma_format_idc; // [0;3] + + bool separate_colour_plane_flag; +- int pic_width_in_luma_samples; +- int pic_height_in_luma_samples; ++ uint16_t pic_width_in_luma_samples; // <= MAX_PICTURE_WIDTH (validated on parse) ++ uint16_t pic_height_in_luma_samples; // <= MAX_PICTURE_HEIGHT (validated on parse) + bool conformance_window_flag; + + int conf_win_left_offset;
meta-multimedia/recipes-multimedia/libde265/libde265_1.0.19.bb +1 -0
@@ -12,6 +12,7 @@ SRC_URI = "git://github.com/strukturag/libde265.git;branch=master;protocol=https file://CVE-2026-49295.patch \ file://CVE-2026-49337.patch \ file://CVE-2026-49346.patch \ + file://CVE-2026-54240-CVE-2026-54241.patch \ " SRCREV = "824b4138ecd51611d7073f1b50d5d6f982609b06"
PATCH 15/42 libheif: ignore CVE-2026-84383
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-84383
--- meta-multimedia/recipes-multimedia/libheif/libheif_1.21.2.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-multimedia/recipes-multimedia/libheif/libheif_1.21.2.bb +2 -0
@@ -34,3 +34,5 @@ PACKAGECONFIG[jpeg2000] = "-DWITH_OpenJPEG_ENCODER=ON -DWITH_OpenJPEG_DECODER=ON PACKAGECONFIG[openh264] = ",,openh264" FILES:${PN} += "${libdir}/libheif ${datadir}/thumbnailers ${libdir}/gdk-pixbuf*" + +CVE_STATUS[CVE-2026-84383] = "cpe-incorrect: This vulnerability was introduced in v1.22"
PATCH 16/42 libwebsockets: patch CVE-2026-19773
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-19773
--- .../libwebsockets/CVE-2026-19773.patch | 31 +++++++++++++++++++ .../libwebsockets/libwebsockets_4.5.8.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-connectivity/libwebsockets/libwebsockets/CVE-2026-19773.patch
meta-oe/recipes-connectivity/libwebsockets/libwebsockets/CVE-2026-19773.patch new file +31 -0
@@ -0,0 +1,31 @@ +From 998a9af40aa6c2ddcb91c662d6585ea80ab52f85 Mon Sep 17 00:00:00 2001 +From: Andy Green <[email protected]> +Date: Fri, 3 Jul 2026 18:43:25 +0100 +Subject: [PATCH] zdi-can-31036: h2 bounds check on server + +This vulnerability was discovered by: +Maher Azzouzi working with TrendAI Zero Day Initiative + +(cherry picked from commit 824151862f37bc72f46d9a3e01d5b9408d313a0b) + +CVE: CVE-2026-19773 +Upstream-Status: Backport [https://github.com/warmcat/libwebsockets/commit/824151862f37bc72f46d9a3e01d5b9408d313a0b] +Signed-off-by: Ankur Tyagi <[email protected]> +--- + lib/roles/h2/hpack.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/lib/roles/h2/hpack.c b/lib/roles/h2/hpack.c +index 1025faa6f..863eb88c9 100644 +--- a/lib/roles/h2/hpack.c ++++ b/lib/roles/h2/hpack.c +@@ -274,6 +274,9 @@ static int lws_frag_append(struct lws *wsi, unsigned char c) + { + struct allocated_headers *ah = wsi->http.ah; + ++ if ((unsigned int)ah->pos >= wsi->a.context->max_http_header_data) ++ return 1; ++ + ah->data[ah->pos++] = (char)c; + ah->frags[ah->nfrag].len++; +
meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.5.8.bb +1 -0
@@ -10,6 +10,7 @@ SRCREV = "fbb0baf6af9c4324f0f1591734c78b0089b599d4" SRC_URI = " \ git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.5-stable;tag=v${PV} \ file://CVE-2026-10650.patch \ + file://CVE-2026-19773.patch \ " UPSTREAM_CHECK_URI = "https://github.com/warmcat/${BPN}/releases"
PATCH 17/42 faad2: upgrade 2.11.2 -> 2.11.3
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
https://github.com/knik0/faad2/blob/2.11.3/ChangeLog
---
.../faad2/{faad2_2.11.2.bb => faad2_2.11.3.bb} | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
rename meta-oe/recipes-multimedia/faad2/{faad2_2.11.2.bb => faad2_2.11.3.bb} (81%)meta-oe/recipes-multimedia/faad2/faad2_2.11.3.bb renamed from meta-oe/recipes-multimedia/faad2/faad2_2.11.2.bb +2 -4
@@ -7,10 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=381c8cbe277a7bc1ee2ae6083a04c958" LICENSE_FLAGS = "commercial" -PV .= "+git" - -SRC_URI = "git://github.com/knik0/faad2.git;branch=master;protocol=https" -SRCREV = "673a22a3c7c33e96e2ff7aae7c4d2bc190dfbf92" +SRC_URI = "git://github.com/knik0/faad2.git;branch=master;protocol=https;tag=${PV}" +SRCREV = "6918ebb51b8f7e86278da15884bd7114e4b9661e" inherit cmake
PATCH 18/42 libmxml: upgrade 4.0.4 -> 4.0.5
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
https://github.com/michaelrsweet/mxml/releases/tag/v4.0.5
---
.../libmxml/{libmxml_4.0.4.bb => libmxml_4.0.5.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-support/libmxml/{libmxml_4.0.4.bb => libmxml_4.0.5.bb} (92%)meta-oe/recipes-support/libmxml/libmxml_4.0.5.bb renamed from meta-oe/recipes-support/libmxml/libmxml_4.0.4.bb +2 -2
@@ -4,8 +4,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" HOMEPAGE = "https://www.msweet.org/mxml/" BUGTRACKER = "https://github.com/michaelrsweet/mxml/issues" -SRC_URI = "git://github.com/michaelrsweet/mxml.git;branch=master;protocol=https" -SRCREV = "0d5afc4278d7a336d554602b951c2979c3f8f296" +SRC_URI = "git://github.com/michaelrsweet/mxml.git;branch=master;protocol=https;tag=v${PV}" +SRCREV = "18d5c7dd9c71ebc1d3f21fe1e0614300babdda84" # Package does not support out of tree builds. inherit autotools-brokensep
PATCH 19/42 nanomsg: upgrade 1.2.2 -> 1.2.4
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
https://github.com/nanomsg/nanomsg/releases/tag/1.2.3
https://github.com/nanomsg/nanomsg/releases/tag/1.2.4
---
.../nanomsg/{nanomsg_1.2.2.bb => nanomsg_1.2.4.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-networking/recipes-connectivity/nanomsg/{nanomsg_1.2.2.bb => nanomsg_1.2.4.bb} (94%)meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.4.bb renamed from meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.2.bb +2 -2
@@ -9,11 +9,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=587b3fd7fd291e418ff4d2b8f3904755" SECTION = "libs/networking" -SRC_URI = "git://github.com/nanomsg/nanomsg.git;protocol=https;branch=master \ +SRC_URI = "git://github.com/nanomsg/nanomsg.git;protocol=https;branch=master;tag=${PV} \ file://run-ptest \ " -SRCREV = "ccd7f20c1b756f7041598383baffcdc326246db7" +SRCREV = "e6d0b8ddfc780eb89f8f6ef305e92c19e76bed6b" inherit cmake pkgconfig ptest
PATCH 20/42 nanomsg: upgrade 1.2.4 -> 1.2.5
In reply to [email protected]From: Nate Kent <[email protected]>
Minor security fix for people using IPC transport.
Changelogs:
* https://github.com/nanomsg/nanomsg/releases/tag/1.2.5
---
.../nanomsg/{nanomsg_1.2.4.bb => nanomsg_1.2.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-networking/recipes-connectivity/nanomsg/{nanomsg_1.2.4.bb => nanomsg_1.2.5.bb} (96%)meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.5.bb renamed from meta-networking/recipes-connectivity/nanomsg/nanomsg_1.2.4.bb +1 -1
@@ -13,7 +13,7 @@ SRC_URI = "git://github.com/nanomsg/nanomsg.git;protocol=https;branch=master;tag file://run-ptest \ " -SRCREV = "e6d0b8ddfc780eb89f8f6ef305e92c19e76bed6b" +SRCREV = "85856cb785ba6dd38c5e9757298a54d1bca55580" inherit cmake pkgconfig ptest
PATCH 21/42 libopenmpt: upgrade 0.8.4 -> 0.8.6
In reply to [email protected]From: Ankur Tyagi <[email protected]>
License-Update: copyright year updated[1]
Changelog:
https://lib.openmpt.org/libopenmpt/2026/03/22/security-updates-0.8.5-0.7.18-0.6.27-0.5.41-0.4.53/
https://lib.openmpt.org/libopenmpt/2026/03/24/security-updates-0.8.6-0.7.19-0.6.28-0.5.42-0.4.54/
[1]https://github.com/OpenMPT/openmpt/commit/3d93be10ca24e4b953fe6adb960ccfb9e30f88fa
---
.../libopenmpt/{libopenmpt_0.8.4.bb => libopenmpt_0.8.6.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-multimedia/recipes-multimedia/libopenmpt/{libopenmpt_0.8.4.bb => libopenmpt_0.8.6.bb} (95%)meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.8.6.bb renamed from meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.8.4.bb +2 -2
@@ -7,14 +7,14 @@ HOMEPAGE = "https://lib.openmpt.org/libopenmpt/" SECTION = "libs" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=979c86485a65d11403e9bf083b9a0812" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f801f6aa19d904b2b8fa8383a34f771b" DEPENDS = "virtual/libiconv" SRC_URI = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${PV}+release.autotools.tar.gz \ file://run-ptest \ " -SRC_URI[sha256sum] = "627f9bf11aacae615a1f2c982c7e88cb21f11b2d6f0267946f7c82c5eae4943b" +SRC_URI[sha256sum] = "caa2fa959e389f4374d9e2df3af5c633452c12dd80442cba2e89cb7ff2b93c5b" S = "${UNPACKDIR}/libopenmpt-${PV}+release.autotools"
PATCH 22/42 python3-tzdata: Upgrade 2026.3 -> 2026.4
In reply to [email protected]From: Leon Anavi <[email protected]>
Upgrade to release 2026.4:
- Canada's Northwest Territories moved to permanent -06 on 2026-08-21.
- Obsolescent settings like TZ="EST5EDT" now conform better to POSIX.
- Fix security, performance and porting bugs in zic and localtime.
This work was sponsored by GOVCERT.LU.
---
.../{python3-tzdata_2026.3.bb => python3-tzdata_2026.4.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-tzdata_2026.3.bb => python3-tzdata_2026.4.bb} (86%)meta-python/recipes-devtools/python/python3-tzdata_2026.4.bb renamed from meta-python/recipes-devtools/python/python3-tzdata_2026.3.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=804220b73c90950be376e7ff7b2066bb \ file://licenses/LICENSE_APACHE;md5=86d3f3a95c324c9479bd8986968f4327 \ " -SRC_URI[sha256sum] = "4a1518b8993086a7982523e071643f3c0e5f213e75b21318e78bcabfff9d1415" +SRC_URI[sha256sum] = "f1b8bd365d8d210c55353f4d7f8d6d8561c0ba50d704b700d195a9424bba0d79" inherit pypi python_setuptools_build_meta ptest-python-pytest
PATCH 23/42 smarty: mark CVEs patched
In reply to [email protected]From: Ankur Tyagi <[email protected]>
CVE-2024-35226[1], CVE-2026-62992[2], CVE-2026-62996[3] are patched in current version.
Details:
https://nvd.nist.gov/vuln/detail/cve-2024-35226
https://nvd.nist.gov/vuln/detail/cve-2026-62992
https://nvd.nist.gov/vuln/detail/cve-2026-62996
[1]https://github.com/smarty-php/smarty/commit/0be92bc8a6fb83e6e0d883946f7e7c09ba4e857a [2]https://github.com/smarty-php/smarty/commit/99c048ce7a590c519b79fbd38ad0143a08183a1f [3]https://github.com/smarty-php/smarty/commit/3c9f77a2e06ce319ae0092496af32cc8f3adc52e
--- meta-oe/recipes-support/smarty/smarty_5.8.4.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-oe/recipes-support/smarty/smarty_5.8.4.bb +4 -0
@@ -35,3 +35,7 @@ FILES:${PN} += "${datadir}/php/smarty3/" RDEPENDS:${PN} = "php" CVE_PRODUCT = "smarty:smarty smarty-php:smarty" + +CVE_STATUS[CVE-2024-35226] = "fixed-version: fixed since v5.2.0" +CVE_STATUS[CVE-2026-62992] = "fixed-version: fixed since v5.8.2" +CVE_STATUS[CVE-2026-62996] = "fixed-version: fixed in v5.8.4"
PATCH 24/42 libssh: ignore CVE-2026-59842
In reply to [email protected]From: Ankur Tyagi <[email protected]>
The vulnerability exists in GSSAPI key exchange introduced in v0.12.0[1] Also confirmed by libssh security advisory[2]
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-59842
[1]https://gitlab.com/libssh/libssh-mirror/-/commit/88c2ea6752fab7b3da9cc4c51eaf632361a44080 [2]https://www.libssh.org/security/advisories/CVE-2026-59842.txt
--- meta-oe/recipes-support/libssh/libssh_0.11.5.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-support/libssh/libssh_0.11.5.bb +1 -0
@@ -58,3 +58,4 @@ CVE_STATUS[CVE-2026-59847] = "fixed-version: fixed in v0.11.5" CVE_STATUS[CVE-2026-59848] = "fixed-version: fixed in v0.11.5" CVE_STATUS[CVE-2026-59849] = "fixed-version: fixed in v0.11.5" CVE_STATUS[CVE-2026-59850] = "fixed-version: fixed in v0.11.5" +CVE_STATUS[CVE-2026-59842] = "cpe-incorrect: the current version (0.11.5) is not affected"
PATCH 25/42 ntopng: ignore CVE-2026-84989
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-84989
--- meta-networking/recipes-support/ntopng/ntopng_6.6.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-support/ntopng/ntopng_6.6.bb +2 -0
@@ -49,3 +49,5 @@ do_configure:prepend() { } SYSTEMD_SERVICE:${PN} = "ntopng.service" + +CVE_STATUS[CVE-2026-84989] = "cpe-incorrect: This vulnerability was introduced in v6.7"
PATCH 26/42 ntopng: patch CVE-2026-84990
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-84990
--- .../ntopng/files/CVE-2026-84990.patch | 53 +++++++++++++++++++ .../recipes-support/ntopng/ntopng_6.6.bb | 1 + 2 files changed, 54 insertions(+) create mode 100644 meta-networking/recipes-support/ntopng/files/CVE-2026-84990.patch
meta-networking/recipes-support/ntopng/files/CVE-2026-84990.patch new file +53 -0
@@ -0,0 +1,53 @@ +From 2f36e393fc35f576d7c447af337848e81990b084 Mon Sep 17 00:00:00 2001 +From: Alfredo Cardigliano <[email protected]> +Date: Fri, 17 Jul 2026 11:51:03 +0200 +Subject: [PATCH] Add admin check in conf backup listing and download + +(cherry picked from commit f912ee93bc143330b6ff3bb946ee7211e5ee9e1a) + +CVE: CVE-2026-84990 +Upstream-Status: Backport [https://github.com/ntop/ntopng/commit/f912ee93bc143330b6ff3bb946ee7211e5ee9e1a] +Signed-off-by: Ankur Tyagi <[email protected]> +--- + .../rest/v2/get/system/configurations/download_backup.lua | 5 +++++ + .../v2/get/system/configurations/list_available_backups.lua | 6 ++++++ + 2 files changed, 11 insertions(+) + +diff --git a/scripts/lua/rest/v2/get/system/configurations/download_backup.lua b/scripts/lua/rest/v2/get/system/configurations/download_backup.lua +index 1603a94c48..404b09ed97 100644 +--- a/scripts/lua/rest/v2/get/system/configurations/download_backup.lua ++++ b/scripts/lua/rest/v2/get/system/configurations/download_backup.lua +@@ -12,6 +12,11 @@ local backup_config = require("backup_config") + + -- ############################################## + ++if not isAdministratorOrPrintErr() then ++ rest_utils.answer(rest_utils.consts.err.not_granted) ++ return ++end ++ + local download = _GET["download"] + local epoch = _GET["epoch"] + +diff --git a/scripts/lua/rest/v2/get/system/configurations/list_available_backups.lua b/scripts/lua/rest/v2/get/system/configurations/list_available_backups.lua +index d901a876b0..8a08ad15d5 100644 +--- a/scripts/lua/rest/v2/get/system/configurations/list_available_backups.lua ++++ b/scripts/lua/rest/v2/get/system/configurations/list_available_backups.lua +@@ -8,11 +8,17 @@ package.path = dirs.installdir .. "/scripts/lua/modules/system_config/?.lua;" .. + + -- ############################################## + ++require "lua_utils" + local backup_config = require("backup_config") + local rest_utils = require("rest_utils") + + -- ############################################## + ++if not isAdministratorOrPrintErr() then ++ rest_utils.answer(rest_utils.consts.err.not_granted) ++ return ++end ++ + local rc = rest_utils.consts.success.ok + + local order = _GET["order"] or "desc"
meta-networking/recipes-support/ntopng/ntopng_6.6.bb +1 -0
@@ -18,6 +18,7 @@ SRC_URI = "gitsm://github.com/ntop/ntopng;protocol=https;branch=6.6-stable \ file://0001-configure.ac.in-Allow-dynamic-linking-against-ndpi-3.patch \ file://0001-luaengine-Use-lua-5.5-API-signature-for-lua_newstate.patch \ file://ntopng.service \ + file://CVE-2026-84990.patch \ " # don't use the lua under thirdparty as it supports cross compiling badly
PATCH 27/42 ntopng: patch CVE-2026-86090 and CVE-2026-86091
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Details:
https://nvd.nist.gov/vuln/detail/cve-2026-86090
https://nvd.nist.gov/vuln/detail/cve-2026-86091
--- .../files/CVE-2026-86090-CVE-2026-86091.patch | 67 +++++++++++++++++++ .../recipes-support/ntopng/ntopng_6.6.bb | 1 + 2 files changed, 68 insertions(+) create mode 100644 meta-networking/recipes-support/ntopng/files/CVE-2026-86090-CVE-2026-86091.patch
meta-networking/recipes-support/ntopng/files/CVE-2026-86090-CVE-2026-86091.patch new file +67 -0
@@ -0,0 +1,67 @@ +From c6f4d42e1bb029463f927532819c5f5b331ea066 Mon Sep 17 00:00:00 2001 +From: Alfredo Cardigliano <[email protected]> +Date: Thu, 16 Jul 2026 14:42:29 +0200 +Subject: [PATCH] Fix user capability check for deleting notification endpoints + and pools + +(cherry picked from commit 7d830f31af367745431c5d92e2e82fc432f6bdd8) + +CVE: CVE-2026-86090 CVE-2026-86091 +Upstream-Status: Backport [https://github.com/ntop/ntopng/commit/7d830f31af367745431c5d92e2e82fc432f6bdd8] +Signed-off-by: Ankur Tyagi <[email protected]> +--- + scripts/lua/modules/pools/pools_rest_utils.lua | 5 +++++ + scripts/lua/rest/v2/delete/endpoints.lua | 6 ++++++ + scripts/lua/rest/v2/delete/recipients.lua | 6 ++++++ + 3 files changed, 17 insertions(+) + +diff --git a/scripts/lua/modules/pools/pools_rest_utils.lua b/scripts/lua/modules/pools/pools_rest_utils.lua +index 9b692ea5db..73f08e0c8d 100644 +--- a/scripts/lua/modules/pools/pools_rest_utils.lua ++++ b/scripts/lua/modules/pools/pools_rest_utils.lua +@@ -452,6 +452,11 @@ end + + -- @brief Get all pools of all the available (currently implemented) pool instances + function pools_rest_utils.delete_all_instances_pools() ++ if not auth.has_capability(auth.capabilities.pools) then ++ rest_utils.answer(rest_utils.consts.err.not_granted) ++ return ++ end ++ + local all_instances = pools_lua_utils.all_pool_instances_factory() + + for _, instance in pairs(all_instances) do +diff --git a/scripts/lua/rest/v2/delete/endpoints.lua b/scripts/lua/rest/v2/delete/endpoints.lua +index 31852cedab..6d25c01953 100644 +--- a/scripts/lua/rest/v2/delete/endpoints.lua ++++ b/scripts/lua/rest/v2/delete/endpoints.lua +@@ -10,6 +10,12 @@ package.path = dirs.installdir .. "/scripts/lua/modules/notifications/?.lua;" .. + local rest_utils = require "rest_utils" + local endpoints = require("endpoints") + local recipients = require "recipients" ++local auth = require "auth" ++ ++if not auth.has_capability(auth.capabilities.notifications) then ++ rest_utils.answer(rest_utils.consts.err.not_granted) ++ return ++end + + endpoints.reset_configs() + recipients.cleanup() +diff --git a/scripts/lua/rest/v2/delete/recipients.lua b/scripts/lua/rest/v2/delete/recipients.lua +index cbdffcae4c..14b3956498 100644 +--- a/scripts/lua/rest/v2/delete/recipients.lua ++++ b/scripts/lua/rest/v2/delete/recipients.lua +@@ -8,6 +8,12 @@ package.path = dirs.installdir .. "/scripts/lua/modules/notifications/?.lua;" .. + + local rest_utils = require "rest_utils" + local recipients = require "recipients" ++local auth = require "auth" ++ ++if not auth.has_capability(auth.capabilities.notifications) then ++ rest_utils.answer(rest_utils.consts.err.not_granted) ++ return ++end + + recipients.cleanup() + rest_utils.answer(rest_utils.consts.success.ok)
meta-networking/recipes-support/ntopng/ntopng_6.6.bb +1 -0
@@ -19,6 +19,7 @@ SRC_URI = "gitsm://github.com/ntop/ntopng;protocol=https;branch=6.6-stable \ file://0001-luaengine-Use-lua-5.5-API-signature-for-lua_newstate.patch \ file://ntopng.service \ file://CVE-2026-84990.patch \ + file://CVE-2026-86090-CVE-2026-86091.patch \ " # don't use the lua under thirdparty as it supports cross compiling badly
PATCH 28/42 ldns: correct CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The default product-only mapping generates a vendor-wildcard CPE. nlnetlabs:ldns is the active NVD dictionary CPE and configuration identity for the packaged NLnet Labs source.
This changes the generated product identity to an exact CPE, but the frozen sbom-cve-check database leaves the eight-entry CVE report unchanged, with no current CVE delta.
--- meta-oe/recipes-devtools/ldns/ldns_1.9.2.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/ldns/ldns_1.9.2.bb +2 -0
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=34330f15b2b4abbbaaa7623f79a6a019" SRC_URI = "https://www.nlnetlabs.nl/downloads/ldns/ldns-${PV}.tar.gz" SRC_URI[sha256sum] = "b524fa21994b6e834200ceb8c27f1b84bda5982fe35706f058196c079db94d5d" +CVE_PRODUCT = "nlnetlabs:ldns" + DEPENDS = "openssl" inherit autotools-brokensep
PATCH 29/42 dnsmasq: correct CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The default product-only mapping generates vendor-wildcard CPEs for the recipe's Simon Kelley source. dnsmasq:dnsmasq is an NVD configuration identity and CNA affected-data identity; the_kelleys:dnsmasq is an NVD configuration identity; and thekelleys:dnsmasq is an active NVD dictionary CPE and configuration identity with CNA affected-data records.
This changes the generated product identities. With the frozen sbom-cve-check database, the 48-entry CVE report is unchanged, so this is an identity correction with no CVE delta.
--- meta-networking/recipes-support/dnsmasq/dnsmasq_2.93.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-support/dnsmasq/dnsmasq_2.93.bb +2 -0
@@ -18,6 +18,8 @@ SRC_URI = "http://www.thekelleys.org.uk/dnsmasq/${@['archive/', ''][float(d.getV " SRC_URI[sha256sum] = "cc967771abdafeb43d10db18932d6b59fd4bed2c69c22acf8cb96aff6920d55f" +CVE_PRODUCT = "dnsmasq:dnsmasq the_kelleys:dnsmasq thekelleys:dnsmasq" + inherit pkgconfig update-rc.d systemd INITSCRIPT_NAME = "dnsmasq"
PATCH 30/42 jq: correct CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The default product-only mapping generates a vendor-wildcard CPE. Use jq_project:jq for the historical NVD dictionary CPE and configuration identity carrying two jq 1.5 CVEs, and jqlang:jq for the active NVD dictionary CPE and configuration identity plus CNA affected-data identity used by the current upstream.
This changes the generated identities to two exact CPEs, but the frozen sbom-cve-check database leaves the 26-entry CVE report unchanged, with no current CVE delta.
--- meta-oe/recipes-devtools/jq/jq_1.8.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/jq/jq_1.8.1.bb +2 -0
@@ -32,6 +32,8 @@ SRC_URI = "git://github.com/jqlang/jq.git;protocol=https;branch=master;tag=jq-${ CVE_STATUS[CVE-2025-49014] = "fixed-version: fixed in v1.8.1" +CVE_PRODUCT = "jq_project:jq jqlang:jq" + inherit autotools ptest UPSTREAM_CHECK_GITTAGREGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
PATCH 31/42 python3-twisted: correct CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The product-only "twisted" value emits a wildcard-vendor identity instead of the active identity assigned to the packaged Twisted source.
Use "twisted:twisted" for its NVD dictionary CPE, NVD configuration, and CNA affected-data identities. With sbom-cve-check 1.3.3 and the pinned database snapshots, the generated product identity changes; the current CVE report is unchanged.
--- meta-python/recipes-devtools/python/python3-twisted_25.5.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-twisted_25.5.0.bb +1 -1
@@ -16,7 +16,7 @@ SRC_URI += "file://CVE-2026-42304_p1.patch \ SRC_URI[sha256sum] = "1deb272358cb6be1e3e8fc6f9c8b36f78eb0fa7c2233d2dbe11ec6fee04ea316" -CVE_PRODUCT = "twisted" +CVE_PRODUCT = "twisted:twisted" inherit pypi python_hatchling
PATCH 32/42 php: correct CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The default product-only mapping generates a vendor-wildcard CPE. php:php is the active NVD dictionary CPE and configuration identity. php_group:php preserves historical NVD configurations and current authoritative PHP Security CNA affected data for the same php-src source; it is not an NVD dictionary CPE.
This changes the generated identities to two exact CPEs, but the frozen sbom-cve-check database leaves the 731-entry CVE report unchanged, with no current CVE delta.
--- meta-oe/recipes-devtools/php/php_8.5.10.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/php/php_8.5.10.bb +2 -0
@@ -34,6 +34,8 @@ S = "${UNPACKDIR}/php-${PV}" SRC_URI[sha256sum] = "d79bd4f3a9248e5cb5833766ba0d51cd35dd01b8727f23f30bcdba6fabc51d3e" +CVE_PRODUCT = "php:php php_group:php" + CVE_STATUS_GROUPS += "CVE_STATUS_PHP" CVE_STATUS_PHP[status] = "fixed-version: The name of this product is exactly the same as github.com/emlog/emlog. CVE can be safely ignored." CVE_STATUS_PHP = " \
PATCH 33/42 python3-ldap: correct python-ldap CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The current "python-ldap" mapping generates a vendor-wildcard product identity for the packaged Python binding.
Use "python-ldap:python-ldap" so it matches the NVD dictionary CPE and configuration identity. The generated product identity changes, but sbom-cve-check 1.3.3 reports no CVE delta with the pinned databases.
--- meta-python/recipes-networking/python/python3-ldap_3.4.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-networking/python/python3-ldap_3.4.5.bb +1 -1
@@ -29,4 +29,4 @@ RDEPENDS:${PN} = " \ python3-unittest \ " -CVE_PRODUCT = "python-ldap" +CVE_PRODUCT = "python-ldap:python-ldap"
PATCH 34/42 mariadb: correct CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The default product-only mapping generates a vendor-wildcard CPE. mariadb:mariadb is the active NVD dictionary CPE and configuration identity, and is also used by CNA affected data for the packaged MariaDB source. Deprecated mariadb_project records describe a separate Node.js connector.
This changes the generated product identity to an exact CPE, but the frozen sbom-cve-check database leaves the 420-entry CVE report unchanged, with no current CVE delta.
--- meta-oe/recipes-dbs/mysql/mariadb_11.4.12.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-dbs/mysql/mariadb_11.4.12.bb +2 -0
@@ -1,5 +1,7 @@ require mariadb.inc +CVE_PRODUCT = "mariadb:mariadb" + inherit ptest inherit useradd
PATCH 35/42 libssh: correct CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The default product-only mapping generates a vendor-wildcard CPE. libssh:libssh is the active NVD dictionary CPE and configuration identity for the packaged libssh source.
This changes the generated product identity to an exact CPE, but the frozen sbom-cve-check database leaves the 48-entry CVE report unchanged, with no current CVE delta.
--- meta-oe/recipes-support/libssh/libssh_0.11.5.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-support/libssh/libssh_0.11.5.bb +1 -0
@@ -15,6 +15,7 @@ SRC_URI:append:toolchain-clang = " file://0001-CompilerChecks.cmake-drop-Wunused SRCREV = "a09fdd00416e53b6ed436df6ff14339a4f884601" +CVE_PRODUCT = "libssh:libssh" inherit cmake ptest
PATCH 36/42 python3-flask-user: correct CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The current "flask-user" mapping emits the wildcard-vendor *:flask-user CPE instead of the exact NVD identity for the packaged lingthio/Flask-User source.
Use "flask-user_project:flask-user", which is both an NVD dictionary CPE and an NVD configuration identity. CNA affected data uses "n/a:Flask-User" and remains covered by scanner aliases. With sbom-cve-check 1.3.3 and the pinned 2026-08-12 data, the generated identity changes but CVE-2021-23401 remains reported as affected.
--- .../recipes-devtools/python/python3-flask-user_0.6.19.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb +1 -1
@@ -11,7 +11,7 @@ SRC_URI[sha256sum] = "601abcc0343dfbae0c56273d98362d5cdc266ac84d20b3f65a212e4a2c PYPI_PACKAGE = "Flask-User" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -CVE_PRODUCT = "flask-user" +CVE_PRODUCT = "flask-user_project:flask-user" inherit pypi setuptools3
PATCH 37/42 python3-aiohttp: correct CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The current "aiohttp" mapping emits the wildcard-vendor *:aiohttp CPE instead of the exact NVD identity for the packaged aio-libs/aiohttp source.
Use "aiohttp:aiohttp", which is both an NVD dictionary CPE and an NVD configuration identity. CNA affected data uses "aio-libs:aiohttp" and remains covered by scanner aliases. With sbom-cve-check 1.3.3 and the pinned 2026-08-12 data, the generated identity changes but the current CVE report does not.
--- meta-python/recipes-devtools/python/python3-aiohttp_3.13.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-aiohttp_3.13.5.bb +1 -1
@@ -19,7 +19,7 @@ SRC_URI += " \ file://CVE-2026-54280.patch \ " -CVE_PRODUCT = "aiohttp" +CVE_PRODUCT = "aiohttp:aiohttp" CVE_STATUS_GROUPS = "CVE_AIOHTTP_FIX_3_13_4" CVE_AIOHTTP_FIX_3_13_4[status] = "fixed-version: fixed in 3.13.4" CVE_AIOHTTP_FIX_3_13_4 = "CVE-2026-22815 CVE-2026-34513 CVE-2026-34514 \
PATCH 38/42 python3-werkzeug: correct CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The current product-only "werkzeug" mapping emits a wildcard-vendor identity instead of the exact identities assigned to the packaged Pallets source.
Use "pallets:werkzeug" for the CNA affected-data identity and "palletsprojects:werkzeug" for the NVD dictionary CPE and configuration identity. This changes the generated product identity, but sbom-cve-check 1.3.3 with the pinned databases leaves the current CVE report unchanged.
--- meta-python/recipes-devtools/python/python3-werkzeug_3.1.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-werkzeug_3.1.8.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dc88300786f1c214c1e9827a5229462" SRC_URI[sha256sum] = "9bad61a4268dac112f1c5cd4630a56ede601b6ed420300677a869083d70a4c44" -CVE_PRODUCT = "werkzeug" +CVE_PRODUCT = "pallets:werkzeug palletsprojects:werkzeug" inherit pypi python_flit_core
PATCH 39/42 python3-flask: correct CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The current "flask" mapping emits the wildcard-vendor *:flask CPE instead of the exact NVD identity for the packaged pallets/flask source.
Use "palletsprojects:flask", which is both an NVD dictionary CPE and an NVD configuration identity. CNA affected data uses "pallets:flask" and "The Pallets Project:Flask", which remain covered by scanner aliases. With sbom-cve-check 1.3.3 and the pinned 2026-08-12 data, the generated identity changes but the current CVE report does not.
--- meta-python/recipes-devtools/python/python3-flask_3.1.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-flask_3.1.3.bb +1 -1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75" SRC_URI[sha256sum] = "0ef0e52b8a9cd932855379197dd8f94047b359ca0a78695144304cb45f87c9eb" -CVE_PRODUCT = "flask" +CVE_PRODUCT = "palletsprojects:flask" inherit pypi python_flit_core ptest-python-pytest
PATCH 40/42 python3-twitter: correct Tweepy CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The product-only "tweepy" value emits a wildcard-vendor identity and hides the distinct NVD identities assigned to the packaged Tweepy source.
Use "josh_roesslein:tweepy" for its NVD dictionary CPE and "tweepy:tweepy" for the NVD configuration-only identity. With sbom-cve-check 1.3.3 and the pinned database snapshots, the generated product identity changes; the current CVE report is unchanged.
--- meta-python/recipes-devtools/python/python3-twitter_4.16.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-twitter_4.16.0.bb +1 -1
@@ -18,5 +18,5 @@ RDEPENDS:${PN} += "\ python3-six \ " -CVE_PRODUCT = "tweepy" +CVE_PRODUCT = "josh_roesslein:tweepy tweepy:tweepy" CVE_STATUS[CVE-2012-5825] = "fixed-version: The vulnerability has been fixed since v3.1.0"
PATCH 41/42 python3-ujson: add CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The current inherited "python:ujson" mapping does not match the UltraJSON identities used by NVD and CVE List V5, so source-aligned CVEs are missed.
Use "ultrajson:ultrajson" for the CNA affected-data identity and "ultrajson_project:ultrajson" for the NVD dictionary CPE and configuration identity.
--- meta-python/recipes-devtools/python/python3-ujson_5.12.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-ujson_5.12.1.bb +2 -0
@@ -8,6 +8,8 @@ SRC_URI += "file://CVE-2026-54911.patch" SRC_URI[sha256sum] = "5b7e96406c301a1366534479a7352ec40ec68bb327c0c119091635acd5925e35" +CVE_PRODUCT = "ultrajson:ultrajson ultrajson_project:ultrajson" + inherit pypi ptest-python-pytest python_setuptools_build_meta # let OE do the strip operation
PATCH 42/42 python3-waitress: correct CVE_PRODUCT mapping
In reply to [email protected]From: Devansh Patel <[email protected]>
The current product-only "waitress" mapping emits a wildcard-vendor identity instead of the exact identities assigned to the packaged Pylons source.
Use "pylons:waitress" for the CNA affected-data identity and "agendaless:waitress" for the NVD dictionary CPE and configuration identity. This changes the generated product identity, but sbom-cve-check 1.3.3 with the pinned databases leaves the current CVE report unchanged.
--- meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb +1 -1
@@ -6,7 +6,7 @@ SECTION = "devel/python" LICENSE = "ZPL-2.1" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=78ccb3640dc841e1baecb3e27a6966b2" -CVE_PRODUCT = "waitress" +CVE_PRODUCT = "pylons:waitress agendaless:waitress" RDEPENDS:${PN} += " \ python3-logging \