If there is an error in initializing ChaCha20 cipher with OpenSSL, an invalid error code is returned. This can happen if there is an heap exhaustion. This error is not correctly detected and could allow libssh to use partially initialized cipher context. This is caused by the mismatch of return value meaning from OpenSSL and libssh, where OpenSSL error (rv=0) aliases with SSH_OK (0) and is returned directly from the function chacha20_poly1305_set_key(). This will likely cause error somewhere down the road.
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2025:23484 https://access.redhat.com/errata/RHSA-2025:23484
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2025:23483 https://access.redhat.com/errata/RHSA-2025:23483
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Via RHSA-2026:0430 https://access.redhat.com/errata/RHSA-2026:0430
This issue has been addressed in the following products: Red Hat Enterprise Linux 10.0 Extended Update Support Via RHSA-2026:0427 https://access.redhat.com/errata/RHSA-2026:0427
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.6 Extended Update Support Via RHSA-2026:0428 https://access.redhat.com/errata/RHSA-2026:0428
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Extended Update Support Via RHSA-2026:0431 https://access.redhat.com/errata/RHSA-2026:0431
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.17 Via RHSA-2026:0702 https://access.redhat.com/errata/RHSA-2026:0702
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.20 Via RHSA-2026:0978 https://access.redhat.com/errata/RHSA-2026:0978
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.16 Via RHSA-2026:0985 https://access.redhat.com/errata/RHSA-2026:0985
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.14 Via RHSA-2026:0996 https://access.redhat.com/errata/RHSA-2026:0996
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.18 Via RHSA-2026:0980 https://access.redhat.com/errata/RHSA-2026:0980
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.19 Via RHSA-2026:1539 https://access.redhat.com/errata/RHSA-2026:1539
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.15 Via RHSA-2026:1541 https://access.redhat.com/errata/RHSA-2026:1541
This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.13 Via RHSA-2026:3415 https://access.redhat.com/errata/RHSA-2026:3415