CVE catalog

CVE-2022-38153

wolfssl: CVE-2022-38153

[CVE catalog]

Severity
Medium
Source
[NVD] · [CVE record]
EPSS
2.48% · Oct 25, 2026

An issue was discovered in wolfSSL before 5.5.0 (when --enable-session-ticket is used); however, only version 5.3.0 is exploitable. Man-in-the-middle attackers or a malicious server can crash TLS 1.2 clients during a handshake. If an attacker injects a large ticket (more than 256 bytes) into a NewSessionTicket message in a TLS 1.2 handshake, and the client has a non-empty session cache, the session cache frees a pointer that points to unallocated memory, causing the client to crash with a "free(): invalid pointer" message. NOTE: It is likely that this is also exploitable during TLS 1.3 handshakes between a client and a malicious server. With TLS 1.3, it is not possible to exploit this as a man-in-the-middle.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianwolfsslsid5.9.2-1.2fixed
Debianwolfssltrixie5.7.2-0.1+deb13u2fixed
Debianwolfsslbookworm5.5.4-2+deb12u2fixed
Debianwolfsslbookworm-security5.5.4-2+deb12u3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianwolfsslsourcesid5.5.3-1not yet assignedNot reported[1021021]
Debianwolfsslsourcetrixie5.5.3-1not yet assignedNot reported[1021021]
Debianwolfsslsourcebookworm5.5.3-1not yet assignedNot reported[1021021]

[Debian bug #1021021]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [wolfssl]

    Details (4)
    • 5.5.4-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 5.5.3-1

      dsa · wolfssl · debian · bookworm

    • 5.5.4-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 5.5.3-1

      dsa · wolfssl · debian · bookworm

    • 5.5.4-2+deb12u3 · amd64 · bookworm-security

      Fixed · Fixed: 5.5.3-1

      dsa · wolfssl · debian · bookworm

    • 5.5.4-2+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 5.5.3-1

      dsa · wolfssl · debian · bookworm

  • Source package: [wolfssl]

    Details (4)
    • 5.5.4-2+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 5.5.3-1

      dsa · wolfssl · debian · bookworm

    • 5.5.4-2+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 5.5.3-1

      dsa · wolfssl · debian · bookworm

    • 5.5.4-2+deb12u3 · amd64 · bookworm-security

      Fixed · Fixed: 5.5.3-1

      dsa · wolfssl · debian · bookworm

    • 5.5.4-2+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 5.5.3-1

      dsa · wolfssl · debian · bookworm

Observed:

References