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
Tools/GitHubGitHub/harshrajsinghania/cve-2026-90781-alsa-lib-oob
Static AnalysisMemory ForensicsVulnerability AnalysisExploitationFuzzingPapers & ResearchLearning & Education
GitHubharshrajsinghania/cve-2026-90781-alsa-lib-oob

CVE-2026-90781-alsa-lib-oob

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →

Standalone reproducer for CVE-2026-90781: 1-byte OOB write in alsa-lib __snd_ctl_ascii_elem_id_parse() name= parsing (quoted and unquoted)

View Repository
8h 34m agoNot yet reviewed
Share

CVE-2026-90781 — alsa-lib OOB Write Reproducer

Standalone C reproducer for CVE-2026-90781, a 1-byte out-of-bounds write in alsa-lib's __snd_ctl_ascii_elem_id_parse() when parsing name= (both quoted and unquoted forms).

Vulnerability

In src/control/ctlparse.c (v1.2.16.1 and earlier development HEAD):

root@kitploit:~
char buf[64];
...
if (size < (int)sizeof(buf)) {   // BUG: allows size == 64
    *ptr++ = *str;
    size++;
}
...
*ptr = '\0';                     // writes buf[64] when size == 64

The numid= path was already fixed to sizeof(buf) - 1; the two name= loops were not.

Build & Run

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

# With AddressSanitizer (recommended to observe the OOB write):
gcc -fsanitize=address -g -o reproducer reproducer.c
./reproducer

Expected ASan report (vulnerable path)

root@kitploit:~
WRITE of size 1 at ... Stack right redzone

Files

  • reproducer.c — mirrors the exact vulnerable and fixed parsing logic

References

  • alsa-lib src/control/ctlparse.c
  • Related fix pattern: PR #509 / commit 1e27d63 (numid= path)
Download Tool