提交 #844479: PcapPlusPlus v25.05 Heap-based Buffer Overflow信息

标题PcapPlusPlus v25.05 Heap-based Buffer Overflow
描述A heap-based buffer over-read vulnerability exists in PcapPlusPlus's bundled LightPcapNg parser within the parse_by_block_type function at light_pcapng.c:172. The flaw is caused by missing validation on the captured_packet_length value read directly from parsed PCAPNG file data. When processing a maliciously crafted PCAPNG file, the program calls memcpy() using the untrusted, uncontrolled length value without checking its validity against the actual allocated heap buffer size. This results in copying excessive bytes far beyond the heap buffer boundary, triggering a large out-of-bounds heap read and causing program crash. Remote attackers can exploit this vulnerability by supplying a specially crafted PCAPNG file to trigger heap memory corruption, leading to a denial-of-service (DoS) condition and potential sensitive memory information disclosure.
来源⚠️ https://github.com/seladb/PcapPlusPlus/issues/2149
用户
 TYGLS (UID 94774)
提交2026-06-01 05時10分 (30 日前)
管理2026-06-29 06時25分 (28 days later)
状态已接受
VulDB条目374590 [seladb PcapPlusPlus 25.05 LightPcapNg Parser light_pcapng.c parse_by_block_type captured_packet_length 内存损坏]
积分20

Interested in the pricing of exploits?

See the underground prices here!