What’s Vulnerable › Vulnerabilities
CVE-2026-32313: xmlseclibs is Missing AES-GCM Authentication Tag Validation on Encrypted Nodes Allows for Unauthorized Decryption
- Severity: high (CVSS 8.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-16 · updated 2026-06-17
- Weakness: CWE-354
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.
Affected products
- robrichards xmlseclibs: before 3.1.5 — fixed in 3.1.5
How to fix
Upgrade to a fixed version: robrichards xmlseclibs 3.1.5. Check the vendor advisory for mitigations.
References
- https://github.com/robrichards/xmlseclibs/commit/03062be78178cbb5e8f605cd255dc32a14981f92
- https://github.com/robrichards/xmlseclibs/releases/tag/3.1.5
- https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-4v26-v6cg-g6f9
Get alerted when CVE-2026-32313 or the next vulnerability affects your stack