Cyber Posture

CVE-2026-5500

Medium

Published: 10 April 2026

Published
10 April 2026
Modified
27 April 2026
KEV Added
Patch
CVSS Score 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score 0.0007 22.2th percentile
Risk Priority 12 60% EPSS · 20% KEV · 20% CVSS

Description

wolfSSL's wc_PKCS7_DecodeAuthEnvelopedData() does not properly sanitize the AES-GCM authentication tag length received and has no lower bounds check. A man-in-the-middle can therefore truncate the mac field from 16 bytes to 1 byte, reducing the tag check from 2⁻¹²⁸ to 2⁻⁸.

Likely Mitigating ControlsAI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-20

Security testing and developer training directly verify and enforce proper input validation, reducing exploitability of injection and malformed-data weaknesses.

addresses: CWE-20

Security testing and evaluation at multiple SDLC stages directly detects missing or flawed input validation, with the required remediation process ensuring fixes are applied.

addresses: CWE-20

Directly implements checks on information inputs to reject invalid data before processing.

addresses: CWE-20

Spam protection mechanisms perform filtering and detection on inbound/outbound messages, directly compensating for missing or weak input validation of unsolicited content.

Security SummaryAI

CVE-2026-5500 is a vulnerability in the wolfSSL cryptographic library, specifically within the wc_PKCS7_DecodeAuthEnvelopedData() function. The issue arises from improper sanitization of the AES-GCM authentication tag length received, with no lower bounds check implemented. This flaw, classified under CWE-20 (Improper Input Validation), allows the tag length to be manipulated, undermining the integrity of authenticated enveloped data processing.

A man-in-the-middle (MITM) attacker can exploit this vulnerability by truncating the MAC field from its standard 16 bytes to as little as 1 byte. This reduces the effective security of the authentication tag check from 2^{-128} to 2^{-8}, enabling feasible forgery of authenticated data. The CVSS v3.1 base score of 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N) indicates network accessibility with high attack complexity, no privileges or user interaction required, and high impact on integrity.

Mitigation is provided via a patch in the wolfSSL GitHub repository at https://github.com/wolfSSL/wolfssl/pull/10102, which corrects the lack of bounds checking and proper sanitization in the affected function.

Details

CWE(s)

Affected Products

wolfssl
wolfssl
≤ 5.9.0

MITRE ATT&CK Enterprise TechniquesAI

T1557 Adversary-in-the-Middle Credential Access
Adversaries may attempt to position themselves between two or more networked devices using an adversary-in-the-middle (AiTM) technique to support follow-on behaviors such as [Network Sniffing](https://attack.
Why these techniques?

Vulnerability explicitly enables MITM forgery of AES-GCM authenticated data by weakening tag validation.

Confidence: MEDIUM · MITRE ATT&CK Enterprise v18.1

References