Gpgme: gpgme: double free in read_status() via crafted signature
NIST has not reviewed this entry yet, so scores and affected versions may be missing or may change.
A flaw was found in gpgme. When processing crafted input, an early return following memory reallocation can leave internal buffer pointers referencing previously freed memory, resulting in a double-free condition during cleanup. A remote attacker could exploit this vulnerability to corrupt process memory, potentially leading to arbitrary code execution or a Denial of Service (DoS) crash.
Double Free CWE-415
The product calls free() twice on the same memory address.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 8 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Red Hat Red Hat Enterprise Linux 10 | Software | not recorded | |
| Red Hat Red Hat Enterprise Linux 7 | Software | not recorded | |
| Red Hat Red Hat Enterprise Linux 8 | Software | not recorded | |
| Red Hat Red Hat Enterprise Linux 9 | Software | not recorded | |
| Red Hat Red Hat Hardened Images | Software | not recorded | |
| Red Hat Red Hat OpenShift Container Platform 4 | Software | not recorded | |
| Red Hat Red Hat OpenShift Container Platform 4 | Software | not recorded | |
| Red Hat Red Hat OpenShift Container Platform 5 | Software | not recorded |
The 8.1 severity score (high) from redhat.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | High | Hard to carry out. It depends on conditions the attacker cannot control. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 2.2 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.9 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 10 sources for this flaw, none tagged as a vendor patch.