CVE-2026-32313

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

Configuration 1 (hide)

cpe:2.3:a:xmlseclibs_project:xmlseclibs:*:*:*:*:*:*:*:*

History

17 Jun 2026, 10:35

Type Values Removed Values Added
Summary
  • (es) xmlseclibs es una biblioteca escrita en PHP para trabajar con Cifrado y Firmas XML. Antes de la versión 3.1.5, los nodos XML cifrados con aes-128-gcm, aes-192-gcm o aes-256-gcm carecen de validación de la longitud de la etiqueta de autenticación. Un atacante puede usar esto para forzar por fuerza bruta una etiqueta de autenticación, recuperar la clave GHASH y descifrar los nodos cifrados. También permite falsificar textos cifrados arbitrarios sin conocer la clave de cifrado. Esta vulnerabilidad está corregida en la versión 3.1.5.

17 Mar 2026, 19:25

Type Values Removed Values Added
CPE cpe:2.3:a:xmlseclibs_project:xmlseclibs:*:*:*:*:*:*:*:*
References () https://github.com/robrichards/xmlseclibs/commit/03062be78178cbb5e8f605cd255dc32a14981f92 - () https://github.com/robrichards/xmlseclibs/commit/03062be78178cbb5e8f605cd255dc32a14981f92 - Patch
References () https://github.com/robrichards/xmlseclibs/releases/tag/3.1.5 - () https://github.com/robrichards/xmlseclibs/releases/tag/3.1.5 - Product
References () https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-4v26-v6cg-g6f9 - () https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-4v26-v6cg-g6f9 - Exploit, Vendor Advisory
First Time Xmlseclibs Project xmlseclibs
Xmlseclibs Project

16 Mar 2026, 14:19

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-16 14:19

Updated : 2026-06-17 10:35


NVD link : CVE-2026-32313

Mitre link : CVE-2026-32313

CVE.ORG link : CVE-2026-32313


JSON object : View

Products Affected

xmlseclibs_project

  • xmlseclibs
CWE
CWE-354

Improper Validation of Integrity Check Value