binutils: fix CVE-2025-69645
PATCH 1/1 binutils: fix CVE-2025-69645
Binutils objdump contains a denial-of-service vulnerability when processing a crafted binary with malformed DWARF debug information. A logic error in the handling of DWARF compilation units can result in an invalid offset_size value being used inside byte_get_little_endian, leading to an abort (SIGABRT). A local attacker can trigger the crash by supplying a malicious input file.
--- .../binutils/binutils-2.42.inc | 1 + .../binutils/binutils/CVE-2025-69645.patch | 135 ++++++++++++++++++ 2 files changed, 136 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69645.patch
meta/recipes-devtools/binutils/binutils-2.42.inc +1 -0
@@ -74,5 +74,6 @@ SRC_URI = "\ file://0030-CVE-2025-11840.patch \ file://CVE-2025-69644-CVE-2025-69647.patch \ file://CVE-2025-69648.patch \ + file://CVE-2025-69645.patch \ " S = "${WORKDIR}/git"
meta/recipes-devtools/binutils/binutils/CVE-2025-69645.patch new file +135 -0
135 lines not on this page · raw message
Signature · 1 line
2.34.1
Hello,
Quoted 6 lines · Roland Kovács via lists.openembedded.org
Binutils objdump contains a denial-of-service vulnerability when processing a crafted binary with malformed DWARF debug information. A logic error in the handling of DWARF compilation units can result in an invalid
offset_sizevalue being used insidebyte_get_little_endian, leading to an abort (SIGABRT). A local attacker can trigger the crash by supplying a malicious input file.
Quoted 6 lines
Signed-off-by Roland Kovacs <[email protected]>--- .../binutils/binutils-2.42.inc | 1 + .../binutils/binutils/CVE-2025-69645.patch | 135 ++++++++++++++++++ 2 files changed, 136 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2025-69645.patch
More than a description of the vulnerability, what we need in the commit message is a justification for the patch: i.e. why this is the patch we should take to fix this CVE? In this case, this is trivial, this is the patch referenced from the NVD page, so I've added it.
Also, the NVD entry looks wrong: only the 2.44 version is said impacted but the patches to fix apply way more than that. Can you reach them and fix the NVD data?
Thanks!
Signature · 2 lines
Yoann Congal Smile ECS
Quoted 16 lines · Yoann Congal
Hello,
Quoted 6 lines · Roland Kovács via lists.openembedded.org
Binutils objdump contains a denial-of-service vulnerability when processing a crafted binary with malformed DWARF debug information. A logic error in the handling of DWARF compilation units can result in an invalid
offset_sizevalue being used insidebyte_get_little_endian, leading to an abort (SIGABRT). A local attacker can trigger the crash by supplying a malicious input file.Quoted 6 lines
Signed-off-by Roland Kovacs <[email protected]>---
.../binutils/binutils-2.42.inc | 1 + .../binutils/binutils/CVE-2025-69645.patch | 135 ++++++++++++++++++2 files changed, 136 insertions(+)create mode 100644
meta/recipes-devtools/binutils/binutils/CVE-2025-69645.patch
Quoted 4 lines
More than a description of the vulnerability, what we need in the commit message is a justification for the patch: i.e. why this is the patch we should take to fix this CVE? In this case, this is trivial, this is the patch referenced from the NVD page, so I've added it.
I'll keep this in mind, thanks.
Quoted 3 lines
Also, the NVD entry looks wrong: only the 2.44 version is said impacted but the patches to fix apply way more than that.
NVD data marks any version affected, 2.44 is __mentioned__ in the description but no filter or bound is set in the CVE metadata.
Quoted 1 line
Can you reach them and fix the NVD data?
I can ask upstream who issued the CVE to set 2.46 as unaffected/fixed based on their bugtracker, but that's about it.
Quoted 2 lines
Thanks!
Quoted 21 lines · Roland Kovács
Quoted 16 lines · Yoann Congal
Hello,
Quoted 6 lines · Roland Kovács via lists.openembedded.org
Binutils objdump contains a denial-of-service vulnerability when processing a crafted binary with malformed DWARF debug information. A logic error in the handling of DWARF compilation units can result in an invalid
offset_sizevalue being used insidebyte_get_little_endian, leading to an abort (SIGABRT). A local attacker can trigger the crash by supplying a malicious input file.Quoted 6 lines
Signed-off-by Roland Kovacs <[email protected]>---
.../binutils/binutils-2.42.inc | 1 + .../binutils/binutils/CVE-2025-69645.patch | 135 ++++++++++++++++++2 files changed, 136 insertions(+)create mode 100644
meta/recipes-devtools/binutils/binutils/CVE-2025-69645.patchQuoted 4 lines
More than a description of the vulnerability, what we need in the commit message is a justification for the patch: i.e. why this is the patch we should take to fix this CVE? In this case, this is trivial, this is the patch referenced from the NVD page, so I've added it.
Quoted 7 lines
I'll keep this in mind, thanks.
Quoted 3 lines
Also, the NVD entry looks wrong: only the 2.44 version is said impacted but the patches to fix apply way more than that.
NVD data marks any version affected, 2.44 is
__mentioned__in the description but no filter or bound is set in the CVE metadata.
The NVD CPE is:
"cpe:2.3:a:gnu:binutils:2.44:*:*:*:*:*:*:*"
If I read that correctly, that mean only 2.44 is affected.
Quoted 3 lines
Quoted 1 line
Can you reach them and fix the NVD data?
I can ask upstream who issued the CVE to set 2.46 as unaffected/fixed based on their bugtracker, but that's about it.
Thanks!
Signature · 2 lines
Yoann Congal Smile ECS