Skip to contentSkip to conversation

binutils: fix CVE-2026-3441 and CVE-2026-3442

PATCH New Sudhir Dumbhare -X (sudumbha - E INFOCHIPS PRIVATE LIMITED at Cisco) 1 participant 1 message Jul 6

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 binutils: fix CVE-2026-3441 and CVE-2026-3442

From: Sudhir Dumbhare <[email protected]>

This patch applies the upstream fix [1], which addresses two out-of-bounds read issues in bfd/xcofflink.c within xcoff_link_add_symbols(). The changes shown in [2] are referenced by [3] and [4].

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=c2bf7de1eb77a91d7a3c86d56408bf57de540faf
[2] https://sourceware.org/git/?p=binutils-gdb.git;a=blobdiff;f=bfd/xcofflink.c;h=1781182fa6a3f92e5e91996f8b0dcf3ab192679b;hp=fde21c9f9583baff05e72e390e6bb896d02f9d43;hb=c2bf7de1eb77a91d7a3c86d56408bf57de540faf;hpb=d7f532cb3a46527
[3] https://bugzilla.suse.com/show_bug.cgi?id=CVE-2026-3441
[4] https://bugzilla.suse.com/show_bug.cgi?id=CVE-2026-3442

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-3441
https://nvd.nist.gov/vuln/detail/CVE-2026-3442
https://www.suse.com/security/cve/CVE-2026-3441.html
https://www.suse.com/security/cve/CVE-2026-3442.html

Tested with binutils-testsuite (bitbake binutils-testsuite -c check):
binutils: PASSED: 327, FAILED: 0, SKIPPED: 5

---
 .../binutils/binutils-2.46.inc                |  1 +
 .../CVE-2026-3441_CVE-2026-3442.patch         | 51 +++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2026-3441_CVE-2026-3442.patch
meta/recipes-devtools/binutils/binutils-2.46.inc +1 -0
index cab270cea5..4eb1b2e098 100644
@@ -40,4 +40,5 @@ SRC_URI = "\
      file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \
      file://CVE-2026-4647.patch \
      file://CVE-2026-6846.patch \
+     file://CVE-2026-3441_CVE-2026-3442.patch \
 "
meta/recipes-devtools/binutils/binutils/CVE-2026-3441_CVE-2026-3442.patch new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
2.35.6