CVE-2009-2793 in Netbsd
The kernel in NetBSD, probably 5.0.1 and earlier, on x86 platforms does not properly handle a pre-commit failure of the iret instruction, which might allow local users to gain privileges via vectors related to a tempEIP pseudocode variable that is outside of the code-segment limits.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Netbsd | Netbsd | ≤ 5.0.1 |
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
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
The kernel in NetBSD, probably 5.0.1 and earlier, on x86 platforms does not properly handle a pre-commit failure of the iret instruction, which might allow local users to gain privileges via vectors related to a tempEIP pseudocode variable that is outside of the code-segment limits.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2009-2793 |
|---|---|
| BreachSpider ID | BS-2009-GLOBAL-156170-M |
| CVSS vector | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2009-09-18 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-264: Permissions, Privileges, and Access Controls
Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2009. A medium severity vulnerability affects Netbsd systems (CVE-2009-2793). Public exploit code is available. Isolate affected systems if patching is not feasible.
Vulnerability details: The kernel in NetBSD, probably 5.0.1 and earlier, on x86 platforms does not properly handle a pre-commit failure of the iret instruction, which might allow local users to gain privileges via vectors related to a tempEIP pseudocode variable that is outside of the code-segment limits. CVSS vector: AV:L/AC:L/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2009-2793?
This vulnerability was disclosed in 2009. A medium severity vulnerability affects Netbsd systems (CVE-2009-2793). Public exploit code is available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2009-2793?
CVE-2009-2793 has CVSS 4.6 (Medium). Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P. EPSS: 0.5%.
Is CVE-2009-2793 actively exploited?
Public exploit available for CVE-2009-2793. Exploitation risk elevated.
How do I remediate CVE-2009-2793?
Priority: MONITOR.
What systems are affected by CVE-2009-2793?
CVE-2009-2793 affects Netbsd Netbsd.
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":"Netbsd","product":"Netbsd","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.