{"id":"CVE-2026-32313","published":"2026-03-13T19:50:48Z","modified":"2026-03-16T13:45:07Z","title":"xmlseclibs is Missing AES-GCM Authentication Tag Validation on Encrypted Nodes Allows for Unauthorized Decryption","vendor":"robrichards","product":"xmlseclibs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0017,"percentile":0.06546,"provenance":"source"},"cwes":[{"id":"CWE-354","name":"Improper Validation of Integrity Check Value"}],"references":[{"url":"https://github.com/robrichards/xmlseclibs/security/advisories/GHSA-4v26-v6cg-g6f9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/robrichards/xmlseclibs/commit/03062be78178cbb5e8f605cd255dc32a14981f92","tags":["x_refsource_MISC"]},{"url":"https://github.com/robrichards/xmlseclibs/releases/tag/3.1.5","tags":["x_refsource_MISC"]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":1.31},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"robrichards","affectedVersions":[{"vendor":"robrichards","product":"xmlseclibs","versions":["< 3.1.5"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-16T13:44:53.256945Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"robrichards/xmlseclibs","vulnerableRanges":["<3.1.5"],"patched":["3.1.5"],"from":["GHSA-4v26-v6cg-g6f9"],"provenance":"source"}],"summary":{"text":"The xmlseclibs PHP library for XML Encryption and Signatures, in versions prior to 3.1.5, fails to validate the authentication tag length on XML nodes encrypted with AES-GCM (128, 192, or 256-bit). An attacker with network access and no authentication or user interaction can brute-force a short authentication tag to recover the GHASH key and decrypt the encrypted nodes, or forge arbitrary ciphertexts without knowing the encryption key.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:09Z"},"euvd":{"id":"EUVD-2026-12094","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-3465","published":"2019-11-07","fixed":"3.0.4","kev":false},{"cve":"CVE-2025-66578","published":"2025-12-09","fixed":"3.1.4","kev":false,"link":{"from":"CVE-2025-66578","to":"CVE-2026-32313","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:robrichards/xmlseclibs","fromFixed":"3.1.4","toFixed":"3.1.5","daysApart":94}]}},{"cve":"CVE-2026-32313","published":"2026-03-13","fixed":"3.1.5","kev":false}],"package":"Packagist:robrichards/xmlseclibs"}}