GnuPG may downgrade digest algorithm to SHA1
Closed, ResolvedPublic

Assigned To
Authored By
• gniibe
Nov 4 2025, 6:45 AM

Description

GnuPG may downgrade the message digest algorithm to insecure SHA1 algorithm during signature checking due to reading from uninitialized memory.


Reported-by: 49016 and Liam (two-heart)

Event Timeline

• gniibe created this object in space Restricted Space.
• gniibe created this object with visibility "g10code (Project)".
• gniibe created this object with edit policy "g10code (Project)".
• gniibe mentioned this in Unknown Object (Maniphest Task).Nov 10 2025, 2:51 AM
• werner changed the task status from Open to Testing.Nov 19 2025, 5:53 PM
• werner shifted this object from the Restricted Space space to the S1 Public space.
• werner updated the task description. (Show Details)
• werner changed the visibility from "g10code (Project)" to "Public (No Login Required)".
• werner changed the edit policy from "g10code (Project)" to "Contributor (Project)".
• werner removed a project: g10code.
• werner claimed this task.
• werner added a subscriber: • werner.

Note that for exploiting this bug a second preimage attack for SHA-1 is required. This kind of attack on SHA1 is not yet possible.