Improper Validation of Integrity Check Value Affecting robrichards/xmlseclibs package, versions <3.1.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-ROBRICHARDSXMLSECLIBS-15603249
  • published15 Mar 2026
  • disclosed13 Mar 2026
  • creditSideni

Introduced: 13 Mar 2026

NewCVE-2026-32313  (opens in a new tab)
CWE-354  (opens in a new tab)

How to fix?

Upgrade robrichards/xmlseclibs to version 3.1.5 or higher.

Overview

robrichards/xmlseclibs is a PHP library for XML Security.

Affected versions of this package are vulnerable to Improper Validation of Integrity Check Value in the decryptSymmetric() function, when checking tag length for the aes-128-gcm, aes-192-gcm, and aes-256-gcm encryption algorithms. An attacker can decrypt encrypted nodes and forge arbitrary ciphertexts by brute-forcing the authentication tag and recovering the GHASH key. The decryption is achieved by using XML parsing errors returned after modifying the ciphertext as an oracle.

CVSS Base Scores

version 4.0
version 3.1