CVE-2020-8945: Memory corruption or code execution in github.com/proglottis/gpgme

github.com/proglottis/gpgme Updated 02 Oct 2025

Summary

14/04/2021
Yes i
High
7.5

CVE-2020-8945: Memory corruption or code execution in github.com/proglottis/gpgme. Affects github.com/proglottis/gpgme versions < 0.1.1. Fixed in 0.1.1. How to fix ↓

Also tracked for

The same CVE-2020-8945 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The package github.com/proglottis/gpgme is a Go library that provides bindings for the GPGME (GnuPG Made Easy) library. It allows developers to interact with the GnuPG encryption software in a simplified manner. The package is commonly used for encryption, decryption, signing, and verification of data using GnuPG. However, a vulnerability has been discovered in the package that can lead to memory corruption or possible code execution.

Vulnerability Detail

The vulnerability (CVE-2020-8945) in github.com/proglottis/gpgme is caused by improper setting of finalizers. This can result in memory being freed before it is used, leading to crashes due to memory corruption or potential code execution. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial of service by crashing the application. The impact of this vulnerability depends on how the affected package is used in the application and the privileges it has.

How To Fix

Latest published version: v0.1.6 as of 23 Oct 2026

go get github.com/proglottis/gpgme@v0.1.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.1.1

This is the first release that contains the fix.

go get github.com/proglottis/gpgme@v0.1.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the fix mentioned above.

Conclusion

The vulnerability in github.com/proglottis/gpgme can lead to memory corruption or possible code execution. It is crucial for developers to update their applications to the latest version of the package (0.1.1 or later) to mitigate this vulnerability. Thorough testing should be conducted to ensure the fix is effective. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/proglottis/gpgme →

Share this vulnerability

FAQ

github.com/proglottis/gpgme is a Go library that provides bindings for the GPGME library, allowing developers to interact with GnuPG for encryption, decryption, signing, and verification of data.

The vulnerability can lead to memory corruption or possible code execution, potentially allowing an attacker to execute arbitrary code or cause a denial of service.

To fix this vulnerability, update the package to version 0.1.1 or later and rebuild your application. Thoroughly test the updated application to ensure the vulnerability has been mitigated.

There is no known workaround for this vulnerability. It is recommended to apply the fix mentioned above.

You can find more information about this vulnerability in the CVE-2020-8945 entry or on the Vulert website.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/proglottis/gpgme.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: v0.1.6 as of 23 Oct 2026

go get github.com/proglottis/gpgme@v0.1.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.1.1

This is the first release that contains the fix.

go get github.com/proglottis/gpgme@v0.1.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback