gnutls_cipher.c in libgnutls in GnuTLS before 2.12.17 and 3.x before 3.0.15 does not properly handle data encrypted with a block cipher, whi
gnutls_cipher.c in libgnutls in GnuTLS before 2.12.17 and 3.x before 3.0.15 does not properly handle data encrypted with a block cipher, which allows remote attackers to cause a denial of service (heap memory corruption and application crash) via a crafted record, as demonstrated by a crafted GenericBlockCipher structure.
- Published
- Mar 26, 2012
- Updated
- Jun 16, 2026
- EPSS
- 4.2% · 91th percentile
- CWE
- CWE-310
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
21
Monitor
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.2%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| gnu | gnutls | cpe:2.3:a:gnu:gnutls |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gnu gnutlsup to 2.12.16 inclusive
- gnu gnutls2.0.0
- gnu gnutls2.0.1
- gnu gnutls2.0.2
- gnu gnutls2.0.3
- gnu gnutls2.0.4
- gnu gnutls2.1.0
- gnu gnutls2.1.1
- gnu gnutls2.1.2
- gnu gnutls2.1.3
- gnu gnutls2.1.4
- gnu gnutls2.1.5
- gnu gnutls2.1.6
- gnu gnutls2.1.7
- gnu gnutls2.1.8
- gnu gnutls2.10.0
- gnu gnutls2.10.1
- gnu gnutls2.10.2
- gnu gnutls2.10.3
- gnu gnutls2.10.4
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | gnutls28 | before 3.0.17-2 | 3.0.17-2 |
| Debian:6.0 | gnutls26 | before 2.8.6-1+squeeze2 | 2.8.6-1+squeeze2 |
| openSUSE:Tumbleweed | gnutls | before 3.4.15-1.1 | 3.4.15-1.1 |
| Red Hat:enterprise_linux:5::client | gnutls | before 0:1.4.1-7.el5_8.2 | 0:1.4.1-7.el5_8.2 |
| Red Hat:enterprise_linux:5::client | gnutls-debuginfo | before 0:1.4.1-7.el5_8.2 | 0:1.4.1-7.el5_8.2 |
| Red Hat:enterprise_linux:5::client | gnutls-utils | before 0:1.4.1-7.el5_8.2 | 0:1.4.1-7.el5_8.2 |
| Red Hat:enterprise_linux:5::client_workstation | gnutls-devel | before 0:1.4.1-7.el5_8.2 | 0:1.4.1-7.el5_8.2 |
| Red Hat:enterprise_linux:6::client | gnutls | before 0:2.8.5-4.el6_2.2 | 0:2.8.5-4.el6_2.2 |
| Red Hat:enterprise_linux:6::client | gnutls-debuginfo | before 0:2.8.5-4.el6_2.2 | 0:2.8.5-4.el6_2.2 |
| Red Hat:enterprise_linux:6::client | gnutls-devel | before 0:2.8.5-4.el6_2.2 | 0:2.8.5-4.el6_2.2 |
| Red Hat:enterprise_linux:6::client | gnutls-guile | before 0:2.8.5-4.el6_2.2 | 0:2.8.5-4.el6_2.2 |
| Red Hat:enterprise_linux:6::client | gnutls-utils | before 0:2.8.5-4.el6_2.2 | 0:2.8.5-4.el6_2.2 |
| Red Hat:enterprise_linux:6::hypervisor | rhev-hypervisor6 | before 0:6.2-20120423.1.el6_2 | 0:6.2-20120423.1.el6_2 |
| Red Hat:enterprise_linux:6::hypervisor | rhev-hypervisor6-tools | before 0:6.2-20120423.1.el6_2 | 0:6.2-20120423.1.el6_2 |
Same product
gnu: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-5334Double free vulnerability in the gnutls_x509_ext_import_proxy function in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allows remote attacker49Plan
- CVE-2019-3829A vulnerability was found in gnutls versions from 3.5.8 before 3.6.7.48Plan
- CVE-2008-1948The _gnutls_server_name_recv_params function in lib/ext_server_name.c in libgnutls in gnutls-serv in GnuTLS before 2.2.4 does not properly c44Plan
- CVE-2017-5337Multiple heap-based buffer overflows in the read_attribute function in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allow remote attackers to41Plan
- CVE-2017-5336Stack-based buffer overflow in the cdk_pk_get_keyid function in lib/opencdk/pubkey.c in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allows r41Plan
- CVE-2021-20232A flaw was found in gnutls.40Plan
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:gnutls26 | 2.8.6-1+squeeze2 · Debian:6.0 | Package registry (OSV) |
| debian:gnutls28 | 3.0.17-2 · Debian:12 | Package registry (OSV) |
| opensuse:gnutls | 3.4.15-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:gnutls | 0:1.4.1-7.el5_8.2 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:gnutls-debuginfo | 0:1.4.1-7.el5_8.2 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:gnutls-devel | 0:1.4.1-7.el5_8.2 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:gnutls-guile | 0:2.8.5-4.el6_2.2 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:gnutls-utils | 0:1.4.1-7.el5_8.2 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:rhev-hypervisor6 | 0:6.2-20120423.1.el6_2 · Red Hat:enterprise_linux:6::hypervisor | Package registry (OSV) |
| red hat:rhev-hypervisor6-tools | 0:6.2-20120423.1.el6_2 · Red Hat:enterprise_linux:6::hypervisor | 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.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
CWE-310 · Cryptographic IssuesCVSS vector
AV:N/AC:L/Au:N/C:N/I:N/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.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- archives.neohapsis.com/archives/bugtraq/2012-03/0099.html
- article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/5910
- article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/5912
- git.savannah.gnu.org/gitweb/?p=gnutls.git%3Ba=commit%3Bh=422214868061370aeeb0ac9cd0f021a5c350a57d
- git.savannah.gnu.org/gitweb/?p=gnutls.git%3Ba=commit%3Bh=b495740f2ff66550ca9395b3fda3ea32c3acb185
- lists.fedoraproject.org/pipermail/package-announce/2012-April/077071.html
- lists.fedoraproject.org/pipermail/package-announce/2012-March/076496.html
- lists.opensuse.org/opensuse-security-announce/2014-03/msg00001.html
- osvdb.org/80259
- rhn.redhat.com/errata/RHSA-2012-0429.html
- rhn.redhat.com/errata/RHSA-2012-0488.html
- rhn.redhat.com/errata/RHSA-2012-0531.html
- secunia.com/advisories/48488
- secunia.com/advisories/48511
- secunia.com/advisories/48596
- secunia.com/advisories/48712
- secunia.com/advisories/57260
- www.debian.org/security/2012/dsa-2441
- www.gnu.org/software/gnutls/security.html
- www.mandriva.com/security/advisories?name=MDVSA-2012:040
Vendor advisories and official records. Exploit/PoC links are deliberately left out.