---
title: "CVE-2025-13151\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-2025-13151?format=md
keywords: index, follow
---

# CVE-2025-13151

Publication date 8 January 2026

Last updated 11 February 2026

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**7.5 · High**

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

Toggle side navigation

## Description

Stack-based buffer overflow in libtasn1 version: v4.20.0. The function
fails to validate the size of input data resulting in a buffer overflow in
asn1\_expend\_octet\_string.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libtasn1-6 | 25.10 questing | Fixed 4.20.0-2ubuntu0.25.10.1 |
| 25.04 plucky | Fixed 4.20.0-2ubuntu0.25.04.1 |
| 24.04 LTS noble | Fixed 4.19.0-3ubuntu0.24.04.2 |
| 22.04 LTS jammy | Fixed 4.18.0-4ubuntu0.2 |
| 20.04 LTS focal | Fixed 4.16.0-2ubuntu0.1+esm1  Ubuntu Pro |
| 18.04 LTS bionic | Fixed 4.13-2ubuntu0.1~esm1  Ubuntu Pro |
| 16.04 LTS xenial | Fixed 4.7-3ubuntu0.16.04.3+esm4  Ubuntu Pro |
| 14.04 LTS trusty | Fixed 3.4-3ubuntu0.6+esm1  Ubuntu Pro |

---

* [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-2025-13151?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)

### 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 |
| --- | --- |
| libtasn1-6 | * Upstream:   [d276cc4](https://gitlab.com/gnutls/libtasn1/-/commit/d276cc495a2a32b182c3c39851f1ba58f2d9f9b8) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-7954-1](https://usn.ubuntu.com/USN-7954-1)
+ Libtasn1 vulnerabilities
+ 12 January 2026

+ [USN-7954-2](https://usn.ubuntu.com/USN-7954-2)
+ Libtasn1 vulnerabilities
+ 10 February 2026

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2025-13151>
* <https://gitlab.com/gnutls/libtasn1>
* <https://gitlab.com/gnutls/libtasn1/-/merge_requests/121>
