Advisory Published
Updated

REDHAT-BUG-2167502

First published: Mon Feb 06 2023(Updated: )

In Binutils, at function `bfd_init_section_decompress_status`, a local variable is supposed to be initialized by function `bfd_check_compression_header`. However, since this function call is inside an `else if` branch, if the previous `if` branch is taken, the `ch_type` can be uninitialized and thus directly used to assign `sec-&gt;compress_status`. Therefore, when the `compress_status` field is used in a branch condition, the memory sanitizer aborts. Upstream bug: <a href="https://sourceware.org/bugzilla/show_bug.cgi?id=29855">https://sourceware.org/bugzilla/show_bug.cgi?id=29855</a> Upstream fix: <a href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5830876a0cca17bef3b2d54908928e72cca53502">https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5830876a0cca17bef3b2d54908928e72cca53502</a>

Affected SoftwareAffected VersionHow to fix
Ubuntu/binutils

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-2167502?

    The severity of REDHAT-BUG-2167502 is not explicitly stated, but it involves potential uninitialized variable usage which can lead to undefined behavior.

  • How do I fix REDHAT-BUG-2167502?

    To fix REDHAT-BUG-2167502, ensure that the variable `ch_type` is properly initialized before any potential usage.

  • Which software is affected by REDHAT-BUG-2167502?

    The software affected by REDHAT-BUG-2167502 is GNU Binutils.

  • What function is involved in REDHAT-BUG-2167502?

    The function involved in REDHAT-BUG-2167502 is `bfd_check_compression_header`, which is called under specific conditions.

  • What is the main issue described in REDHAT-BUG-2167502?

    The main issue in REDHAT-BUG-2167502 is that a local variable may remain uninitialized depending on the branching logic in the code.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203