# CVE-2016-4974: Improper Input Validation in Apache Qpid AMQP 0-x JMS

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.0, NVD) `CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 6.25% (percentile 94, 2026-11-26)
- **CWE:** CWE-20
- **Aliases:** GHSA-f38p-mq64-h784
- **Published:** 2016-07-13T15:00:00.000Z
- **Modified:** 2026-06-17T00:48:32.127Z

## Who should check

- Projects that depend on Maven package org.apache.qpid:qpid-jms-client (\< 0.10.0)
- Anyone running n/a (versions: see the vendor advisory)

## Description

Apache Qpid AMQP 0-x JMS client before 6.0.4 and JMS (AMQP 1.0) before 0.10.0 does not restrict the use of classes available on the classpath, which might allow remote authenticated users with permission to send messages to deserialize arbitrary objects and execute arbitrary code by leveraging a crafted serialized object in a JMS ObjectMessage that is handled by the getObject function.

## Affected and fixed versions

- Maven `org.apache.qpid:qpid-jms-client`: affected \< 0.10.0; fixed 0.10.0 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade org.apache.qpid:qpid-jms-client to 0.10.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2016-4974. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2016-4974.md
Affected: org.apache.qpid:qpid-jms-client < 0.10.0
Fixed in: 0.10.0

Steps:
1. Search this machine and project for org.apache.qpid:qpid-jms-client (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2016-4974 being exploited?

There is no confirmed exploitation: CVE-2016-4974 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 6.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2016-4974?

High: CVSS 7.5 (v3.0, scored by NVD). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2016-4974?

org.apache.qpid:qpid-jms-client \< 0.10.0.

### Is there a fix for CVE-2016-4974?

Yes. Fixed in 0.10.0. Upgrade org.apache.qpid:qpid-jms-client to 0.10.0 or later.

### How do I check if I'm affected by CVE-2016-4974?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://qpid.apache.org/components/jms/security-0-x.html>
- vendor: <http://qpid.apache.org/components/jms/security.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2016-4974>
- exploit: <http://packetstormsecurity.com/files/137749/Apache-Qpid-Untrusted-Input-Deserialization.html>
- other: <http://www.securityfocus.com/bid/91537>
- other: <http://www.securityfocus.com/archive/1/538813/100/0/threaded>
- other: <https://issues.apache.org/jira/browse/QPIDJMS-188>
- other: <http://www.securitytracker.com/id/1036239>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2016-4974>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-f38p-mq64-h784> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2016-4974> · JSON: <https://flawdb.com/api/v1/entries/CVE-2016-4974>
