CVE-2026-139648

crypto: asymmetric_keys/pkcs7 - Check all signers before waiving authattrs rejection

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

crypto: asymmetric_keys/pkcs7 - Check all signers before waiving authattrs rejection

pkcs7_check_authattrs() only looks at the first SignerInfo when deciding
whether rejection of authenticated attributes may be waived. For the
remaining signers it checks only that authenticated attributes are either
present on all signers or absent from all of them.

This means an unmatched ML-DSA signer can be placed first, followed by a
trusted RSA, ECDSA, or ECRDSA signer. Verification skips the unmatched
signature and accepts the later trusted signer. The first signer still
leaves the waiver enabled for the whole message, so the non-ML-DSA signer
can use an exception intended only for ML-DSA.

Check each SignerInfo's public-key algorithm before leaving the waiver
enabled.

Analysis

AI-generated

Technical impact

A logic flaw in the kernel’s pkcs7 signature verification routine allows no‑op Waiver of authenticated‑attribute (authattrs) rejection for all subsequent signatures when the first SignerInfo uses an unsupported algorithm. The verifier only checks the first signer’s algorithm before enabling the waiver and then mistakenly applies that waiver to all other signers, even if those signatures are from trusted algorithms. Consequently, a crafted PKCS#7 message can include a bogus first signer followed by a legitimate signer; the message will be accepted while the forged signature is ignored.

Affected Systems

All Linux kernel versions deployed prior to the applying of the available patch are vulnerable. The issue exists in the core kernel crypto subsystem and is therefore present in every distribution that uses the stock Linux kernel without back‑porting the fix.

Risk and Exploitability

The CVSS base score is not published in the available data, and the EPSS score is currently unavailable, but the lack of a universal update suggests the exploitability is mainly limited to environments that process PKCS#7 signed data. Even though the vulnerability requires a specifically crafted signed payload, the potential for message forging or accidental acceptance of malicious signatures makes the risk high for services that rely on these signatures for authentication or integrity. The status in the CISA KEV catalog is not listed, indicating no confirmed exploitation yet.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the pkcs7_check_authattrs fix.
  • If an immediate kernel update is not possible, restrict the acceptance of PKCS#7 signed data from untrusted sources or disable the authattrs waiver feature in the application logic where feasible.
  • Modify application code that invokes the kernel crypto API to explicitly verify the public‑key algorithm of every SignerInfo before proceeding, ensuring that no single signer can alter the authorization state for others.

Generated by OpenCVE AI on December 1, 2026 at 00:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-346
CWE-754
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: crypto: asymmetric_keys/pkcs7 - Check all signers before waiving authattrs rejection pkcs7_check_authattrs() only looks at the first SignerInfo when deciding whether rejection of authenticated attributes may be waived. For the remaining signers it checks only that authenticated attributes are either present on all signers or absent from all of them. This means an unmatched ML-DSA signer can be placed first, followed by a trusted RSA, ECDSA, or ECRDSA signer. Verification skips the unmatched signature and accepts the later trusted signer. The first signer still leaves the waiver enabled for the whole message, so the non-ML-DSA signer can use an exception intended only for ML-DSA. Check each SignerInfo's public-key algorithm before leaving the waiver enabled.
Title crypto: asymmetric_keys/pkcs7 - Check all signers before waiving authattrs rejection
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-346

    Origin Validation Error

  • CWE-754

    Improper Check for Unusual or Exceptional Conditions

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM