Description
gpgv in GnuPG before 1.4.2.1, when using unattended signature verification, returns a 0 exit code in certain cases even when the detached signature file does not carry a signature, which could cause programs that use gpgv to assume that the signature verification has succeeded. Note: this also occurs when running the equivalent command "gpg --verify".
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | gnupg | 1.2.6-3 | RHSA-2006:0266 |
| RHEL 3 | gnupg | 1.2.1-15 | RHSA-2006:0266 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gpg2 | 2.2.27-2.4 | openSUSE-SU-2024:10815-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- GnuPG 1.x - Detached Signature Verification Bypass EDB-27231 · local · Feb 15, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- RHSA-2006:0266 Red Hat Security Advisory: gnupg security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-978-1 gnupg - invalid success return Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10815-1 dirmngr-2.2.27-2.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 16663 vdb-entry
- 18956 third-party-advisory
- 2006-0008 vendor-advisory
- [gnupg-devel] 20060215 [Announce] False positive signature verification in GnuPG mailing-list
- OpenPKG-SA-2006.001 vendor-advisory
- 19249 third-party-advisory
- SUSE-SR:2006:005 vendor-advisory
- RHSA-2006:0266 vendor-advisory
- SUSE-SA:2006:013 vendor-advisory
- 20060215 False positive signature verification in GnuPG mailing-list
- 18934 third-party-advisory
- FEDORA-2006-116 vendor-advisory
- gnupg-gpgv-improper-verification(24744) vdb-entry
- oval:org.mitre.oval:def:10084 vdb-entry signature
- SSA:2006-072-02 vendor-advisory
- FLSA-2006:185355 vendor-advisory
- 18955 third-party-advisory
- [gnupg-announce] 20060215 False positive signature verification in GnuPG mailing-list
- SUSE-SA:2006:009 vendor-advisory
- 19130 third-party-advisory
- GLSA-200602-10 vendor-advisory
- 19532 third-party-advisory
- 18933 third-party-advisory
- DSA-978 vendor-advisory
- 23221 vdb-entry
- USN-252-1 vendor-advisory
- 18968 third-party-advisory
- 18845 third-party-advisory
- 18942 third-party-advisory
- MDKSA-2006:043 vendor-advisory
- ADV-2006-0610 vdb-entry