HP-UX swmodify buffer overflow exploit. HP-UX swmodify contains an exploitable stack overflow in the handling of command line arguements. Specifically the problem occurs due to insufficient bounds checking in the "-S" optional argument. swmodify is installed setuid root by default in HP-UX and allows for local root compromise when exploiting this issue.