# Improper Control of Generation of Code ('Code Injection') in org.apache.activemq:activemq-client

Advisory record · `GHSA-jpv3-g4cc-6vfx`

- **Identifiers:** `GHSA-jpv3-g4cc-6vfx` · `CVE-2019-0222`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** Yes: CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 2 Apr 2019
- **Updated:** 14 Mar 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 2 Apr 2019, 15:46 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 7.5 (7.0 or more) and EPSS 0.12 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `org.apache.activemq:activemq-client` (Maven): affected `>=5.0.0, <5.15.9`; fixed in `5.15.9`

## Machine-written summary

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

> The activemq-client package is affected in versions 5.0.0 through 5.15.8. An attacker who can send MQTT frames to the broker can send a corrupt frame that triggers an out-of-memory error, leaving the broker unresponsive. Upgrade to version 5.15.9. The title says code injection; the description covers only this effect.

Written 8 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

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

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

## Timeline

- 31 Oct 2026, 15:13 UTC: First seen by agentprime
- 31 Oct 2026, 15:13 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-jpv3-g4cc-6vfx)

## Sources

- [GitHub Advisory Database: GHSA-jpv3-g4cc-6vfx](https://github.com/advisories/GHSA-jpv3-g4cc-6vfx)
- [OSV: GHSA-jpv3-g4cc-6vfx](https://osv.dev/vulnerability/GHSA-jpv3-g4cc-6vfx)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-0222>
- <https://github.com/apache/activemq/commit/98b9f2e>
- <https://github.com/apache/activemq/commit/f78c0962ffb46fae3397eed6b7ec1e6e15045031>
- <https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html>
- <https://www.oracle.com/security-alerts/cpujul2020.html>
- <https://www.oracle.com/security-alerts/cpuapr2020.html>
- <https://web.archive.org/web/20190404065432/http://www.securityfocus.com/bid/107622>
- <https://security.netapp.com/advisory/ntap-20190502-0006>
- <https://lists.debian.org/debian-lts-announce/2021/03/msg00005.html>
- <https://lists.debian.org/debian-lts-announce/2021/03/msg00004.html>
- <https://lists.apache.org/thread.html/re4672802b0e5ed67c08c9e77057d52138e062f77cc09581b723cf95a@%3Ccommits.activemq.apache.org%3E>
- <https://lists.apache.org/thread.html/rb698ed085f79e56146ca24ab359c9ef95846618675ea1ef402e04a6d@%3Ccommits.activemq.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-jpv3-g4cc-6vfx>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-jpv3-g4cc-6vfx/>. Everything for agents: <https://agentprime.io/llms.txt>.
