Medium severity4.4OSV Advisory· Published Jul 18, 2025· Updated Apr 15, 2026
CVE-2025-54059
CVE-2025-54059
Description
melange allows users to build apk packages using declarative pipelines. Starting in version 0.23.0 and prior to version 0.29.5, SBOM files generated by melange in apks had file system permissions mode 666. This potentially allows an unprivileged user to tamper with apk SBOMs on a running image, potentially confusing security scanners. An attacker could also perform a DoS under special circumstances. Version 0.29.5 fixes the issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
chainguard.dev/melangeGo | >= 0.23.0, < 0.29.5 | 0.29.5 |
Affected products
4- Range: v0.1.0, v0.10.0, v0.10.1, …
- osv-coords3 versionspkg:apk/chainguard/cgpkg:golang/chainguard.dev/melangepkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweed
< 0_git20250730-r0+ 2 more
- (no CPE)range: < 0_git20250730-r0
- (no CPE)range: >= 0.23.0, < 0.29.5
- (no CPE)range: < 0.0.20250730T213748-1.1
Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-5662-cv6m-63whghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-54059ghsaADVISORY
- github.com/chainguard-dev/melange/commit/1b272db2a0bb3441553284cc56d87236b4b64c04nvdWEB
- github.com/chainguard-dev/melange/commit/e29494b4a40a91619ec1c87a09003c6d5164cea1nvdWEB
- github.com/chainguard-dev/melange/pull/1836nvdWEB
- github.com/chainguard-dev/melange/pull/2086nvdWEB
- github.com/chainguard-dev/melange/releases/tag/v0.29.5nvdWEB
- github.com/chainguard-dev/melange/security/advisories/GHSA-5662-cv6m-63whnvdWEB
- github.com/chainguard-dev/melange/releases/tag/v0.23.0nvd
News mentions
0No linked articles in our index yet.