CVE-2026-32313Xmlseclibs Project Xmlseclibs
High 8.2 No auth needed
Follow: this CVE · Xmlseclibs Project · Xmlseclibs Project Xmlseclibs We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- Mar 16, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-354
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Xmlseclibs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | robrichards/xmlseclibs |
< 3.1.5 |
3.1.5 |
composer require "robrichards/xmlseclibs:^3.1.5" |
Per OSV / GitHub Advisories (GHSA-4v26-v6cg-g6f9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xmlseclibs_project | xmlseclibs | < 3.1.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Product
- github.com Exploit Vendor Advisory