CVE-2025-58712

MediumCVSS 6.4/10Last modified Oct 18, 2026

Description

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.

Metrics

CVSS 3.1 6.4/10CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

VendorProductVersions
apacheactivemq-artemis—
Red HatRHEL-9 based Middleware Containers—
Red HatRHEL-9 based Middleware Containers—
Red HatRHEL-9 based Middleware Containers—
Red HatRHEL-9 based Middleware Containers—
Red HatRHEL-9 based Middleware Containers—
Red HatRHEL-9 based Middleware Containers—
Red HatRed Hat AMQ Broker 7—
Red HatRed Hat AMQ Broker 7—
Red HatRed Hat AMQ Broker 7—
Red HatRed Hat AMQ Broker 7—

References

Timeline

Published
Oct 22, 2025
Last modified
Oct 18, 2026
NVD status
Deferred

Related CVEs from 2025

CVE-2025-587136.4A container privilege escalation flaw was found in certain Red Hat Process Automation Manager images. This issue stems from the /etc/passwd CVE-2025-587147.8Improper access control in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.CVE-2025-587158.8Integer overflow or wraparound in Microsoft Windows Speech allows an authorized attacker to elevate privileges locally.CVE-2025-587168.8Improper input validation in Microsoft Windows Speech allows an authorized attacker to elevate privileges locally.CVE-2025-587174.3Out-of-bounds read in Windows Routing and Remote Access Service (RRAS) allows an unauthorized attacker to disclose information over a networCVE-2025-587188.8Use after free in Remote Desktop Client allows an unauthorized attacker to execute code over a network.CVE-2025-587194.7Use after free in Connected Devices Platform Service (Cdpsvc) allows an authorized attacker to elevate privileges locally.CVE-2025-58725.3A vulnerability was found in eGauge EG3000 Energy Monitor 3.6.3. It has been classified as problematic. This affects an unknown part of the CVE-2025-587207.8Use of a cryptographic primitive with a risky implementation in Windows Cryptographic Services allows an authorized attacker to disclose infCVE-2025-587227.8Heap-based buffer overflow in Windows DWM allows an authorized attacker to elevate privileges locally.CVE-2025-587247.8Improper access control in Azure Connected Machine Agent allows an authorized attacker to elevate privileges locally.CVE-2025-587257.0Heap-based buffer overflow in Windows COM allows an authorized attacker to elevate privileges locally.