Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in sequoia-openpgp. The ASCII-armor reader buffers each input line with read_to(newline) and does not enforce a maximum line length. An attacker-supplied armored message whose line length is comparable to the process memory limit can exhaust memory in the parsing process. Resident memory follows the input size, with a small constant factor from the growable buffer. This is not a classic amplification flaw. The issue is present in sequoia-openpgp 2.4.2. The unreleased fix enforces a 4096-byte line limit.