libksba: Possible infinite loop for untrusted input
Closed, ResolvedPublic

Assigned To
Authored By
gniibe
Jul 21 2026, 8:16 AM

Description

Summary

DoS in CMS SignedData parsing: zero-progress signerInfos loop can cause unbounded CPU/memory use: malformed CMS SignedData can make signerInfos parsing report success without consuming input, leaving the parser in a zero-progress loop that repeatedly appends signer entries until CPU or memory is exhausted.

Reported by: Jakub Jelen (Red Hat)
Acknowledgement: Aisle Research

Related Objects

Event Timeline

gniibe mentioned this in Unknown Object (Maniphest Task).Mon, Jul 27, 8:16 AM
gniibe changed the task status from Open to Testing.Mon, Aug 3, 6:49 AM
gniibe lowered the priority of this task from Unbreak Now! to Normal.
gniibe shifted this object from the Restricted Space space to the S1 Public space.Tue, Aug 25, 3:47 AM
gniibe changed the visibility from "g10code (Project)" to "Public (No Login Required)".