CVE-2026-127743: Heap Buffer Overflow in FreeBSD bsnmpd VACM Mask Handling
CVE-2026-127743 is a heap buffer overflow in the VACM module of FreeBSD's bsnmpd SNMP daemon. The module fails to reject vacmViewTreeFamilyMask values longer than 16 bytes, allowing an oversized value to corrupt heap memory. Exploitation requires the VACM module to be loaded and the ability to write the affected object. Chaining this vulnerability with the SNMPv3 authentication and access-control bypass CVE-2026-127742 enables unauthenticated remote exploitation, potentially resulting in code execution with root privileges.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can corrupt memory in the root-running bsnmpd process, potentially causing service disruption or arbitrary code execution as root. Root-level code execution would compromise the confidentiality, integrity, and availability of the affected host. Unauthenticated remote exploitation is possible when combined with CVE-2026-127742 and the VACM module is loaded.
Mitigation
If you can’t patch tonight, do this now.
Systems not running bsnmpd are unaffected; stop the service if it is unnecessary. If SNMPv3 is not required, set 'begemotSnmpdVersionEnable = 3' in the %snmpd section of /etc/snmpd.config and restart bsnmpd to enable only SNMPv1 and SNMPv2c. This blocks the CVE-2026-127742 authentication-bypass path but does not eliminate CVE-2026-127743: clients with write access can still trigger the heap overflow.
Remediation
Patch, then assume compromise.
Upgrade to a corrected FreeBSD version and restart bsnmpd. Corrected releases include 15.1-RELEASE-p7, 14.5-RELEASE-p4, and 14.4-RELEASE-p13; corrected stable branches include 15.2-STABLE and 14.5-STABLE. Eligible base-package installations can use 'pkg upgrade -r FreeBSD-base'; eligible binary RELEASE installations can use 'freebsd-update fetch' followed by 'freebsd-update install'. Alternatively, verify and apply the official source patch, rebuild and install the operating system, and restart the affected daemon or reboot.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-127743 exploited in the wild?
- As of Nov 19, 2026, Mallory has no reports of CVE-2026-127743 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-127743?
- As of Nov 19, 2026, Mallory has found no public exploit for CVE-2026-127743.
- Is there a patch for CVE-2026-127743?
- Upgrade to a corrected FreeBSD version and restart bsnmpd. Corrected releases include 15.1-RELEASE-p7, 14.5-RELEASE-p4, and 14.4-RELEASE-p13; corrected stable branches include 15.2-STABLE and 14.5-STABLE.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.