
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-1005 is an integer underflow vulnerability in the wolfSSL packet sniffer (versions ≤ 5.8.4) that leads to a heap buffer overflow in the AEAD decryption path. When a TLS record shorter than the explicit IV plus authentication tag is processed by ssl_DecodePacket, a 16-bit length value underflows and wraps to a large value, which is then passed to AEAD decryption routines (AES-GCM, AES-CCM, or ARIA-GCM), causing a heap buffer overflow and crash. An unauthenticated remote attacker can trigger this by injecting malformed TLS Application Data records into traffic being inspected by the sniffer. It carries a CVSS v3.1 base score of 5.3 (Medium) (Feedly, GitHub PR).
The root cause is an integer underflow (CWE-191) in the wolfSSL packet sniffer's ssl_DecodePacket function, which lacks a length validation check before subtracting AESGCM_EXP_IV_SZ and ssl->specs.aead_mac_size from the incoming record size. When the record length is smaller than these combined values, the subtraction on an unsigned 16-bit integer wraps around to a very large number, which is subsequently passed to AEAD decryption routines (AES-GCM, AES-CCM, ARIA-GCM), resulting in an out-of-bounds write (CWE-787) on the heap. The fix, merged on December 23, 2025, adds the missing length check prior to the subtraction operation (GitHub PR). The vulnerability is only exploitable when the wolfSSL packet sniffer feature is enabled and actively inspecting TLS traffic.
Successful exploitation causes a heap buffer overflow that crashes the application or service using the wolfSSL packet sniffer, resulting in a denial-of-service condition. The impact is limited to availability — there is no evidence of confidentiality or integrity compromise, as the overflow leads to a crash rather than controlled code execution in known scenarios. Systems relying on the wolfSSL sniffer for network traffic inspection would lose that monitoring capability during an attack (Feedly).
--enable-sniffer), actively inspecting TLS traffic on a network segment accessible to the attacker.AESGCM_EXP_IV_SZ (8 bytes) plus the AEAD MAC size (typically 16 bytes for AES-GCM), i.e., a record body shorter than 24 bytes, while still appearing as a valid TLS record header.ssl_DecodePacket.The fix was merged into the wolfSSL master branch on December 23, 2025 (PR #9571), adding the missing length check in the sniffer for AES-GCM, AES-CCM, and ARIA-GCM decryption paths. Users should upgrade to a wolfSSL release incorporating this fix (versions after 5.8.4). As a workaround, organizations can disable the packet sniffer feature if it is not operationally required, or implement network segmentation to restrict who can inject traffic into monitored segments. A backport patch for the OpenEmbedded meta-openembedded layer was also published in May 2026 (GitHub PR, Feedly).
Coverage has been limited to standard vulnerability database aggregators and automated feeds. The Tenable Nessus plugin 303269 was published to detect this vulnerability, and the FreeBSD Ports collection (freshports.org) noted the patch. No significant vendor statements, researcher commentary, or notable media coverage beyond routine CVE tracking has been observed (Feedly).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."