Vulnerabilities

Vulnerability · CVE-2025-58712

A container privilege escalation flaw was found in certain AMQ Broker images.

Published Oct 22, 2025 · catalog updated Mar 6, 2026 · Red Hat RHEL-9 based Middleware Containers

Last checked Oct 27, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2025-58712. EPSS is 0.21%. Act only if a listed version of Red Hat RHEL-9 based Middleware Containers is installed.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium6.4
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.21%
Remediation
Advisory link
Affected products
vendor Red Hat RHEL-9 based Middleware Containers patch: 7.13.2-1

A container privilege escalation flaw was found in certain AMQ Broker images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can leverage their membership in the root group to modify the /etc/passwd file. This could allow the attacker to add a new user with any arbitrary UID, including UID 0, leading to full root privileges within the container.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor Red Hat RHEL-9 based Middleware Containers patch: 7.13.2-1patch: 7.13.2-1

How to fix CVE-2025-58712

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2025-58712. EPSS is 0.21%. Act only if a listed version of Red Hat RHEL-9 based Middleware Containers is installed.

Which versions are affected?

Compare what you have installed with Red Hat RHEL-9 based Middleware Containers patch: 7.13.2-1 patch: 7.13.2-1. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 0.21%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 22, 2025 · EUVD

    Detected

    A container privilege escalation flaw was found in certain AMQ Broker images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can leverage their membership in the root group to modify the /etc/passwd file. This could allow th

  2. Mar 6, 2026 · EUVD

    Updated

    A container privilege escalation flaw was found in certain AMQ Broker images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can leverage their membership in the root group to modify the /etc/passwd file. This could allow th

Sources

  • CVE.orgVulnerability recordCVE-2025-58712

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2025-58712

    30-day exploitation probability 0.21%

    first.org
  • EUVDVulnerability recordEUVD-2025-35622

    A container privilege escalation flaw was found in certain AMQ Broker images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Oct 27, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • FIRST EPSSOct 27, 2026
  • CVE.orgOct 24, 2026
  • EUVDOct 24, 2026