Red Hat Security Advisory: buildah security update
The buildah package provides a tool for facilitating building OCI container images. Among other things, buildah enables you to: Create a working container, either from scratch or using an image as a starting point; Create an image, either from a working container or using the instructions in a Dockerfile; Build both Docker and OCI images. Security Fix(es): * runc: container escape and denial of service due to arbitrary write gadgets and procfs write redirects (CVE-2025-52881) * golang: archive/tar: Unbounded allocation when parsing GNU sparse map (CVE-2025-58183) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
AI Analysis
Technical Summary
The buildah package, used for building OCI container images, is affected by two security vulnerabilities. CVE-2025-52881 involves a container escape and denial of service caused by arbitrary write gadgets and procfs write redirects in the runc component. CVE-2025-58183 is an unbounded memory allocation vulnerability in the golang archive/tar package when parsing GNU sparse maps. Red Hat has released updated buildah packages for Red Hat Enterprise Linux 9 and related variants to address these issues. The advisory includes detailed information on affected products and versions and references for further details.
Potential Impact
Successful exploitation of CVE-2025-52881 could allow an attacker to escape container isolation and cause denial of service via arbitrary writes and procfs write redirects. CVE-2025-58183 could lead to excessive memory allocation, potentially causing denial of service. These vulnerabilities impact container security and system stability on affected Red Hat Enterprise Linux 9 systems using buildah and related container tools.
Mitigation Recommendations
Red Hat has released updated buildah packages that fix these vulnerabilities. Users should apply the official security update as described in the Red Hat advisory RHSA-2025:22011 and related documentation at https://access.redhat.com/articles/11258. Applying these updates will remediate the issues. No additional mitigations are specified or required beyond applying the official patches.
Red Hat Security Advisory: buildah security update
Description
The buildah package provides a tool for facilitating building OCI container images. Among other things, buildah enables you to: Create a working container, either from scratch or using an image as a starting point; Create an image, either from a working container or using the instructions in a Dockerfile; Build both Docker and OCI images. Security Fix(es): * runc: container escape and denial of service due to arbitrary write gadgets and procfs write redirects (CVE-2025-52881) * golang: archive/tar: Unbounded allocation when parsing GNU sparse map (CVE-2025-58183) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The buildah package, used for building OCI container images, is affected by two security vulnerabilities. CVE-2025-52881 involves a container escape and denial of service caused by arbitrary write gadgets and procfs write redirects in the runc component. CVE-2025-58183 is an unbounded memory allocation vulnerability in the golang archive/tar package when parsing GNU sparse maps. Red Hat has released updated buildah packages for Red Hat Enterprise Linux 9 and related variants to address these issues. The advisory includes detailed information on affected products and versions and references for further details.
Potential Impact
Successful exploitation of CVE-2025-52881 could allow an attacker to escape container isolation and cause denial of service via arbitrary writes and procfs write redirects. CVE-2025-58183 could lead to excessive memory allocation, potentially causing denial of service. These vulnerabilities impact container security and system stability on affected Red Hat Enterprise Linux 9 systems using buildah and related container tools.
Mitigation Recommendations
Red Hat has released updated buildah packages that fix these vulnerabilities. Users should apply the official security update as described in the Red Hat advisory RHSA-2025:22011 and related documentation at https://access.redhat.com/articles/11258. Applying these updates will remediate the issues. No additional mitigations are specified or required beyond applying the official patches.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2025:22011
- Cve Count
- 2
- Additional Cves
- ["CVE-2025-58183"]
- State
- PUBLISHED
Threat ID: 6a16097ae29bf47b50646d2d
Added to database: 05/26/2026, 20:58:34 UTC
Last enriched: 08/14/2026, 22:22:12 UTC
Last updated: 09/19/2026, 22:01:30 UTC
Views: 124
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.