CVE-2012-6085: The read_block function in g10/import.c in GnuPG 1.4.x before 1.4.13 and 2.0.x through 2.0.19, when importing a key, allows remote attackers…
Noroxi assessment
Priority: Monitor (action score 24/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.9% (FIRST EPSS); higher than 87.2% of all records.
- Fixed version: gnupg2 (Debian:12) 2.0.19-2; gnupg (Debian:6.0) 1.4.10-4+squeeze1; gnupg2 (Debian:6.0) 2.0.14-2+squeeze1.
Low priority for now. Upgrade to gnupg2 (Debian:12) 2.0.19-2; gnupg (Debian:6.0) 1.4.10-4+squeeze1; gnupg2 (Debian:6.0) 2.0.14-2+squeeze1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
The read_block function in g10/import.c in GnuPG 1.4.x before 1.4.13 and 2.0.x through 2.0.19, when importing a key, allows remote attackers to corrupt the public keyring database or cause a denial of service (application crash) via a crafted length field of an OpenPGP packet.
- Published
- Jan 23, 2013
- Updated
- Jun 16, 2026
- EPSS
- 2.9% · 87th percentile
- CWE
- CWE-20
Report tools
Action score
24
Low priority for now.
- CVSS
- 23 / 40 · 5.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.9%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| gnupg | gnupg | cpe:2.3:a:gnupg:gnupg |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gnupg gnupg1.4.0
- gnupg gnupg1.4.10
- gnupg gnupg1.4.11
- gnupg gnupg1.4.12
- gnupg gnupg1.4.2
- gnupg gnupg1.4.3
- gnupg gnupg1.4.4
- gnupg gnupg1.4.5
+12 more rows
- gnupg gnupg1.4.8
- gnupg gnupg2.0
- gnupg gnupg2.0.1
- gnupg gnupg2.0.10
- gnupg gnupg2.0.11
- gnupg gnupg2.0.12
- gnupg gnupg2.0.13
- gnupg gnupg2.0.14
- gnupg gnupg2.0.15
- gnupg gnupg2.0.16
- gnupg gnupg2.0.17
- gnupg gnupg2.0.18
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | gnupg2 | before 2.0.19-2 | 2.0.19-2 |
| Debian:6.0 | gnupg | before 1.4.10-4+squeeze1 | 1.4.10-4+squeeze1 |
| Debian:6.0 | gnupg2 | before 2.0.14-2+squeeze1 | 2.0.14-2+squeeze1 |
| Red Hat:enterprise_linux:5::client | gnupg | before 0:1.4.5-18.el5_10 | 0:1.4.5-18.el5_10 |
| Red Hat:enterprise_linux:5::client | gnupg-debuginfo | before 0:1.4.5-18.el5_10 | 0:1.4.5-18.el5_10 |
| Red Hat:enterprise_linux:5::client | gnupg2 | before 0:2.0.10-6.el5_10 | 0:2.0.10-6.el5_10 |
| Red Hat:enterprise_linux:5::client | gnupg2-debuginfo | before 0:2.0.10-6.el5_10 | 0:2.0.10-6.el5_10 |
| Red Hat:enterprise_linux:6::client | gnupg2 | before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
| Red Hat:enterprise_linux:6::client | gnupg2-debuginfo | before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
| Red Hat:enterprise_linux:6::client | gnupg2-smime | before 0:2.0.14-6.el6_4 | 0:2.0.14-6.el6_4 |
Same product
gnupg: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-24881In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key can cause a stack-based…40Plan
- CVE-2026-118131GnuPG (version 2.5.21) for Windows contains a vulnerability where default Discretionary Access Control List (DACL) inheritance on the…39Monitor
- CVE-2008-1530GnuPG (gpg) 1.4.8 and 2.0.8 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via crafted…38Monitor
Published before and after this one in the same product
- ← EarlierCVE-2006-6169Nov 29, 2006 · Heap-based buffer overflow in the ask_outfile_name function in openfile.c for GnuPG (gpg) 1.4 and 2.0, when running interactively, might…28Monitor
- ← EarlierCVE-2010-2547Aug 5, 2010 · Use-after-free vulnerability in kbx/keybox-blob.c in GPGSM in GnuPG 2.x through 2.0.16 allows remote attackers to cause a denial of service…34Monitor
- Later →CVE-2013-4242Aug 19, 2013 · GnuPG before 1.4.14, and Libgcrypt before 1.5.3 as used in GnuPG 2.0.x and possibly other products, allows local users to obtain private…7Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:gnupg | 1.4.10-4+squeeze1 · Debian:6.0 | Package registry (OSV) |
| debian:gnupg2 | 2.0.19-2 · Debian:12 | Package registry (OSV) |
| red hat:gnupg | 0:1.4.5-18.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:gnupg-debuginfo | 0:1.4.5-18.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:gnupg2 | 0:2.0.10-6.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:gnupg2-debuginfo | 0:2.0.10-6.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:gnupg2-smime | 0:2.0.14-6.el6_4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
If successful
- Confidentiality
- none
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- None
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- lists.fedoraproject.org/pipermail/package-announce/2013-January/095513.html
- lists.fedoraproject.org/pipermail/package-announce/2013-January/095516.html
- rhn.redhat.com/errata/RHSA-2013-1459.html
- www.mandriva.com/security/advisories?name=MDVSA-2013:001
- www.openwall.com/lists/oss-security/2013/01/01/6
- www.securityfocus.com/bid/57102
- www.ubuntu.com/usn/USN-1682-1
- bugzilla.redhat.com/show_bug.cgi?id=891142
- exchange.xforce.ibmcloud.com/vulnerabilities/80990
Vendor advisories and official records. Exploit/PoC links are deliberately left out.