cve.bz

CVE-2022-34903 Injection

6.5 mediumExploit referenceEPSS 2.8%Fix available

Medium (6.5). EPSS 2.8% estimated probability of exploitation activity in the next 30 days.

On this page
GnuPG through 2.3.6, in unusual situations where an attacker possesses any secret-key information from a victim's keyring and other constraints (e.g., use of GPGME) are met, allows signature forgery via injection into the status line.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS
2.8% (unchanged from 2.8% a week ago; 2.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-34903 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-34903?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-34903?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-34903 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnupg:gnupgthrough 2.3.6
fedoraproject:fedora35
fedoraproject:fedora36
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10gnupg22.2.12-1+deb10u2DSA-5174-1
Debian11gnupg22.2.27-2+deb11u2DSA-5174-1
Debian12, 13, 14gnupg22.2.35-3DEBIAN-CVE-2022-34903
Ubuntu18.04:LTSgnupg22.2.4-1ubuntu1.6UBUNTU-CVE-2022-34903 USN-5503-1
Ubuntu20.04:LTSgnupg22.2.19-3ubuntu2.2UBUNTU-CVE-2022-34903 USN-5503-1
Ubuntu22.04:LTSgnupg22.2.27-3ubuntu2.1UBUNTU-CVE-2022-34903 USN-5503-1
UbuntuPro:14.04:LTSgnupg1.4.16-1ubuntu2.6+esm1UBUNTU-CVE-2022-34903 USN-5503-2
UbuntuPro:16.04:LTSgnupg1.4.20-1ubuntu3.3+esm2UBUNTU-CVE-2022-34903 USN-5503-2
UbuntuPro:16.04:LTSgnupg22.1.11-6ubuntu2.1+esm1UBUNTU-CVE-2022-34903 USN-5503-2
Red Hatenterprise_linux:8::baseosgnupg2, gnupg2-smime, gnupg2-debuginfo and 2 more0:2.2.20-3.el8_6RHSA-2022:6463
Red Hatenterprise_linux:9::appstreamgnupg2-smime, gnupg2-debuginfo, gnupg2-debugsource and 1 more0:2.3.3-2.el9_0RHSA-2022:6602
Red Hatenterprise_linux:9::baseosgnupg2, gnupg2-debuginfo, gnupg2-debugsource and 1 more0:2.3.3-2.el9_0RHSA-2022:6602
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 16 moregpg22.2.5-150000.4.22.1SUSE-SU-2022:3144-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Module for Basesystem 15 SP3 and 1 moregpg22.2.27-150300.3.5.1SUSE-SU-2022:2546-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 5 moregpg22.0.24-9.11.1SUSE-SU-2022:2529-1
openSUSELeap 15.3, Leap 15.4gpg22.2.27-150300.3.5.1SUSE-SU-2022:2546-1
openSUSELeap Micro 5.2gpg22.2.27-150300.3.5.1openSUSE-SU-2022:2546-1
openSUSETumbleweedgpg22.3.7-1.1openSUSE-SU-2024:12215-1
AlmaLinux8gnupg2, gnupg2-smime2.2.20-3.el8_6ALSA-2022:6463
AlmaLinux9gnupg2, gnupg2-smime2.3.3-2.el9_0ALSA-2022:6602
Rocky Linux8gnupg20:2.2.20-3.el8_6RLSA-2022:6463
Rocky Linux9gnupg20:2.3.3-2.el9_0RLSA-2022:6602
Alpinev3.13, v3.14gnupg2.2.31-r1ALPINE-CVE-2022-34903
Alpinev3.15gnupg2.2.31-r2ALPINE-CVE-2022-34903
Alpinev3.16, v3.17, v3.18 and 6 moregnupg2.2.35-r4ALPINE-CVE-2022-34903
Azure Linux2gnupg22.3.7-1AZL-10074

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8gnupg2-0:2.2.20-3.el8_6Fixed 2022-09-13RHSA-2022:6463
Red Hat Enterprise Linux 9gnupg2-0:2.3.3-2.el9_0Fixed 2022-09-20RHSA-2022:6602
Red Hat Enterprise Linux 6gnupg2Out of support scope
Red Hat Enterprise Linux 6gpgmeNot affected
Red Hat Enterprise Linux 7gnupg2Out of support scope
Red Hat Enterprise Linux 7gpgmeNot affected
Red Hat Enterprise Linux 8gpgmeNot affected
Red Hat Enterprise Linux 9gpgmeNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-34903.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON