xmlseclibs is Missing AES-GCM Authentication Tag Validation on Encrypted Nodes Allows for Unauthorized Decryption
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| robrichards | xmlseclibs | before 3.1.5 | 3.1.5 | Patch available | CNA |
| — | robrichards/xmlseclibs (Packagist) | before 3.1.5 | 3.1.5 | Patch available | GHSA-4v26-v6cg-g6f9 |
- xmlseclibs Vendorrobrichards Affected before 3.1.5 Fixed in 3.1.5 Patch available CNA
- robrichards/xmlseclibs (Packagist) Vendor— Affected before 3.1.5 Fixed in 3.1.5 Patch available GHSA-4v26-v6cg-g6f9
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xmlseclibs_project:xmlseclibs:*:*:*:*:*:*:*:* | before 3.1.5 | Vulnerable | Xmlseclibs Project |
- cpe:2.3:a:xmlseclibs_project:xmlseclibs:*:*:*:*:*:*:*:* Versions before 3.1.5 Vulnerable ·Xmlseclibs Project
Remediation
- Fix · CNA xmlseclibs (robrichards) Fixed in 3.1.5
- Fix · GHSA-4v26-v6cg-g6f9 robrichards/xmlseclibs (Packagist) Fixed in 3.1.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-32313
- 2026-10-03 Alias added: GHSA-4v26-v6cg-g6f9
References
More Xmlseclibs Project Xmlseclibs vulnerabilities
- TI-2019-02593 Improper signature verification in Rob Richards XmlSecLibs CVSS 3.1HIGH 8.8
- TI-2025-40988 robrichards/xmlseclibs has an Libxml2 Canonicalization error which can bypass Digest/Signature validation CVSS 3.1HIGH 7.5
Sources
- CVE-2026-32313 · CVE Program
- CVE-2026-32313 · NVD
- FIRST EPSS
- GHSA-4v26-v6cg-g6f9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences