Intel

AIKIDO-2026-655937

robrichards/xmlseclibs is vulnerable to Observable Discrepancy

Observable DiscrepancyGHSA-7h47-29x2-r2gc Published Aug 27, 2026

59

Medium Risk

This Affects:

PHProbrichards/xmlseclibs
0.0.1 - 3.1.5
Fixed in 4.0.0
Are you affected? Scan for Free

TL;DR

XMLSecEnc decrypts AES-CBC content using ISO 10126 unpadding without validating the pad length against the cipher block size, and decryption failures surface distinguishable errors. Together these give a padding oracle that can be used to recover the plaintext of encrypted XML without the key. An operator of the decryption endpoint can observe different responses for padding failures versus other failures and iterate to decrypt content. The fix validates the pad length and returns a single uniform decryption error for all failure modes.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you decrypt CBC-mode encrypted XML from untrusted sources.

Background info

robrichards/xmlseclibs is vulnerable to Observable Discrepancy in versions 0.0.1 - 3.1.5.

How to fix this

Upgrade the robrichards/xmlseclibs library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform