CVE-2019-3465 is a high-severity (CVSS 8.8) CWE-347 vulnerability in robrichards/xmlseclibs. A fix is available for robrichards/xmlseclibs — see the affected versions and patch details below.
Signature validation bypass in XmlSecLibs
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
robrichards/xmlseclibs🐘robrichards/xmlseclibsReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
Rob Richards XmlSecLibs, all versions prior to v3.0.3, as used for example by SimpleSAMLphp, performed incorrect validation of cryptographic signatures in XML messages, allowing an authenticated attacker to impersonate others or elevate privileges by creating a crafted XML message.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | robrichards/xmlseclibs | ≥ 3.0.0&&< 3.0.4 | 3.0.4composer require robrichards/xmlseclibs:^3.0.4 |
| 🐘Packagist | robrichards/xmlseclibs | ≥ 1.0.0&&< 2.1.1 | 2.1.1composer require robrichards/xmlseclibs:^2.1.1 |
Affected Products
debian linuxdebiansimplesamlphpsimplesamlphpxmlseclibsxmlseclibs_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for robrichards/xmlseclibs, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update robrichards/xmlseclibs to 3.0.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-3465 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2019-3465 in your dependencies?
Find it across Packagist, including transitive dependencies.