Description
Multiple heap-based buffer overflows in the status_handler function in (1) engine-gpgsm.c and (2) engine-uiserver.c in GPGME before 1.5.1 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via vectors related to "different line lengths in a specific order."
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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gpgme1.0 | 1.5.1-1 | — |
| Debian 13 | gpgme1.0 | 1.5.1-1 | — |
| Debian 12 | gpgme1.0 | 1.5.1-1 | — |
| Debian 7 | gpgme1.0 | 1.2.0-1.4+deb7u1 | DSA-3005-1 |
| Debian 6.0 | gpgme1.0 | 1.2.0-1.2+deb6u1 | DLA-39-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | gpgme1.0 | 1.4.3-0.1ubuntu5.1 | USN-2307-1 |
Advisories 3
- USN-2307-1 gpgme1.0 vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-39-1 gpgme1.0 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3005-1 gpgme1.0 - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- 109699 vdb-entry
- 68990 vdb-entry
- DSA-3005 vendor-advisory
- http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git%3Ba=commit%3Bh=2cbd76f7911fc215845e89b50d6af5ff4a83dd77
- https://bugzilla.redhat.com/show_bug.cgi?id=1113267
- [oss-security] 20140731 CVE-2014-3564 gpgme: heap-based buffer overflow in gpgsm status handler mailing-list
- http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html