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

Lucas Holt noreply at github.com
Wed Jun 10 22:30:53 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 1d2d357a0eaef0a87b18739fc61a0fbac2817d97
      https://github.com/MidnightBSD/src/commit/1d2d357a0eaef0a87b18739fc61a0fbac2817d97
  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: a32ffdfc7552e4c420ae2a9e20d8be55a19fe980
      https://github.com/MidnightBSD/src/commit/a32ffdfc7552e4c420ae2a9e20d8be55a19fe980
  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/8642903f2bf2...a32ffdfc7552

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