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
Ubuntu
Fedora
libetpan (Ubuntu package)
libetpan
How to mitigate CVE-2022-4121
libetpan - addressed in versions 1.9.4-9.fc35, 1.9.4-9.fc36, 1.9.4-9.fc37