CVE-2024-6640
published medium CVSS 3.1 · 6.3pf incorrectly matches different ICMPv6 states in the state table
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD14.1-RELEASE to < p3 · 14.0-RELEASE to < p9 · 13.3-RELEASE to < p5 · Other versions: unknown | Affected | Not stated | freebsd |
Description
In ICMPv6 Neighbor Discovery (ND), the ID is always 0. When pf is configured to allow ND and block incoming Echo Requests, a crafted Echo Request packet after a Neighbor Solicitation (NS) can trigger an Echo Reply. The packet has to come from the same host as the NS and have a zero as identifier to match the state created by the Neighbor Discovery and allow replies to be generated. ICMPv6 packets with identifier value of zero bypass firewall rules written on the assumption that the incoming packets are going to create a state in the state table.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 14.1-RELEASE to < p3 (affected · release)14.0-RELEASE to < p9 (affected · release)13.3-RELEASE to < p5 (affected · release)Default: unknown | freebsd · cna |
Weaknesses
1- CWE-276 CWE-276 Incorrect Default Permissions
References
2Provider assertions
3freebsd · cna
pf incorrectly matches different ICMPv6 states in the state table
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 37b64b793e5c2f2b809840ad797c59b9d93080f348991ce219e3555a60b80637
- Ingested
- 23 Sep 2026, 08:33:19 UTC
- Source record
- Official CVE record