CVE-2023-25585: Field `file_table` of `struct module *module` is uninitialized

Published Feb 6, 2023
·
Updated

A flaw was found in Binutils. The use of an uninitialized field in the struct module module may lead to application crash and local denial of service.

Other sources

GNU binutils is vulnerable to a denial of service, caused by not properly initialized the filetable field of struct module and thebfd field of asymbol. By persuading a victim to open a specially crafted content, a remote attacker could exploit this vulnerability to cause a crash.

IBM

In Binutils, the field filetable of struct module module is created without being initialized, and then its uninitialized field is used to assign file, which is a pointer to a global variable filename. Later on when this variable is used, a segmentation fault occurs.

Upstream bug:

https://sourceware.org/bugzilla/showbug.cgi?id=29892

Upstream fix:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=65cf035b8dc1df5d8020e0b1449514a3c42933e7

Red Hat

Affected Software

1 affected component
GNU binutils=2.40

Event History

Feb 6, 2023
Data Sourced
via Red Hat·07:57 PM
DescriptionSeverityAffected Software
Sep 14, 2023
CVE Published
via MITRE·08:50 PM
Data Sourced
via MITRE·08:50 PM
DescriptionSeverityWeakness
May 2, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the CVE ID of this vulnerability?

The CVE ID of this vulnerability is CVE-2023-25585.

2

What is the severity level of CVE-2023-25585?

CVE-2023-25585 has a severity level of medium (5.5).

3

How does CVE-2023-25585 affect the affected software?

CVE-2023-25585 affects GNU Binutils version 2.40 by potentially causing application crashes and local denial of service.

4

What is the Common Weakness Enumeration (CWE) ID of CVE-2023-25585?

The CWE ID of CVE-2023-25585 is CWE-908.

5

How can I fix CVE-2023-25585?

To fix CVE-2023-25585, update to a patched version of GNU Binutils.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203