Memory corruption via double-incremented armor buffer index
Published Dec 28, 2025 · Updated Dec 28, 2025
Out-of-bounds writes in GnuPG 2.3.0 through 2.4.8 and ExtendedLTS before 2.2.51 allow attackers to corrupt memory via crafted input. The armor_filter loop increments its output index in both the loop header and copy statement, then returns a length larger than the caller requested. Exploitation requires GnuPG to process specially structured ASCII-armored input; a public proof of concept reaches the fault, but no full code-execution chain is published.
Summary
What happened
Out-of-bounds writes in GnuPG 2.3.0 through 2.4.8 and ExtendedLTS before 2.2.51 allow attackers to corrupt memory via crafted input. The armor_filter loop increments its output index in both the loop header and copy statement, then returns a length larger than the caller requested. Exploitation requires GnuPG to process specially structured ASCII-armored input; a public proof of concept reaches the fault, but no full code-execution chain is published.
The record
- CVE
- CVE-2025-68973
- Published
- Dec 28, 2025
- Updated
- Dec 28, 2025
- Vendor
- The GnuPG Project
- Product
- GnuPG
- Classifications
- CWE-675, CWE-787
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 28, 2025CVE publishedPublication date reported by the CVE source.
- Dec 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=2.4.8
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- gpg.fail ASCII-armor parser proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo