CVE-2007-0085

OpenBSD 3.9-4.0 - Local Privilege Escalation via VGA PCI Driver NULL Pointer Dereference

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-0085. PoCs published by Critical Security.

AI-analyzed exploit summary This exploit targets a vulnerability in OpenBSD's vga_ioctl() function (CVE-2007-0085) to achieve local privilege escalation. It uses a crafted shellcode to overwrite kernel credentials and spawn a root shell.

Description

Unspecified vulnerability in sys/dev/pci/vga_pci.c in the VGA graphics driver for wscons in OpenBSD 3.9 and 4.0, when the kernel is compiled with the PCIAGP option and a non-AGP device is being used, allows local users to gain privileges via unspecified vectors, possibly related to agp_ioctl NULL pointer reference.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Critical Security · clocalbsd
https://www.exploit-db.com/exploits/3094

This exploit targets a vulnerability in OpenBSD's vga_ioctl() function (CVE-2007-0085) to achieve local privilege escalation. It uses a crafted shellcode to overwrite kernel credentials and spawn a root shell.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: OpenBSD 3.x-4.0
No auth needed
Prerequisites: Local access to the target system · Vulnerable OpenBSD version (3.x-4.0)
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (10)

Core 10
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32574
Mailing List mailing-list x_refsource_mlist
http://marc.info/?l=openbsd-cvs&m=116785923301416&w=2
Patch, Vendor Advisory vendor-advisory x_refsource_openbsd
http://www.openbsd.org/errata39.html#agp
Patch, Vendor Advisory vendor-advisory x_refsource_openbsd
http://www.openbsd.org/errata.html#agp
Patch, Vendor Advisory vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1017468
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/0043
Patch, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/23608
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/31276
Mailing List mailing-list x_refsource_mlist
http://marc.info/?l=openbsd-cvs&m=116781980706409&w=2

Scores

EPSS 0.0054
EPSS Percentile 41.0%

Details

Status published
Products (2)
openbsd/openbsd 3.9
openbsd/openbsd 4.0
Published Jan 05, 2007
Tracked Since Feb 18, 2026