# Use of a Broken or Risky Cryptographic Algorithm in Apache WSS4J

Advisory record · `GHSA-4qqf-hmv6-r6wh`

- **Identifiers:** `GHSA-4qqf-hmv6-r6wh` · `CVE-2011-2487`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-327](https://cwe.mitre.org/data/definitions/327.html)
- **Tags:** [Weak cryptography or TLS](https://agentprime.io/advisories/tag/weak-crypto.md)
- **Published:** 22 Apr 2022
- **Updated:** 16 Apr 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 22 Apr 2022, 00:24 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.ws.security:wss4j` (Maven): affected `<1.6.5`; fixed in `1.6.5`
- `wss4j:wss4j` (Maven): affected `<1.6.5`; fixed in `1.6.5`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apache WSS4J (Maven org.apache.ws.security:wss4j and wss4j:wss4j) versions before 1.6.5 are vulnerable. The PKCS#1 v1.5 key transport implementation for XML Encryption is susceptible to a Bleichenbacher attack, which can allow an attacker to recover encrypted content. The source gives few details on the required access or attack conditions. Upgrade to version 1.6.5 or later.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.018, the 78th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:20 UTC: First seen by agentprime
- 31 Oct 2026, 14:20 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-4qqf-hmv6-r6wh)

## Sources

- [GitHub Advisory Database: GHSA-4qqf-hmv6-r6wh](https://github.com/advisories/GHSA-4qqf-hmv6-r6wh)
- [OSV: GHSA-4qqf-hmv6-r6wh](https://osv.dev/vulnerability/GHSA-4qqf-hmv6-r6wh)
- <https://nvd.nist.gov/vuln/detail/CVE-2011-2487>
- <https://www.nds.ruhr-uni-bochum.de/research/publications/breaking-xml-encryption-pkcs15>
- <https://web.archive.org/web/20210122063156/http://www.securityfocus.com/bid/57549>
- <https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4@%3Ccommits.cxf.apache.org%3E>
- <https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4%40%3Ccommits.cxf.apache.org%3E>
- <https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e@%3Ccommits.cxf.apache.org%3E>
- <https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E>
- <https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4@%3Ccommits.cxf.apache.org%3E>
- <https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E>
- <https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6@%3Ccommits.cxf.apache.org%3E>
- <https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6%40%3Ccommits.cxf.apache.org%3E>
- <https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf@%3Ccommits.cxf.apache.org%3E>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-4qqf-hmv6-r6wh>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-4qqf-hmv6-r6wh/>. Everything for agents: <https://agentprime.io/llms.txt>.
