nghttp2: upgrade 1.66.0 -> 1.68.1
PATCH v2 1/1 nghttp2: upgrade 1.66.0 -> 1.68.1
Upgrade nghttp2 to 1.68.1 which includes fixes from upstream, including the fix for CVE-2026-27135.
CVE: CVE-2026-27135
CVE-2026-27135: Assertion failure innghttp2_session_terminate_session()
Release:
https://github.com/nghttp2/nghttp2/releases/tag/v1.68.1
---
...xt-Fix-NGHTTP2_CONFIG_INSTALL_DIR-pa.patch | 28 +++++++++++++++++++
.../{nghttp2_1.66.0.bb => nghttp2_1.68.1.bb} | 8 ++++--
2 files changed, 34 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-support/nghttp2/nghttp2/0001-lib-CMakeLists.txt-Fix-NGHTTP2_CONFIG_INSTALL_DIR-pa.patch
rename meta/recipes-support/nghttp2/{nghttp2_1.66.0.bb => nghttp2_1.68.1.bb} (62%)meta/recipes-support/nghttp2/nghttp2/0001-lib-CMakeLists.txt-Fix-NGHTTP2_CONFIG_INSTALL_DIR-pa.patch new file +28 -0
@@ -0,0 +1,28 @@ +From eb5812d018eb96284aa6ef82569d0b6b75bcd020 Mon Sep 17 00:00:00 2001 +From: Ankur Tyagi <[email protected]> +Date: Sun, 9 Nov 2025 12:45:25 +1300 +Subject: [PATCH] lib/CMakeLists.txt: Fix NGHTTP2_CONFIG_INSTALL_DIR path + +Remove hard coded path to fix installation on 64-bit arch. + +Upstream-Status: Submitted [https://github.com/nghttp2/nghttp2/pull/2551] +Signed-off-by: Ankur Tyagi <[email protected]> +--- + lib/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt +index 98e3dbe7..3b6a4400 100644 +--- a/lib/CMakeLists.txt ++++ b/lib/CMakeLists.txt +@@ -51,7 +51,7 @@ set(NGHTTP2_GENERATED_DIR "${CMAKE_CURRENT_BINARY_DIR}/generated") + set(NGHTTP2_VERSION_CONFIG "${NGHTTP2_GENERATED_DIR}/${PROJECT_NAME}ConfigVersion.cmake") + set(NGHTTP2_PROJECT_CONFIG "${NGHTTP2_GENERATED_DIR}/${PROJECT_NAME}Config.cmake") + set(NGHTTP2_TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets") +-set(NGHTTP2_CONFIG_INSTALL_DIR "lib/cmake/${PROJECT_NAME}") ++set(NGHTTP2_CONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}") + set(NGHTTP2_NAMESPACE "${PROJECT_NAME}::") + set(NGHTTP2_VERSION ${PROJECT_VERSION}) + +-- +2.43.0
meta/recipes-support/nghttp2/nghttp2_1.68.1.bb renamed from meta/recipes-support/nghttp2/nghttp2_1.66.0.bb +6 -2
@@ -4,8 +4,12 @@ SECTION = "libs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=764abdf30b2eadd37ce47dcbce0ea1ec" -SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/nghttp2-${PV}.tar.xz" -SRC_URI[sha256sum] = "00ba1bdf0ba2c74b2a4fe6c8b1069dc9d82f82608af24442d430df97c6f9e631" +SRC_URI = "\ + ${GITHUB_BASE_URI}/download/v${PV}/nghttp2-${PV}.tar.xz \ + file://0001-lib-CMakeLists.txt-Fix-NGHTTP2_CONFIG_INSTALL_DIR-pa.patch \ +" + +SRC_URI[sha256sum] = "6abd7ab0a7f1580d5914457cb3c85eb80455657ee5119206edbd7f848c14f0b2" inherit cmake manpages python3native github-releases
Signature · 1 line
2.35.6
Patchtest results for [OE-core][whinlatter][PATCH v2] nghttp2: upgrade 1.66.0 -> 1.68.1
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:
---
Testing patch /home/patchtest/share/mboxes/whinlatter-v2-nghttp2-upgrade-1.66.0---1.68.1.patch
FAIL: test CVE tag format: Missing or incorrectly formatted CVE tag in patch file. Correct or include the CVE tag in the patch with format: "CVE: CVE-YYYY-XXXX" (test_patch.TestPatch.test_cve_tag_format)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test Signed-off-by presence (test_patch.TestPatch.test_signed_off_by_presence)
PASS: test Upstream-Status presence (test_patch.TestPatch.test_upstream_status_presence_format)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)
SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
---
Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!