Advisory

UBUNTU-CVE-2026-13757

Also known as: CVE-2026-13757

Summary

The record has no summary.

Details

A flaw was found in p11-kit. The RPC message attribute parsing functions p11_rpc_message_get_attribute() and p11_rpc_message_get_attribute_array_value() form a mutually-recursive call chain with no recursion depth limit when processing nested CKA_WRAP_TEMPLATE, CKA_UNWRAP_TEMPLATE, and CKA_DERIVE_TEMPLATE attributes. An unauthenticated attacker with local access to the p11-kit RPC Unix domain socket can send a specially crafted request with deeply nested template attributes, causing stack exhaustion and crashing the p11-kit server process and its dependent services.

Severity

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

Dates

Published
2026-06-29 19:16 UTC
Modified
2026-08-31 17:15 UTC

Affected packages and fixes

p11-kit

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.24.0-6ubuntu0.1 (ecosystem)

Fixed versions

0.24.0-6ubuntu0.1

Fix

  • Fixed version 0.24.0-6ubuntu0.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.

p11-kit

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 0.25.3-4ubuntu2.2 (ecosystem)

Fixed versions

0.25.3-4ubuntu2.2

Fix

  • Fixed version 0.25.3-4ubuntu2.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.

p11-kit

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

p11-kit

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

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