Bug 2537747 (CVE-2026-95507) - CVE-2026-95507 libslirp: libslirp: out-of-bounds read in NC-SI OEM response handler discloses host memory to guest
Summary: CVE-2026-95507 libslirp: libslirp: out-of-bounds read in NC-SI OEM response h...
Keywords:
Status: NEW
Alias: CVE-2026-95507
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2537752
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-22 07:26 UTC by OSIDB Bzimport
Modified: 2026-09-22 08:02 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-22 07:26:16 UTC
A flaw was found in libslirp. The NC-SI OEM response handler (ncsi_rsp_handler_oem() in src/ncsi.c) reads and reflects the 4-byte mfr_id field from the incoming NC-SI OEM command packet into the outgoing response before validating that the packet is large enough to contain that field. ncsi_input() only validates pkt_len against the 16-byte NC-SI common header (the fix scope of CVE-2020-29129), leaving the OEM sub-dispatch path, added afterward, unchecked. A guest capable of sending a crafted 30-33 byte NC-SI OEM Ethernet frame (ethertype 0x88F8) can cause up to 4 bytes of adjacent host RX-buffer memory to be disclosed back to the guest in the NC-SI response; if the instance is configured with a Mellanox manufacturer ID, a second handler (ncsi_rsp_handler_oem_mlx()) similarly over-reads up to 4 additional bytes from cmd->data. This is a guest-triggerable, bounded host memory disclosure; there is no write and no code execution.


Note You need to log in before you can comment on or make changes to this bug.