CVE-2026-46433

lldpd: Heap OOB Read in VLAN Decapsulation memmove

Published Jun 9, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
lldpd is an implementation of IEEE 802.1ab (LLDP). Prior to version 1.0.22, lldpd_decode() in src/daemon/lldpd.c strips 802.1Q VLAN tags from received Ethernet frames by calling memmove() to shift the frame payload 4 bytes left. The third argument (byte count) is s - 2 * ETHER_ADDR_LEN but should be s - 2 * ETHER_ADDR_LEN - 4, causing a 4-byte heap buffer over-read past the malloc(h_mtu) allocation when the received frame size equals the interface MTU. This issue has been patched in version 1.0.22.

Analysis

AI-generated

Technical impact

lldpd is an LLDP implementation that previously miscalculated the number of bytes to move when stripping 802.1Q VLAN tags from Ethernet frames. The incorrect argument to memmove() caused a four‑byte heap buffer over‑read when a frame size matched the interface MTU, exposing a small portion of heap memory; this involves CWE‑125 and CWE‑131.

Affected Systems

All versions of lldpd prior to 1.0.22 are affected. Users running the lldpd daemon on network interfaces that receive LLDP frames should verify their deployment and upgrade if necessary.

Risk and Exploitability

With a CVSS score of 6.5, the vulnerability presents moderate severity. The EPSS score of < 1% indicates a very low public exploitation probability, and the issue is not listed in CISA KEV, suggesting low public exploitation activity. Nevertheless, an attacker who can insert crafted VLAN‑tagged frames onto a network segment that the lldpd daemon monitors can trigger the over‑read to leak memory contents, potentially aiding other attacks. The attack vector is local to the network but is viable in environments where untrusted hosts can send LLDP traffic. The vulnerability involves CWE‑125 and CWE‑131.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade lldpd to version 1.0.22 or later.
  • If an upgrade cannot be performed immediately, isolate or segment the network interfaces that expose LLDP traffic from untrusted hosts.
  • Implement firewall rules or IDS signatures to detect and drop suspicious 802.1Q frames that match the pattern described above.

Generated by OpenCVE AI on June 13, 2026 at 01:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Lldpd Project
Lldpd Project lldpd
CPEs cpe:2.3:a:lldpd_project:lldpd:*:*:*:*:*:*:*:*
Vendors & Products Lldpd Project
Lldpd Project lldpd
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Lldpd
Lldpd lldpd
Vendors & Products Lldpd
Lldpd lldpd
Type Values Removed Values Added
Description lldpd is an implementation of IEEE 802.1ab (LLDP). Prior to version 1.0.22, lldpd_decode() in src/daemon/lldpd.c strips 802.1Q VLAN tags from received Ethernet frames by calling memmove() to shift the frame payload 4 bytes left. The third argument (byte count) is s - 2 * ETHER_ADDR_LEN but should be s - 2 * ETHER_ADDR_LEN - 4, causing a 4-byte heap buffer over-read past the malloc(h_mtu) allocation when the received frame size equals the interface MTU. This issue has been patched in version 1.0.22.
Title lldpd: Heap OOB Read in VLAN Decapsulation memmove
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-131

    Incorrect Calculation of Buffer Size

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 10, 2026, 6:12 PM
Reserved
May 13, 2026, 10:18 PM
Status
Analyzed
Published
Jun 9, 2026, 11:16 PM
Modified
Jul 23, 2026, 9:10 AM
Severity
Moderate
Public date
Jun 9, 2026, 10:49 PM