CVE-2026-32313

High

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.

SeverityHigh
CVSS8.2
Exploit probability—
ProductXmlseclibs
PublishedMar 16, 2026
First seenMar 16, 2026
Weakness typeCWE-354CWE-354

How to fix

Update
  • xmlseclibs_project xmlseclibs3.1.5 or later
  • robrichards/xmlseclibs3.1.5 or later

Affected products

ProductAffected versionsFixed in
xmlseclibs_project xmlseclibsv < 3.1.53.1.5
robrichards/xmlseclibsPackagistv < 3.1.53.1.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.