Home

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.

PUBLISHED Reserved 2026-03-11 | Published 2026-03-13 | Updated 2026-03-13 | Assigner GitHub_M




HIGH: 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Problem types

CWE-354: Improper Validation of Integrity Check Value

Product status

< 3.1.5
affected

References

github.com/...eclibs/security/advisories/GHSA-4v26-v6cg-g6f9

github.com/...ommit/03062be78178cbb5e8f605cd255dc32a14981f92

github.com/robrichards/xmlseclibs/releases/tag/3.1.5

cve.org (CVE-2026-32313)

nvd.nist.gov (CVE-2026-32313)

Download JSON