CVE-2009-0687 in Midnightbsd and 3 more products
The pf_test_rule function in OpenBSD Packet Filter (PF), as used in OpenBSD 4.2 through 4.5, NetBSD 5.0 before RC3, MirOS 10 and earlier, and MidnightBSD 0.3-current allows remote attackers to cause a denial of service (panic) via crafted IP packets that trigger a NULL pointer dereference during translation, related...
Affects 4 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Midnightbsd | Midnightbsd | 0.3-current |
| Mirbsd | Miros | ≤ 10 |
| Netbsd | Netbsd | 5.0 |
| Openbsd | Openbsd | 4.2 4.3 4.4 4.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
The pf_test_rule function in OpenBSD Packet Filter (PF), as used in OpenBSD 4.2 through 4.5, NetBSD 5.0 before RC3, MirOS 10 and earlier, and MidnightBSD 0.3-current allows remote attackers to cause a denial of service (panic) via crafted IP packets that trigger a NULL pointer dereference during translation, related to an IPv4 packet with an ICMPv6 payload.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2009-0687 |
|---|---|
| BreachSpider ID | BS-2009-GLOBAL-188106-H |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
| Published | 2009-08-11 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-399: Resource Management Errors
Broad class covering failures in managing system resources such as memory, file handles, and connections.
Analysis AI-written, not human-reviewed
A vulnerability in the pf_test_rule function of OpenBSD Packet Filter (PF) can be exploited by remote attackers to cause a denial of service (panic) through crafted IP packets with an ICMPv6 payload.
The vulnerability is triggered by an IPv4 packet containing an ICMPv6 payload, which leads to a NULL pointer dereference during translation in the pf_test_rule function.
Questions
What is CVE-2009-0687?
A vulnerability in the pf_test_rule function of OpenBSD Packet Filter (PF) can be exploited by remote attackers to cause a denial of service (panic) through crafted IP packets with an ICMPv6 payload.
What is the CVSS score for CVE-2009-0687?
CVE-2009-0687 has CVSS 7.8 (High). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C. EPSS: 9.5%.
Is CVE-2009-0687 actively exploited?
Public exploit available for CVE-2009-0687. Exploitation risk elevated.
How do I remediate CVE-2009-0687?
Priority: HIGH. Advisory: http://www.openbsd.org/errata43.html#013_pf PSIRT: [email protected]
What systems are affected by CVE-2009-0687?
CVE-2009-0687 affects Midnightbsd Midnightbsd; Mirbsd Miros; Netbsd Netbsd; Openbsd Openbsd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Midnightbsd","product":"Midnightbsd","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.