p PatchFirst

CVE-2026-32313

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.2 · High · EPSS 0.2% · Fix available

Published
Updated

Stack: php

Affected products and versions

  • xmlseclibs

    Versions
    • < 3.1.5: Affected

    No fix published

  • robrichards/xmlseclibs Packagist

    Versions
    • 1.3.2
    • 1.3.3
    • 1.3.4
    • 1.4.0
    • 1.4.1
    • 1.4.2
    • 1.4.3
    • 2.0.0
    • 2.0.1
    • 2.1.0
    • 2.1.1
    • 3.0.0
    • 3.0.1
    • 3.0.2
    • 3.0.3
    • 3.0.4
    • 3.1.0
    • 3.1.1
    • 3.1.2
    • 3.1.3
    • 3.1.4
    Affected ranges
    • ECOSYSTEM: < 3.1.5

    Update to 3.1.5

Original sources

Check your server →