ZeroHour

CVE-2026-12666

moderate

XXE in IBM MQ Classes for Java MQRFH2 Header Parsing Enables File Read and DoS

CVSS 3.1
8.1 high
EPSS
Published
()
Modified
AI analysis

IBM MQ Classes for Java contains an XML external entity injection (XXE, CWE-611) flaw in the processing of MQRFH2 message headers, which can carry XML-formatted properties. An authenticated attacker triggers it by sending a message containing a crafted MQRFH2 header with a malicious external entity definition; when a Java client application parses the header, the entity is resolved. Successful exploitation lets the attacker read sensitive files accessible to the client JVM (information disclosure) or exhaust resources to cause a denial of service, reflected in the high CVSS 8.1 rating (network vector, low attack complexity, requires only low privileges). Any application using the affected Classes for Java releases — spanning MQ 9.1, 9.2, 9.3 (LTS and CD), 9.4 (LTS and CD), and 10.0.0.0 — is exposed. There is no known public proof of concept and no evidence of exploitation in the wild; the CVE is not in CISA's KEV catalog.

What to do: Upgrade the MQ Classes for Java client libraries (and the MQ installs that ship them) to the fixed builds specified in IBM's security bulletin — the first releases after each listed end version for 9.1–9.4 LTS/CD and 10.0. Inventory internal Java applications that put/get messages with MQRFH2 headers, since the flaw is client-side and queue-manager patching alone is insufficient. As interim mitigations, restrict MQ authentication to trusted applications, run client JVMs with least file-system privilege, and disable DTD/external-entity resolution in XML parsing where the application allows it.

Affected
IBM MQ Classes for Java 9.1 LTS9.1.0.0 through 9.1.0.37
IBM MQ Classes for Java 9.2 LTS9.2.0.0 through 9.2.0.43
IBM MQ Classes for Java 9.3 LTS9.3.0.0 through 9.3.0.41
IBM MQ Classes for Java 9.3 CD9.3.0.0 through 9.3.5.1
IBM MQ Classes for Java 9.4 LTS9.4.0.0 through 9.4.0.25
IBM MQ Classes for Java 9.4 CD9.4.0.0 through 9.4.5.1
IBM MQ Classes for Java 10.010.0.0.0
Estimated exposure
moderate≈ low thousands of internet-exposed IBM MQ queue managers; total affected Java client runtimes unknown (likely tens of thousands of enterprise app servers) — IBM MQ is enterprise middleware deployed at thousands of large organizations (heavily concentrated in banking), with public internet scans historically showing only low thousands of directly exposed queue managers since most deployments…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

IBM MQ 9.1.0.0 through 9.1.0.37 LTS, 9.2.0.0 through 9.2.0.43 LTS, 9.3.0.0 through 9.3.0.41 LTS, 9.3.0.0 through 9.3.5.1 CD, 9.4.0.0 through 9.4.0.25 LTS, 9.4.0.0 through 9.4.5.1 CD, and 10.0.0.0 Classes for Java could allow an authenticated attacker to obtain sensitive information or cause a denial of service due to XML external entity injection in MQRFH2 header processing.

Weakness
CWE-611
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

In the news

No ingested article mentions this CVE yet.