Skip to content

Write-ups

GNU C Library (glibc)

Every publicly disclosed report for GNU C Library (glibc) and what kind of bugs they were.

disclosed reports
3
most reported class
Memory corruption
bug classes found
1

Disclosed reports

Newest first. Only what GNU C Library (glibc) chose to make public.

Memory corruption

Iconv, Set The Charset To RCE: Exploiting The Glibc To Hack The PHP Engine (Part 2)

A 24-year-old buffer overflow in glibc's iconv implementation can be triggered through PHP's iconv() function when converting attacker-controlled input to a specific output charset. In Roundcube webmail, a standard user could supply a charset and crafted recipient fields to corrupt the heap, leak memory and ultimately achieve remote code execution.

GNU C Library (glibc)

Memory corruption

Iconv, Set The Charset To RCE: Exploiting The Glibc To Hack The PHP Engine (Part 1)

A 24-year-old out-of-bounds write exists in the glibc iconv implementation when converting to the ISO-2022-CN-EXT charset, where escape sequences can be written past the end of the output buffer. The author shows this bug is reachable through PHP's php://filter iconv conversions, allowing a file-read primitive to be turned into remote code execution in PHP applications.

GNU C Library (glibc)

Memory corruption

Qualys TRU Discovers Important Vulnerabilities in GNU C Library’s syslog()

A heap-based buffer overflow in glibc's __vsyslog_internal() function allows local privilege escalation, enabling an unprivileged user to gain full root access. Two minor related flaws (off-by-one and integer overflow) were also found, and a separate memory corruption in qsort() requires a non-transitive comparison function and attacker-controlled element count.

GNU C Library (glibc)