NULL pointer dereference in libetpan - CVE-2022-4121
Published: September 9, 2025
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error within the mailimap_mailbox_data_status_free() function in low-level/imap/mailimap_types.c when handling the IMAP STATUS command. A remote attacker can pass specially crafted data to the application and perform a denial of service (DoS) attack.
Affected software
Debian Linux
Ubuntu
Fedora
libetpan17 (Ubuntu package)
libetpan20 (Ubuntu package)
libetpan (Debian package)
libetpan
How to mitigate CVE-2022-4121
libetpan20 (Ubuntu package) - addressed in versions 1.8.0-1ubuntu0.1~esm1, 1.9.4-2ubuntu0.1~esm1, 1.9.4-3+deb11u1build0.22.04.1
libetpan (Debian package) - addressed in versions 1.9.3-2+deb10u2, 1.9.4-3+deb11u1
libetpan - addressed in versions 1.9.4-9.fc35, 1.9.4-9.fc36, 1.9.4-9.fc37