CVE-2026-32313

xmlseclibs is Missing AES-GCM Authentication Tag Validation on Encrypted Nodes Allows for Unauthorized Decryption

Published Mar 13, 2026 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
Description
xmlseclibs is a library written in PHP for working with XML Encryption and Signatures. Prior to 3.1.5, XML nodes encrypted with either aes-128-gcm, aes-192-gcm, or aes-256-gcm lack validation of the authentication tag length. An attacker can use this to brute-force an authentication tag, recover the GHASH key, and decrypt the encrypted nodes. It also allows to forge arbitrary ciphertexts without knowing the encryption key. This vulnerability is fixed in 3.1.5.

Analysis

AI-generated

Technical impact

xmlseclibs is a PHP library that implements XML Encryption and Signatures. Prior to version 3.1.5, nodes encrypted with AES‑128‑GCM, AES‑192‑GCM, or AES‑256‑GCM do not validate the authentication tag length. The flaw allows an attacker to brute‑force an authentication tag, recover the GHASH key, and decrypt the ciphertext. It also enables forging arbitrary ciphertexts without knowledge of the encryption key, thereby compromising confidentiality of data protected by the library.

Affected Systems

The vulnerability affects the xmlseclibs library provided by robrichards. All releases before 3.1.5 are impacted. Upgrading to version 3.1.5 or a later release mitigates the issue.

Risk and Exploitability

The CVSS score of 8.2 denotes high severity for confidentiality compromise. The EPSS score of less than 1% suggests that exploitation is likely uncommon in the general population. The vulnerability is not listed in the CISA KEV catalog. The CVE description does not specify an attack vector, but it is inferred that supplied crafted XML input to an application using the vulnerable library could trigger the flaw. No public exploits are documented in the provided data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade xmlseclibs to version 3.1.5 or later.

Generated by OpenCVE AI on March 17, 2026 at 21:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-4v26-v6cg-g6f9 xmlseclibs: Missing AES-GCM Authentication Tag Validation on Encrypted Nodes Allows for Unauthorized Decryption
History
Type Values Removed Values Added
First Time appeared Xmlseclibs Project
Xmlseclibs Project xmlseclibs
CPEs cpe:2.3:a:xmlseclibs_project:xmlseclibs:*:*:*:*:*:*:*:*
Vendors & Products Xmlseclibs Project
Xmlseclibs Project xmlseclibs
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Robrichards
Robrichards xmlseclibs
Vendors & Products Robrichards
Robrichards xmlseclibs
Type Values Removed Values Added
Description xmlseclibs is a library written in PHP for working with XML Encryption and Signatures. Prior to 3.1.5, XML nodes encrypted with either aes-128-gcm, aes-192-gcm, or aes-256-gcm lack validation of the authentication tag length. An attacker can use this to brute-force an authentication tag, recover the GHASH key, and decrypt the encrypted nodes. It also allows to forge arbitrary ciphertexts without knowing the encryption key. This vulnerability is fixed in 3.1.5.
Title xmlseclibs is Missing AES-GCM Authentication Tag Validation on Encrypted Nodes Allows for Unauthorized Decryption
Weaknesses CWE-354
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'}

Weaknesses
  • CWE-354

    Improper Validation of Integrity Check Value

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 16, 2026, 1:45 PM
Reserved
Mar 11, 2026, 9:16 PM
Status
Analyzed
Published
Mar 16, 2026, 2:19 PM
Modified
Jun 17, 2026, 10:35 AM