CVE-2025-54059 json
melange creates SBOM files in APKs with world-writable permissions
published 2025-07-18 15 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-21889 , GHSA-5662-cv6m-63wh , GO-2025-3815
- cvss
- 4.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 4%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go chainguard.dev/melange 0.29.5
- chainguard melange 0.29.5
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250730T213748-1.1
opensuse advisories openSUSE-SU-2025:15405-1
- github.com/chainguard-dev/melange@1b272db commit
- github.com/chainguard-dev/melange@e29494b commit
- github.com/chainguard-dev/melange#1836 pull request
- github.com/chainguard-dev/melange#2086 pull request
- github.com/chainguard-dev/melange/releases/tag/v0.23.0 release
- github.com/chainguard-dev/melange/releases/tag/v0.29.5 release
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 15 mo ago
Exploit prediction
0.15% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
| GitHub | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | chainguard.dev/melange | >=0.23.0, <0.29.5 |
0.29.5 |
Affected products
- chainguard-dev melange
Classification
- Weakness
-
- CWE-276 Incorrect Default Permissions
References
-
github.com
/chainguard-dev/melange/pull/1836
web
-
github.com
/chainguard-dev/melange/pull/2086
web
-
github.com
/chainguard-dev/melange/commit/1b272db2a0bb3441553284cc56d87236b4b64c04
web
-
github.com
/chainguard-dev/melange/commit/e29494b4a40a91619ec1c87a09003c6d5164cea1
web
-
github.com
/chainguard-dev/melange/security/advisories/GHSA-5662-cv6m-63wh
web, advisory
- github.com /chainguard-dev/melange/releases/tag/v0.23.0
-
github.com
/chainguard-dev/melange/releases/tag/v0.29.5
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-54059
advisory
-
github.com
/chainguard-dev/melange
package
Sources
- CVE List CVE-2025-54059
- GitHub Advisory GHSA-5662-cv6m-63wh
- NVD CVE-2025-54059
- OSV GO-2025-3815
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.