Bug 2425660 - Remote code execution in GnuPG via malformed ASCII armor
Summary: Remote code execution in GnuPG via malformed ASCII armor
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnupg2
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jakub Jelen
QA Contact: Fedora Extras Quality Assurance
URL: https://gpg.fail/memcpy
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-28 02:04 UTC by Demi Marie Obenour
Modified: 2026-01-05 01:21 UTC (History)
5 users (show)

Fixed In Version: gnupg2-2.4.9-1.fc43
Clone Of:
Environment:
Last Closed: 2026-01-05 01:21:46 UTC
Type: ---
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-2864 0 None None None 2025-12-28 02:05:13 UTC

Description Demi Marie Obenour 2025-12-28 02:04:05 UTC
There is a remote code execution vulnerability in GnuPG via malformed ASCII armor.  This has been fixed in upstream, but Fedora does not have the patch.

Reproducible: Always

Steps to Reproduce:
See https://gpg.fail/memcpy or GnuPG commit 115d138ba599328005c5321c0ef9f00355838ca9
Actual Results:
Memory corruption

Expected Results:
No memory corruption

Additional Information:
This is likely exploitable for code execution.

Comment 1 Jens Petersen 2026-01-01 05:48:03 UTC
(moving to rawhide since a f42 bug was created and aligning severity with the other filed security bugs)

Demi prepared a PR in https://src.fedoraproject.org/rpms/gnupg2/pull-request/25

Comment 2 Fedora Update System 2026-01-02 09:35:10 UTC
FEDORA-2026-acea06489d (gnupg2-2.4.9-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-acea06489d

Comment 3 Fedora Update System 2026-01-03 01:16:46 UTC
FEDORA-2026-acea06489d has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-acea06489d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-acea06489d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-01-05 01:21:46 UTC
FEDORA-2026-acea06489d (gnupg2-2.4.9-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.