One SMB client sent a file-security update. A different client's live SMB reply came back containing bytes from that update. The server process had not restarted.
That is the result at the center of our
CVE-2026-112510
research. We found a heap out-of-bounds write in macOS's root smbd while
it converted an SMB2 security descriptor. The write was not just visible in
a crash report: in a matched stock-daemon test, its final 56 attacker-shaped
bytes appeared at a known offset in a separate authenticated session's
reply. Apple's security advisory
credits Andrey Chernykh (BypassLabs.AI) alongside Efstratios Kaplanellis for this CVE.
Key findings
- An authenticated SMB client could reach the vulnerable converter through
an ordinary
SET_INFOrequest withInfoType=SECURITYon an openable file. - The client supplied one wire ACL and made both DACL and SACL offsets point to it. The server materialized that ACL twice into a native descriptor.
- The dispatch path allocated from the wire length, but the converter treated its output bound as 40 times that capacity. The native result extended 56 bytes past the real allocation.
- A separate authenticated session's signed reply contained the 56-byte
marker at offset 64; the control reply had no marker and a valid signature.
The overflow reply's signature failed, while root
smbdretained its PID. - An independent ProbGuard run faulted on the first byte beyond a live allocation, confirming the write boundary without relying on heap layout.
At a glance
| Detail | Finding |
|---|---|
| Target | Production /usr/sbin/smbd, running as root |
| Tested build | macOS 27.0 beta 26A5378n, Apple silicon Mac17,2, SIP enabled |
| Entry point | Authenticated SMB2 SET_INFO, InfoType=SECURITY, over TCP/445 |
| Required access | A valid SMB account and an openable file handle; no admin privilege in the client |
| Controlled input | Self-relative security descriptor with aliased DACL/SACL offsets and attacker-shaped ACE/SID bytes |
| Demonstrated impact | 56-byte heap overwrite reaching a separate session's live reply; invalid reply signature |
| Public CVSS 3.1 | CISA ADP: 7.5 High |
| Fixed in | macOS Golden Gate 27.2, Tahoe 26.7.2, and Sequoia 15.8.2 |
A descriptor with two pointers to one ACL
SMB security descriptors describe ownership and access rules. A self-relative descriptor holds offsets to components such as the DACL and SACL. In our trigger, both offsets referred to the same ACL in the request. That is a valid wire representation, but it made the conversion path do something important twice: build a native ACL for each reference.
The authenticated path was straightforward:
TCP/445 -> SESSION_SETUP -> TREE_CONNECT -> CREATE/open
-> SMB2 SET_INFO (SECURITY) -> descriptor conversion
The conversion happened before the share's filesystem security operation.
That later operation returned STATUS_NOT_SUPPORTED on the APFS test share,
but the return status came after the memory write. Treating a rejected
filesystem operation as proof that the request was harmless would miss the
bug entirely.
The root cause was a disagreement between allocation and bounds. The SMB2
dispatch routine allocated a buffer from the 131,068-byte wire input, rounded
to 131,072 bytes. It passed the wire length to
ConvertWireSecurityDescriptorToSecurityDescriptor as the output capacity.
The converter then formed a trusted end pointer at output + capacity * 40.
The ACL initializer and ACE-writing loop used that inflated bound, not the
size of the actual heap allocation.
With the DACL and SACL aliased, the native layout was:
native header and owner/group SIDs 64 bytes
first native ACL 65,532 bytes
control total 65,596 bytes (in bounds)
second native ACL 65,532 bytes
overflow total 131,128 bytes
actual allocation 131,072 bytes
amount past allocation 56 bytes
The final ACE's 56-byte SID began exactly at native offset 131,072. Its framing had to remain a valid SID, but its authority and subauthority fields were client-selected. We knew the expected bytes beyond the boundary before running the test.
A second session made the write visible
We used two disposable, non-admin, non-guest File Sharing accounts and an isolated share. The first session sent the descriptor. The second session issued a matched read and kept a reply live while the first session's conversion ran. The test controlled that placement with the second session's own I/O; it did not assume an arbitrary real user would naturally have the same heap adjacency.
Both arms used the same 131,068-byte wire length and 131,072-byte allocation. The safe control built one native ACL. The overflow arm built two by aliasing the DACL and SACL offsets.
| Observation | Matched control | Overflow arm |
|---|---|---|
| Calculated bytes past allocation | 0 | 56 |
| Marker in second session's reply | Absent | All 56 bytes at offset 64 |
| Second reply's SMB signature | Valid | Invalid |
Root smbd PID changed |
No | No |
That is a stronger observation than a process crash alone. The marker was not simply found in the attacker's request buffer; it appeared in another principal's in-flight reply object. The failed signature matters too: it confirmed that the reply was altered, while preventing the corrupted reply from masquerading as a valid signed SMB response. We did not claim a forged reply that a signing client would accept.
We checked the allocation boundary separately with Apple's ProbGuard. In
that run, a 16,384-byte control descriptor stayed within a 16,384-byte
allocation. A 16,404-byte native result hit the guard page at the first byte
beyond that allocation. The diagnostic named root smbd, classified the
fault as a high-confidence out-of-bounds write, and showed the call chain
through InitializeAclFromWire and the security-descriptor converter.
ProbGuard identified where the write crossed the allocation; the stock
two-session run showed what live object it could reach.
Why this was a network-facing bug
The proof ran on loopback for repeatability, but the vulnerable parser was
not a loopback-only path. With File Sharing enabled, the production SMB
listener bound TCP/445 on IPv4 and IPv6 wildcard addresses. We also triggered
the overflow while addressing the host's routable address. The client still
needed an authenticated SMB session and an openable handle. The local
sudo wrapper in the PoC existed to create and clean up disposable test
accounts and the share; the protocol trigger did not require server-side
administrator privileges.
Apple lists the CVE under smbx; the process in our test was the production
/usr/sbin/smbd. Its public CVE entry summarizes the impact as a remote
denial of service.
Our evidence resolves the underlying mechanism more precisely: an
authenticated client could make a root network daemon write attacker-shaped
bytes beyond a heap allocation and into another session's live data. The
observed corrupted reply failed SMB signing, and the run did not disclose
victim memory or demonstrate code execution. Those limits do not turn the
cross-session overwrite into a mere parser error.
The filesystem's STATUS_NOT_SUPPORTED response could have ended the
investigation. We followed the request past that status: the server stayed
alive, and the meaningful result appeared in a different session. A matched
control, exact size arithmetic, a live-object marker, and a separate
guard-page diagnostic made the memory boundary visible.
Disclosure notes
During validation, we reproduced the 56-byte overwrite against the stock daemon and observed the marker in a separate authenticated session’s reply without a process restart. We reported the issue to Apple. Apple credits Andrey Chernykh (BypassLabs.AI) and Efstratios Kaplanellis.
Remediation
Install a fixed release for your macOS branch, or a later security update:
Use Software Update to install the update. The tested vulnerable builds are documented above; the fixed versions come from Apple’s CVE record.
Disclosure timeline
Allocation boundary confirmed
ProbGuard caught the first out-of-bounds byte in root smbd on build 26A5378n.
Apple ships the fix
macOS Golden Gate 27.2, macOS Tahoe 26.7.2, macOS Sequoia 15.8.2 are released and the CVE record is published.
Sources & references
- Apple security content: macOS Golden Gate 27.2support.apple.com
- Apple security content: macOS Tahoe 26.7.2support.apple.com
- Apple security content: macOS Sequoia 15.8.2support.apple.com
- CVE-2026-112510 — official recordcve.org
- CVE record data — dates and CISA ADP severity assessmentcveawg.mitre.org
- Apple Support — update macOSsupport.apple.com