REDHAT-BUG-2369367: Double Free

Published May 30, 2025
·
Updated

A Double Free vulnerability exists in libssh’s key export mechanism when built against OpenSSL 3.0 or later. The flaw lies in the pkikeytoblob() function, where a memory structure (params) is deallocated during error handling but not properly nullified. If a subsequent operation encounters an error, the same structure may be freed again, leading to undefined behavior and potential process crashes. Although exploitation requires authenticated access and specific memory failure conditions, the flaw could be leveraged to destabilize applications using libssh for exporting SSH key material.

Affected versions : libssh >= 0.10.0, built with OpenSSL >= 3.0

Affected Software

2 affected components
libssh libssh>=0.10.0
OpenSSL OpenSSL>=3.0

Event History

May 30, 2025
Data Sourced
via Red Hat·07:17 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2369367?

The severity of REDHAT-BUG-2369367 is critical due to its potential for remote code execution.

2

How do I fix REDHAT-BUG-2369367?

To fix REDHAT-BUG-2369367, update libssh to the latest version that addresses this vulnerability.

3

Which versions are affected by REDHAT-BUG-2369367?

REDHAT-BUG-2369367 affects libssh versions from 0.10.0 and OpenSSL versions from 3.0 onwards.

4

What are the consequences of not addressing REDHAT-BUG-2369367?

Not addressing REDHAT-BUG-2369367 could lead to unauthorized access and manipulation of affected systems.

5

Is REDHAT-BUG-2369367 a widespread vulnerability?

Yes, REDHAT-BUG-2369367 is considered widespread as it affects widely used cryptographic libraries.

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