[Midnightbsd-cvs] [MidnightBSD/src] bc9178: libpcap: fix CVE-2025-11961 OOBR/OOBW in pcap_ethe...

Lucas Holt noreply at github.com
Wed Jun 10 22:31:15 EDT 2026


  Branch: refs/heads/stable/4.0
  Home:   https://github.com/MidnightBSD/src
  Commit: bc917819626aca04c1e22eb3d38b240b3c89e2de
      https://github.com/MidnightBSD/src/commit/bc917819626aca04c1e22eb3d38b240b3c89e2de
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M contrib/libpcap/nametoaddr.c

  Log Message:
  -----------
  libpcap: fix CVE-2025-11961 OOBR/OOBW in pcap_ether_aton

Backport the fix from libpcap 1.10.6: replace the simple unbounded
loop in pcap_ether_aton() with new helper functions that validate the
input format before allocation, preventing out-of-bounds read and write
when a caller passes a malformed MAC-48 address string.

Based on commit b2d2f9a9 from the-tcpdump-group/libpcap.

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>


  Commit: 0122a237800de12e795d8620ba72a525fa814059
      https://github.com/MidnightBSD/src/commit/0122a237800de12e795d8620ba72a525fa814059
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M UPDATING

  Log Message:
  -----------
  UPDATING: note libpcap CVE-2025-11961

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>


Compare: https://github.com/MidnightBSD/src/compare/ceedba5dffb2...0122a237800d

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list