# CVE-2026-32313: xmlseclibs is Missing AES-GCM Authentication Tag Validation on Encrypted Nodes Allows for Unauthorized Decryption

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-13T19:50:48.530Z
- Modified: 2026-09-10T03:50:37.280Z
- Also known as: GHSA-4v26-v6cg-g6f9
- Weaknesses: CWE-354
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- robrichards xmlseclibs: < 3.1.5
- robrichards/xmlseclibs (Packagist): before 3.1.5
- xmlseclibs_project xmlseclibs: before 3.1.5

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-4v26-v6cg-g6f9> (exploit, vendor-advisory, web)
- <https://github.com/robrichards/xmlseclibs/commit/03062be78178cbb5e8f605cd255dc32a14981f92> (patch, web)
- <https://github.com/robrichards/xmlseclibs/releases/tag/3.1.5> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32313> (advisory)
- <https://github.com/robrichards/xmlseclibs> (package)

## Sources

- CVE List: [CVE-2026-32313](https://www.cve.org/CVERecord?id=CVE-2026-32313), CVE Terms of Use, modified 2026-03-16
- GitHub Advisory Database: [GHSA-4v26-v6cg-g6f9](https://github.com/advisories/GHSA-4v26-v6cg-g6f9), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-32313](https://nvd.nist.gov/vuln/detail/CVE-2026-32313), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32313 · Whole record: https://cve.day/CVE-2026-32313.json · Rebuilt by cve.day 2026-11-25T22:59:15.953Z
