BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-32313 in Xmlseclibs Project Xmlseclibs

High 8.2 Fix available

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.2
EPSS0.2%
EPSS percentile5th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Xmlseclibs Project Xmlseclibs < 3.1.5

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-32313
BreachSpider IDBS-2026-GLOBAL-258295-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Published2026-03-16
Last modified2026-03-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-354: CWE-354

Related attack patterns (CAPEC)

CAPEC-145 Checksum Spoofing via CWE-354

CAPEC-463 Padding Oracle Crypto Attack via CWE-354

CAPEC-75 Manipulating Writeable Configuration Files via CWE-354

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in xmlseclibs prior to version 3.1.5 allows attackers to decrypt encrypted XML nodes and forge arbitrary ciphertexts due to a lack of validation of the authentication tag length for certain encryption algorithms.

An attacker can exploit this vulnerability by brute-forcing the authentication tag, which can lead to the recovery of the GHASH key. This enables the decryption of encrypted nodes and the creation of arbitrary ciphertexts without the key.

Questions

What is CVE-2026-32313?

A vulnerability in xmlseclibs prior to version 3.1.5 allows attackers to decrypt encrypted XML nodes and forge arbitrary ciphertexts due to a lack of validation of the authentication tag length for certain encryption algorithms.

What is the CVSS score for CVE-2026-32313?

CVE-2026-32313 has CVSS 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N. EPSS: 0.2%.

Is CVE-2026-32313 actively exploited?

No confirmed active exploitation of CVE-2026-32313 as of 2026-05-30.

How do I remediate CVE-2026-32313?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2026-32313?

CVE-2026-32313 affects Xmlseclibs Project Xmlseclibs.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Xmlseclibs Project","product":"Xmlseclibs","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-03-17.