---
title: "CVE-2026-42014\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2026-42014?format=md
keywords: index, follow
---

# CVE-2026-42014

Publication date 30 April 2026

Last updated 16 July 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.6 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2026-42014?format=md#impact-score)

Toggle side navigation

## Description

A flaw was found in GnuTLS. The `gnutls\_pkcs11\_token\_set\_pin` function,
used for changing the Security Officer PIN, can lead to a use-after-free
vulnerability. This occurs when an attacker attempts to change the PIN with
a NULL old PIN for a token that lacks a protected authentication path.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2026-42014?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| gnutls28 | 26.04 LTS resolute | Fixed 3.8.12-2ubuntu1.1 |
| 25.10 questing | Fixed 3.8.9-3ubuntu2.2 |
| 24.04 LTS noble | Fixed 3.8.3-1.1ubuntu3.6 |
| 22.04 LTS jammy | Fixed 3.7.3-4ubuntu1.9 |
| 20.04 LTS focal | Fixed 3.6.13-2ubuntu1.12+esm3  Ubuntu Pro |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2026-42014?format=md#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Notes

---

### [mrmajumder](https://launchpad.net/~mrmajumder)

xenial and bionic are not-affected, the use-after-free path was
introduced in 3.6.13.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| gnutls28 | * Upstream:   [3957f13](https://gitlab.com/gnutls/gnutls/-/commit/3957f136e2ed23caf176a594b54b3827f5cef701) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.6 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | Low |
  | Integrity impact | Low |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.6 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42014)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-42014)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2026-42014)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2026-42014)

### Related Ubuntu Security Notices (USN)

+ [USN-8284-1](https://usn.ubuntu.com/USN-8284-1)
+ GnuTLS vulnerabilities
+ 20 May 2026

+ [USN-8539-1](https://usn.ubuntu.com/USN-8539-1)
+ GnuTLS vulnerabilities
+ 14 July 2026

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2026-42014>
* <https://www.gnutls.org/security-new.html#GNUTLS-SA-2026-04-29-9>
