Skip to main content

OpenBSD CVE-2026-56099

| EUVDEUVD-2026-37938 MEDIUM
Out-of-bounds Read (CWE-125)
2026-06-18 VulnCheck GHSA-6qv5-f6m3-44g8
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify OpenBSD host accepting MPLS frames
  2. Delivery
    Craft MPLS frame with 16 labels and no BoS bit set
  3. Exploit
    Transmit frame to reachable MPLS-enabled interface
  4. Execution
    mpls_do_error iterates nstk past MPLS_INKERNEL_LOOP_MAX
  5. Persist
    Out-of-bounds read leaks kernel stack memory
  6. Impact
    Attacker captures and analyzes disclosed memory contents

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target OpenBSD system must be configured to process MPLS traffic - at minimum one network interface must have MPLS enabled and be reachable by the attacker at Layer 2 or Layer 3. No authentication is required (CVSS PR:N confirmed). No user interaction is required. The specific trigger is an MPLS frame bearing exactly 16 label stack entries with no Bottom-of-Stack bit set on any label - a non-default packet structure that is trivially crafted with raw socket tooling. Systems not configured for MPLS forwarding or reception are not reachable via this code path, as mpls_do_error is only invoked during MPLS frame processing. Default OpenBSD installations without MPLS interface configuration are not exposed. Exploitation is also limited to kernel stack memory contents at the time of the read; arbitrary kernel write primitive is not described.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N) scores 6.9, reflecting network-accessible, zero-authentication exploitation with low confidentiality impact limited to partial kernel stack contents. No EPSS score is present in the provided data, so exploitation probability cannot be numerically quantified. This CVE does not appear in the CISA KEV catalog, indicating no confirmed widespread active exploitation. However, a publicly available exploit exists via the Argus Systems advisory, which meaningfully elevates practical risk beyond raw CVSS signals - defenders should treat POC availability as an accelerant. The attack complexity is genuinely low: the trigger condition (16-label MPLS frame, no BoS bit) is trivially crafted with standard packet tooling. The primary real-world limiting factor is that MPLS must be active and reachable on the target system; OpenBSD deployments not routing MPLS traffic are not exposed via this vector. For MPLS-enabled systems, the disclosed kernel stack contents could be leveraged in a follow-on exploit chain to defeat KASLR or recover sensitive kernel state such as stack canaries.

Exploit ScenarioDerived

A remote attacker with network-layer adjacency to an OpenBSD host processing MPLS traffic sends a crafted Ethernet frame containing exactly 16 MPLS label stack entries, with the Bottom-of-Stack bit unset on every label. The mpls_do_error function iterates past the end of the valid label array without a bounds check, reading kernel stack memory beyond the allocated region. The leaked contents - which may include stack canaries, kernel pointers, or other sensitive memory - are accessible to the attacker and a public exploit demonstrating this exists per the Argus Systems advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 18, 2026

Kernel stack memory disclosure in OpenBSD's MPLS input processing exposes arbitrary kernel stack contents to unauthenticated remote attackers via crafted MPLS frames. The flaw exists in mpls_do_error within sys/netmpls/mpls_input.c (revision 1.81), where a label-stack iterator lacked an upper-bounds guard, allowing a 16-label frame with no Bottom-of-Stack bit to drive an out-of-bounds read. A publicly available exploit exists per the Argus Systems advisory; this vulnerability is not confirmed as actively exploited in the CISA KEV catalog, and the CVSS 4.0 score is 6.9.

RemediationAI

Apply OpenBSD source commit 6a23123ec05f1eb29cfcaae0f3a468b2e1983cfd (https://github.com/openbsd/src/commit/6a23123ec05f1eb29cfcaae0f3a468b2e1983cfd), which introduces the nstk >= MPLS_INKERNEL_LOOP_MAX guard in mpls_do_error and rebuilds the kernel. No specific patched release version number is independently confirmed from the available data; operators should apply the commit directly against their source tree. As a compensating control for systems where immediate patching is impractical, disabling MPLS forwarding on any interface reachable by untrusted hosts removes the exposure path - trade-off is loss of MPLS routing capability on those interfaces. Blocking MPLS EtherType (0x8847/0x8848) at perimeter ingress on non-MPLS-transit links is an additional containment measure with no functional impact on non-MPLS traffic. The Argus Systems advisory at https://pop.argus-systems.ai/advisory/adv-040.html provides exploit-level detail useful for validating detection coverage.

Affected VersionsENISA

src 0 <6a23123ec05f1eb29cfcaae0f3a468b2e1983cfd

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MPLS (Multiprotocol Label Switching) uses a label stack embedded in network frames; each label carries a Bottom-of-Stack (BoS) bit to signal the final label. OpenBSD's mpls_do_error function in sys/netmpls/mpls_input.c processes these frames during error handling. The vulnerable code iterated over incoming labels using a counter (nstk) without bounding it against MPLS_INKERNEL_LOOP_MAX - the kernel's defined maximum label depth of 16. When a crafted packet presents exactly 16 labels with no BoS bit set, the iterator overruns the valid label stack into adjacent kernel stack memory, constituting a CWE-125 Out-of-Bounds Read. The commit diff confirms the fix: a guard if (nstk >= MPLS_INKERNEL_LOOP_MAX) { m_freem(m); return (NULL); } was inserted before the unbounded iteration path in revision 1.82. The affected CPE is cpe:2.3:a:openbsd:src:*:*:*:*:*:*:*:*, covering all OpenBSD src versions prior to commit 6a23123 on 2026-06-18.

Know when Openbsd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Network-accessible with no authentication since MPLS frame delivery is protocol-level; only low confidentiality impact as the read leaks partial kernel stack data with no integrity or availability consequence.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

OpenBSD before commit 6a23123 (2026-06-18) contains an out-of-bounds read vulnerability in the mpls_do_error function within sys/netmpls/mpls_input.c that allows remote attackers to disclose kernel stack memory by sending crafted MPLS frames with 16 labels and no Bottom-of-Stack bit set.

Threat Intelligence Overview

EPSS Score
0.4%
Top 73% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2023-38408 CRITICAL POC
9.8 Jul 20

The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remot

CVE-2023-25136 MEDIUM POC
6.5 Feb 03

OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. Rated medium se

CVE-2016-6210 MEDIUM POC
5.9 Feb 13

sshd in OpenSSH before 7.3, when SHA256 or SHA512 are used for user password hashing, uses BLOWFISH hashing on a static

CVE-2015-5600 HIGH POC
8.1 Aug 03

The kbdint_next_device function in auth2-chall.c in sshd in OpenSSH through 6.9 does not properly restrict the processin

CVE-2016-6515 HIGH POC
7.5 Aug 07

The auth_password function in auth-passwd.c in sshd in OpenSSH before 7.3 does not limit password lengths for password a

CVE-2026-123158 HIGH POC
8.1 Nov 05

Password authentication bypass in OpenSSH sshd before 10.6p2 built against musl libc without PAM lets a remote, unauthen

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2019-6111 MEDIUM POC
5.9 Jan 31

An issue was discovered in OpenSSH 7.9. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploitable, no

CVE-2017-5850 HIGH POC
7.5 Mar 27

httpd in OpenBSD allows remote attackers to cause a denial of service (memory consumption) via a series of requests for

CVE-2025-26465 MEDIUM
6.8 Feb 18

A vulnerability was found in OpenSSH when the VerifyHostKeyDNS option is enabled. Rated medium severity (CVSS 6.8), this

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2016-0777 MEDIUM
6.5 Jan 14

The resend_bytes function in roaming_common.c in the client in OpenSSH 5.x, 6.x, and 7.x before 7.1p2 allows remote serv

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy