CVE-2025-54059

Source
https://cve.org/CVERecord?id=CVE-2025-54059
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54059.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-54059
Aliases
Downstream
Related
Published
2025-07-18T15:40:43.277Z
Modified
2026-07-16T03:47:53.926537804Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
melange creates SBOM files in APKs with world-writable permissions
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-276"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54059.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/chainguard-dev/melange

Affected ranges

Type
GIT
Repo
https://github.com/chainguard-dev/melange
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0.23.0"
        },
        {
            "fixed": "0.29.5"
        }
    ]
}

Affected versions

v0.*
v0.23.0
v0.23.1
v0.23.10
v0.23.11
v0.23.12
v0.23.13
v0.23.14
v0.23.15
v0.23.16
v0.23.17
v0.23.2
v0.23.3
v0.23.4
v0.23.5
v0.23.6
v0.23.7
v0.23.8
v0.23.9
v0.24.0
v0.25.0
v0.25.1
v0.26.0
v0.26.1
v0.26.10
v0.26.11
v0.26.12
v0.26.13
v0.26.2
v0.26.3
v0.26.4
v0.26.5
v0.26.6
v0.26.7
v0.26.8
v0.26.9
v0.27.0
v0.28.0
v0.29.0
v0.29.1
v0.29.2
v0.29.3
v0.29.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54059.json"