Advisory

UBUNTU-CVE-2025-13151

Also known as: CVE-2025-13151

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-01-08 00:00 UTC
Modified
2026-04-22 15:30 UTC

Affected packages and fixes

libtasn1-6

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 4.18.0-4ubuntu0.2 (ecosystem)

Fixed versions

4.18.0-4ubuntu0.2

Fix

  • Fixed version 4.18.0-4ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libtasn1-6

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 4.19.0-3ubuntu0.24.04.2 (ecosystem)

Fixed versions

4.19.0-3ubuntu0.24.04.2

Fix

  • Fixed version 4.19.0-3ubuntu0.24.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libtasn1-6

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 4.20.0-2ubuntu0.25.10.1 (ecosystem)

Fixed versions

4.20.0-2ubuntu0.25.10.1

Fix

  • Fixed version 4.20.0-2ubuntu0.25.10.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences