cve.bz

CVE-2025-54059

4.4 mediumEPSS 0.2%

Medium (4.4). EPSS 0.2% chance of exploitation in the next 30 days. Fixed in chainguard.dev/melange 0.29.5.

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.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
EPSS
0.2% chance of exploitation in the next 30 days; higher than 4% of CVEs (scores of 2026-10-31)
CWE
CWE-276
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5662-cv6m-63whGochainguard.dev/melange>=0.23.0 <0.29.50.29.5
GO-2025-3815Gochainguard.dev/melange>=0.23.0 <0.29.50.29.5

References

Check your stackJSON