High severityNVD Advisory· Published Mar 13, 2026· Updated Mar 16, 2026
xmlseclibs is Missing AES-GCM Authentication Tag Validation on Encrypted Nodes Allows for Unauthorized Decryption
CVE-2026-32313
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
robrichards/xmlseclibsPackagist | < 3.1.5 | 3.1.5 |
Affected products
5- osv-coords4 versionspkg:apk/chainguard/zabbix-web-nginx-pgsql-6.0pkg:apk/chainguard/zabbix-web-nginx-pgsql-fips-6.0pkg:apk/chainguard/zabbix-web-nginx-pgsql-fips-7.4pkg:composer/robrichards/xmlseclibs
< 6.0.45-r2+ 3 more
- (no CPE)range: < 6.0.45-r2
- (no CPE)range: < 6.0.45-r2
- (no CPE)range: < 7.4.8-r0
- (no CPE)range: < 3.1.5
- Range: < 3.1.5
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-4v26-v6cg-g6f9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-32313ghsaADVISORY
- github.com/robrichards/xmlseclibs/commit/03062be78178cbb5e8f605cd255dc32a14981f92ghsax_refsource_MISCWEB
- github.com/robrichards/xmlseclibs/releases/tag/3.1.5ghsax_refsource_MISCWEB
- github.com/robrichards/xmlseclibs/security/advisories/GHSA-4v26-v6cg-g6f9ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.