CVE-2009-0687

MidnightBSD - Denial of Service via Crafted IP Packets in PF Packet Filter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 3 public exploits for CVE-2009-0687. PoCs published by Rembrandt, nonroot.

AI-analyzed exploit summary This is a detailed advisory describing a Denial of Service (DoS) vulnerability in PF (OpenBSD Packet Filter) due to a NULL-pointer dereference when handling malformed IP datagrams. The advisory includes affected software, patches, and a simple reproduction method using hping.

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.

Exploits (3)

exploitdb WRITEUP VERIFIED
by Rembrandt · textdosbsd
https://www.exploit-db.com/exploits/8581

This is a detailed advisory describing a Denial of Service (DoS) vulnerability in PF (OpenBSD Packet Filter) due to a NULL-pointer dereference when handling malformed IP datagrams. The advisory includes affected software, patches, and a simple reproduction method using hping.

Classification
Writeup 100%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: PF (OpenBSD Packet Filter) on OpenBSD 4.2-4.5, NetBSD 5.x up to RC3, MirOS #10 and earlier, MidnightBSD 0.3-current
No auth needed
Prerequisites: Network access to a system running affected PF versions
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by nonroot · pythondosopenbsd
https://www.exploit-db.com/exploits/8430

This exploit sends an ICMPv6 packet to a target host, potentially triggering a denial-of-service condition due to improper handling of ICMPv6 packets in certain systems. The code uses Scapy to craft and send the packet.

Classification
Working Poc 80%
Attack Type
Dos
Complexity
Trivial
Reliability
Theoretical
Target: Systems vulnerable to ICMPv6 handling issues (specific version not specified)
No auth needed
Prerequisites: Target IP address · Network access to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WRITEUP VERIFIED
by Rembrandt · textdosopenbsd
https://www.exploit-db.com/exploits/8406

This is a writeup describing a Denial of Service (DoS) vulnerability in OpenBSD's PF firewall due to a null pointer dereference when handling specially crafted IP datagrams. The issue can be triggered via an nmap scan with the -sO flag.

Classification
Writeup 100%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: OpenBSD Kernel 4.3, 4.4, 4.5, and OpenBSD-current
No auth needed
Prerequisites: Access to send IP packets to the target OpenBSD firewall
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (12)

Core 12
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/53608
Patch, Vendor Advisory vendor-advisory x_refsource_openbsd
http://www.openbsd.org/errata43.html#013_pf
Vendor Advisory vendor-advisory x_refsource_netbsd
http://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2009-001.txt.asc
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/8406
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/49837
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/502634
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/8581
Patch, Vendor Advisory vendor-advisory x_refsource_openbsd
http://www.openbsd.org/errata44.html#013_pf
Patch, Vendor Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2009/1015
Patch, Vendor Advisory vendor-advisory x_refsource_openbsd
http://www.openbsd.org/errata45.html#002_pf

Scores

EPSS 0.0952
EPSS Percentile 94.8%

Details

CWE
CWE-399
Status published
Products (7)
midnightbsd/midnightbsd 0.3-current
mirbsd/miros < 10
netbsd/netbsd 5.0
openbsd/openbsd 4.2
openbsd/openbsd 4.3
openbsd/openbsd 4.4
openbsd/openbsd 4.5
Published Aug 11, 2009
Tracked Since Feb 18, 2026