CVE-2026-44050: Netatalk Cnid Dbd Unbounded Readt Namelen

`readt()` reads `$RQST->namelen` bytes (attacker-controlled length from the CNID wire-format request header) into the fixed-size `$RQST->name` buffer without first validating `$RQST->namelen <= MAXPATHLEN`. This is the heap-based buffer overflow pattern fixed in CVE-2026-44050. Add a guard `if ($RQST->namelen > MAXPATHLEN) { ...; return 0; }` before this rea

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0C
greprules fetch cve-2026-44050-netatalk-cnid-dbd-unbounded-readt-namelen --engine opengrep

Description

`readt()` reads `$RQST->namelen` bytes (attacker-controlled length from the CNID wire-format request header) into the fixed-size `$RQST->name` buffer without first validating `$RQST->namelen <= MAXPATHLEN`. This is the heap-based buffer overflow pattern fixed in CVE-2026-44050. Add a guard `if ($RQST->namelen > MAXPATHLEN) { ...; return 0; }` before this rea