8.2
HIGH CVSS 3.1
CVE-2026-32313
xmlseclibs is Missing AES-GCM Authentication Tag Validation on Encrypted Nodes Allows for Unauthorized Decryption
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.

INFO

Published Date :

March 16, 2026, 2:19 p.m.

Last Modified :

March 17, 2026, 7:25 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-32313 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Xmlseclibs_project xmlseclibs
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH MITRE-CVE
CVSS 3.1 HIGH [email protected]
Solution
Update xmlseclibs to version 3.1.5 to fix AES-GCM encryption validation.
  • Update xmlseclibs to version 3.1.5.
  • Ensure AES-GCM encrypted nodes are validated.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-32313.

URL Resource
https://github.com/robrichards/xmlseclibs/commit/03062be78178cbb5e8f605cd255dc32a14981f92 Patch
https://github.com/robrichards/xmlseclibs/releases/tag/3.1.5 Product
https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-4v26-v6cg-g6f9 Exploit Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-32313 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-32313 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-32313 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-32313 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 17, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:xmlseclibs_project:xmlseclibs:*:*:*:*:*:*:*:* versions up to (excluding) 3.1.5
    Added Reference Type GitHub, Inc.: https://github.com/robrichards/xmlseclibs/commit/03062be78178cbb5e8f605cd255dc32a14981f92 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/robrichards/xmlseclibs/releases/tag/3.1.5 Types: Product
    Added Reference Type GitHub, Inc.: https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-4v26-v6cg-g6f9 Types: Exploit, Vendor Advisory
  • New CVE Received by [email protected]

    Mar. 16, 2026

    Action Type Old Value New Value
    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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
    Added CWE CWE-354
    Added Reference https://github.com/robrichards/xmlseclibs/commit/03062be78178cbb5e8f605cd255dc32a14981f92
    Added Reference https://github.com/robrichards/xmlseclibs/releases/tag/3.1.5
    Added Reference https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-4v26-v6cg-g6f9
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.