CVE-2026-139649

Description

A flaw was found in the Linux kernel's cryptographic subsystem. When processing X.509 certificates that use direct data signature algorithms, the kernel frees certificate payload data upon creation while retaining an internal reference to that memory. A local user can exploit this issue by adding a certificate key and linking it to a keyring, triggering a use-after-free condition. This flaw primarily allows an attacker to cause a Denial of Service (DoS) through a system crash or potentially compromise cryptographic signature verification.

Statement

Red Hat has evaluated this issue as having a Moderate severity because exploitation requires local access with the ability to invoke key management system calls and link keys into restricted keyrings, limiting the blast radius to a local denial of service without remote exposure. A local user could trigger a memory corruption condition when loading crafted X.509 certificates utilizing message-based signature schemes, potentially leading to a kernel crash. Systems that do not permit untrusted local users to manipulate restricted keyrings face significantly reduced risk.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.5N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

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

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands

If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.

Frequently Asked Questions

Want to get errata notifications? Sign up here.