CVE-2026-32313
HIGH 8.2CVSS 3.1xmlseclibs: Missing AES-GCM Authentication Tag Validation on Encrypted Nodes Allows for Unauthorized Decryption
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.
- Published
- 16 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-354
- Also known as
- GHSA-4v26-v6cg-g6f9
- Sources
- NVDJSONOSV GHSA-4v26-v6cg-g6f9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xmlseclibs_project | xmlseclibscpe:2.3:a:xmlseclibs_project:xmlseclibs:*:*:*:*:*:*:*:* |
< 3.1.5 | 3.1.5 |
| OSV | Packagist | robrichards/xmlseclibs | < 3.1.5 | 3.1.5 |
References
- https://github.com/robrichards/xmlseclibs/commit/03062be78178cbb5e8f605cd255dc32a14981f92 · Patch, WEB
- https://github.com/robrichards/xmlseclibs/releases/tag/3.1.5 · Product, WEB
- https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-4v26-v6cg-g6f9 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-32313 · ADVISORY
- https://github.com/robrichards/xmlseclibs · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 16 Mar 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 Mar 2026)