Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-90782-s2opc-status-clobber — Standalone PoC for CVE-2026-90782: status-clobbering NULL dereference in S2OPC alloc_notification_message_items() (DataChange fails, Event succeeds) | Kitploit
Tools/GitHubGitHub/harshrajsinghania/cve-2026-90782-s2opc-status-clobber
Memory ForensicsVulnerability AnalysisExploitationFuzzingBinary Analysis
GitHubharshrajsinghania/cve-2026-90782-s2opc-status-clobber

CVE-2026-90782-s2opc-status-clobber

Standalone PoC for CVE-2026-90782: status-clobbering NULL dereference in S2OPC alloc_notification_message_items() (DataChange fails, Event succeeds)

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
7h 51m agoNot yet reviewed

CVE-2026-90782 — S2OPC Status-Clobbering NULL Dereference

Standalone proof-of-concept for CVE-2026-90782 in S2OPC (Safe & Secure OPC).

Vulnerability

In alloc_notification_message_items() (S2OPC 1.7.3 and earlier):

  • A single shared status variable is used for both DataChange and Event allocations.
  • If the DataChange allocation fails (returns OOM / non-OK) but the subsequent Event allocation succeeds, status is overwritten to SOPC_STATUS_OK.
  • The post-loop guard then passes and the code dereferences the still-NULL dataChangeNotif pointer → NULL dereference / crash.

Build & Run

root@kitploit:~
gcc -o s2opc_poc reproducer.c

# Test 1 — both allocations succeed (no crash)
./s2opc_poc 1

# Test 2 — vulnerable path: DataChange fails, Event succeeds → NULL deref (crash)
./s2opc_poc 2

# Test 3 — fixed path: independent status tracking, no crash
./s2opc_poc 3

# Test 4 — control: data-only (no Event alloc to clobber status)
./s2opc_poc 4

Recommended with AddressSanitizer:

root@kitploit:~
gcc -fsanitize=address -g -o s2opc_poc reproducer.c
./s2opc_poc 2

Fix

Track allocation statuses independently and early-exit / skip the dereference when DataChange allocation failed. Mirrors the pattern in commit 8848f051.

Files

  • reproducer.c — mirrors the vulnerable and fixed allocation logic
Download Tool