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

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


  Branch: refs/heads/stable/4.1
  Home:   https://github.com/MidnightBSD/src
  Commit: 7696afc9fac4b2154a3e23ab076192bc53c5176a
      https://github.com/MidnightBSD/src/commit/7696afc9fac4b2154a3e23ab076192bc53c5176a
  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: c3a73561b8608187df78f7f864eff56604d75447
      https://github.com/MidnightBSD/src/commit/c3a73561b8608187df78f7f864eff56604d75447
  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/3564a00b03ea...c3a73561b860

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