CVE-2022-42905: Critical severity wolfSSL wolfssl vulnerability

Published Nov 6, 2022
·
Updated

In wolfSSL before 5.5.2, if callback functions are enabled (via the WOLFSSLCALLBACKS flag), then a malicious TLS 1.3 client or network attacker can trigger a buffer over-read on the heap of 5 bytes. (WOLFSSLCALLBACKS is only intended for debugging.)

Affected Software

1 affected component
wolfSSL wolfssl<5.5.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade wolfSSL to a version that resolves this vulnerability.

    Fixed in 5.5.2
  2. Configuration

    Do not enable WOLFSSL_CALLBACKS except for debugging; disable it to prevent the buffer over-read issue in versions before 5.5.2.

    wolfSSL WOLFSSL_CALLBACKS flag = disabled

Event History

Nov 6, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Nov 7, 2022
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the vulnerability ID of this wolfSSL vulnerability?

The vulnerability ID of this wolfSSL vulnerability is CVE-2022-42905.

2

What is the severity rating of CVE-2022-42905?

The severity rating of CVE-2022-42905 is critical with a score of 9.1.

3

How does the vulnerability in wolfSSL before 5.5.2 occur?

The vulnerability in wolfSSL before 5.5.2 occurs when callback functions are enabled (via the WOLFSSL_CALLBACKS flag), allowing a malicious TLS 1.3 client or network attacker to trigger a 5-byte buffer over-read on the heap.

4

Which version of wolfSSL is affected by this vulnerability?

This vulnerability affects wolfSSL versions up to (but not including) 5.5.2.

5

Are there any references available for this vulnerability?

Yes, the following references are available for this vulnerability: [1] http://packetstormsecurity.com/files/170610/wolfSSL-WOLFSSL_CALLBACKS-Heap-Buffer-Over-Read.html, [2] http://seclists.org/fulldisclosure/2023/Jan/11, [3] https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/

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