Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in lldpd's liblldpctl. The daemon stores an LLDP-MED location from a neighbor without checking that the body matches the length the location claims. The civic-address CA-element iterator uses that length byte and can read past the end of the buffer. The coordinate getters read a coordinate location that is shorter than 16 bytes the same way. The first civic over-read is in the iterator value function. lldpcli calls the iterator only after the integer location-format getter, and that getter already rejects both bad lengths, so lldpcli does not reach the over-read. A client that walks civic elements or reads coordinate fields without that integer check can disclose adjacent heap bytes from the client process. The fix is upstream commit f39254f, released in lldpd 1.0.23.