Security Advisories (2)
CPANSA-POSIX-2008-001

POSIX::2008's implementation of readlink() and readlinkat(). The underlying syscalls do not add any null terminator byte at the end of the output buffer, but _readlink50c() in 2008.XS also fails to add a null terminator before returning the result string to perl. This results in arbitrary memory contents being visible in the result returned to perl code by readlink() and readlinkat(). At the very least, this causes failures in any downstream code that attempts to access whatever filename (plus the erroneous garbage) was linked to.

CVE-2024-55564

Fixed potential env buffer overflow in _execve50c()

Changes for version 0.03 - 2013-09-15

  • check SvGROW for NULL
  • use shorter mPUSH macros

Modules

Perl interface to POSIX.1-2008