Skip to main content

FreeBSD pf CVE-2026-7164

| EUVDEUVD-2026-26352 HIGH
Uncontrolled Recursion (CWE-674)
2026-04-30 freebsd
7.5
CVSS 3.1 · Vendor: freebsd
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted SCTP packet
  2. Delivery
    pf processes packet inspection
  3. Exploit
    Trigger unbounded recursion in chunk parameter parser
  4. Execution
    Exhaust kernel stack space
  5. Impact
    Kernel panic and system crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Exploitation requires the target FreeBSD system to have pf (packet filter) loaded and actively processing network traffic. This occurs when pf is enabled in rc.conf (pf_enable=YES) or manually loaded via pfctl, which is common on FreeBSD systems used as firewalls, routers, or security appliances. The vulnerability is independent of the configured pf ruleset, meaning even restrictive firewall rules do not prevent exploitation if pf processes the malicious SCTP packet during evaluation. The attacker must be able to send SCTP protocol traffic (IP protocol number 132) that reaches pf's inspection engine, which typically means SCTP must not be blocked by upstream network devices. Networks that filter SCTP at the perimeter or don't route SCTP are not exploitable. No user interaction, authentication, or special privileges are required. Limiting factor: SCTP is a relatively uncommon protocol compared to TCP/UDP, so many networks may not accept or route SCTP traffic, significantly narrowing the real-world attack surface despite the theoretical network-accessible attack vector.

Impact

CVSS 7.5 (High) reflects severe availability impact with maximum attack surface: network-accessible (AV:N), low complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N). However, real-world risk requires nuanced assessment. The EPSS score of 0.06% (17th percentile) indicates security researchers assess broad exploitation as unlikely, possibly due to limited FreeBSD deployment compared to Linux firewalls, or SCTP's niche usage compared to TCP/UDP. No CISA KEV listing confirms no federal-observed active exploitation. No public exploit code identified in references. SSVC decision factors: exploitation status is none detected, automatable is yes (remote network attack), technical impact is total (kernel panic). Risk is elevated specifically for organizations using FreeBSD as network perimeter firewalls or routers where pf processes untrusted SCTP traffic. Many networks filter or don't use SCTP, significantly reducing attack surface. However, for affected environments, exploitation complexity is trivial (AC:L) and impact is immediate total denial-of-service with no confidentiality/integrity compromise. Priority should be high for FreeBSD firewall operators, moderate for general FreeBSD deployments where pf may be enabled but unexposed to untrusted SCTP traffic.

Exploit ScenarioDerived

An external attacker identifies a FreeBSD firewall or router with pf enabled processing internet traffic. Without authentication or special access, the attacker crafts an SCTP packet with nested or circular chunk parameter references designed to trigger recursive parsing in pf's SCTP validation code. The attacker sends this malformed packet to any IP address/port where the FreeBSD system's pf will inspect it. Upon receiving the packet, pf's kernel module begins parsing SCTP chunk parameters, entering unbounded recursion that consumes kernel stack space until overflow occurs, immediately panicking the kernel and crashing the entire system, causing complete denial-of-service for all network traffic and services.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 30, 2026

Remote denial-of-service in FreeBSD packet filter (pf) allows unauthenticated attackers to crash systems via malformed SCTP packets. Unbounded recursion in SCTP chunk parameter parsing triggers stack overflow, causing kernel panic on any FreeBSD system with pf enabled, regardless of firewall ruleset configuration. EPSS score of 0.06% (17th percentile) suggests low broad exploitation probability, but impact is critical for exposed FreeBSD firewalls. Official patch released by FreeBSD covering versions 13.5, 14.3, 14.4, and 15.0.

RemediationAI

Apply FreeBSD security patches immediately: upgrade to FreeBSD 13.5-RELEASE-p13, 14.3-RELEASE-p12, 14.4-RELEASE-p3, or 15.0-RELEASE-p7 as appropriate for your release branch. Patching instructions and binary updates available at https://security.freebsd.org/advisories/FreeBSD-SA-26:14.pf.asc following FreeBSD's standard security update procedures via freebsd-update or source rebuild. For systems unable to patch immediately, implement compensating controls with understanding of operational impact: disable pf entirely if not required for security policy (removes firewall protection entirely), or configure upstream network devices to block SCTP protocol (IP protocol 132) at network perimeter before reaching vulnerable FreeBSD systems (breaks legitimate SCTP applications like SIP, Diameter, or SS7 signaling). If SCTP filtering is feasible, use access control lists on border routers or IDS/IPS to drop malformed SCTP packets, though deep packet inspection for recursive parameter structures may not be reliable. None of these workarounds substitute for patching, as they either eliminate critical firewall functionality or may impact legitimate SCTP-based services.

Affected VersionsENISA

FreeBSD 14.4-RELEASE <p3
FreeBSD 13.5-RELEASE <p13
FreeBSD 15.0-RELEASE <p7
FreeBSD 14.3-RELEASE <p12

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in FreeBSD's packet filter (pf) SCTP (Stream Control Transmission Protocol) parsing code. SCTP is a transport-layer protocol used for reliable message-oriented communication, commonly in telecommunications and signaling applications. The pf firewall parses SCTP chunk parameters to perform stateful inspection and filtering. The flaw (CWE-674: Uncontrolled Recursion) allows specially crafted SCTP packets with malicious chunk parameter structures to trigger unbounded recursive function calls during validation. Unlike typical buffer overflows that corrupt heap or stack data through sequential writes, this recursion exhaustion consumes stack space with each recursive call until the kernel stack is depleted. When stack space is exhausted, the FreeBSD kernel panics (crashes), causing complete system unavailability. The affected component is the kernel-level pf firewall module, meaning exploitation occurs in privileged kernel context. The CPE identifier cpe:2.3:a:freebsd:freebsd confirms this affects the FreeBSD operating system itself, specifically the integrated pf packet filtering subsystem inherited from OpenBSD.

Know when Freebsd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (freebsd) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (freebsd) · only source for this CVE.

CVSS VectorVendor: freebsd

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
Apr 30, 2026 - 14:22 NVD
7.5 (HIGH)
CVE Published
Apr 30, 2026 - 07:23 nvd
HIGH 7.5

DescriptionCVE.org

Incorrect packet validation allowed unbounded recursion parsing SCTP chunk parameters. This can eventually result in a stack overflow and panic.

Remote attackers can craft packets which cause affected systems to panic. This affects any system where pf is configured to process traffic, independent of the configured ruleset.

Executive ViewAI

Why It Matters

CVE-2026-7164 is a remote denial-of-service vulnerability in FreeBSD's packet filter that allows unauthenticated attackers to crash systems via malformed SCTP packets, affecting any FreeBSD deployment with pf enabled regardless of firewall configuration. Organizations operating FreeBSD firewalls or edge systems face immediate risk of service unavailability; mitigation requires urgent network segmentation or kernel updates. The low EPSS score (0.1%) suggests limited current exploitation activity, but the attack requires no authentication and can be executed remotely, making this a critical availability threat for exposed infrastructure.

Business Impact: High
Compensating Controls

Vendor-released patch: FreeBSD 13.5, 14.3, 14.4, and 15.0. Interim mitigations pending patching: (1) Rate-limit or block SCTP packets (protocol 132) at upstream routers; (2) Disable pf if not operationally required; (3) Isolate affected FreeBSD systems to trusted networks only; (4) Monitor syslog for kernel panics and unexpected reboots as early warning indicators.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

CVE-2012-0217 HIGH POC
7.2 Jun 12

The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix XenServer 6.0.2 and earlier and

CVE-2025-14558 HIGH POC
7.2 Mar 09

The rtsol(8) and rtsold(8) programs do not validate the domain search list options provided in router advertisement mess

CVE-2020-1967 HIGH POC
7.5 Apr 21

Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due

CVE-2013-4854 HIGH POC
7.8 Jul 29

The RFC 5011 implementation in rdata.c in ISC BIND 9.7.x and 9.8.x before 9.8.5-P2, 9.8.6b1, 9.9.x before 9.9.3-P2, and

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2019-6111 MEDIUM POC
5.9 Jan 31

An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2013-2171 MEDIUM POC
6.9 Jul 02

The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEAS

CVE-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

CVE-2016-5766 HIGH POC
8.8 Aug 07

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used

CVE-2016-1879 HIGH POC
7.5 Jan 29

The Stream Control Transmission Protocol (SCTP) module in FreeBSD 9.3 before p33, 10.1 before p26, and 10.2 before p9, w

CVE-2020-7457 HIGH POC
8.1 Jul 09

In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy