CVE catalog

CVE-2026-41082

In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.

[CVE catalog]

Severity
High · CVSS 7.3CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.21% · Oct 25, 2026

In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianopamsid2.6.1-1fixed
Debianopamforky2.5.2-1fixed
Debianopamtrixie2.3.0-1+deb13u2fixed
Debianopamtrixie-security2.3.0-1+deb13u2fixed
Debianopambookworm2.1.2-1+deb12u1fixed
Debianopambookworm-security2.1.2-1+deb12u2fixed
CpeopamNot reported2.1.5-1ubuntu0.1~esm2fixed
Cpeopam-docNot reported2.1.5-1ubuntu0.1~esm2fixed
Cpeopam-installerNot reported2.1.5-1ubuntu0.1~esm2fixed
CpeopamNot reported2.5.1fixed
Cpedebian_linuxNot reportedNot reportedunknown
Cpeenterprise_linuxNot reportedNot reportedunknown
Opensuseopamleap 16.02.5.2-bp160.1.1fixed
Ubuntuopampro2.3.0-1vulnerable
Ubuntuopampro2.4.1-1vulnerable
Ubuntuopampro2.5.0-1vulnerable
Ubuntuopampro2.5.0-1ubuntu0.1~esm1fixed
Ubuntuopam22.042.0.8-1vulnerable
Ubuntuopam22.042.0.10-1vulnerable
Ubuntuopam22.042.1.2-1vulnerable
Ubuntuopam22.042.1.2-1+deb12u1build0.22.04.1fixed
Ubuntuopam25.102.3.0-1vulnerable
Ubuntuopam25.102.3.0-1+deb13u1build0.25.10.1fixed
Opensuseopamtumbleweed2.5.1-1.1fixed
CpeopamNot reported2.5.1fixed
Cpedebian_linuxNot reportedNot reportedunknown
Cpeenterprise_linuxNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianopamsourcesid2.5.1-1not yet assignedNot reportedNot reported
Debianopamsourceforky2.5.1-1not yet assignedNot reportedNot reported
Debianopamsourcetrixie2.3.0-1+deb13u1not yet assignedNot reportedNot reported
Debianopamsourcebookworm2.1.2-1+deb12u1not yet assignedNot reportedNot reported
CpeopamcpeNot reported2.1.5-1ubuntu0.1~esm2Not reportedNot reportedNot reported
Cpeopam-doccpeNot reported2.1.5-1ubuntu0.1~esm2Not reportedNot reportedNot reported
Cpeopam-installercpeNot reported2.1.5-1ubuntu0.1~esm2Not reportedNot reportedNot reported
CpeopamcpeNot reported2.5.1Not reportedNot reportedNot reported
Opensuseopamrpmleap 16.02.5.2-bp160.1.1Not reportedOPENSUSE-SU-2026:21380-1Not reported
Ubuntuopamdebpro2.5.0-1ubuntu0.1~esm1Not reportedUSN-8256-1Not reported
Ubuntuopamdeb22.042.1.2-1+deb12u1build0.22.04.1Not reportedUSN-8256-1Not reported
Ubuntuopamdeb25.102.3.0-1+deb13u1build0.25.10.1Not reportedUSN-8256-1Not reported
Opensuseopamrpmtumbleweed2.5.1-1.1Not reportedOPENSUSE-SU-2026:10568-1Not reported
CpeopamcpeNot reported2.5.1Not reportedNVD-CVE-2026-41082Not reported

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • [opam-devel]Unknown

    Source package: [opam]

    Details (1)
    • 2.5.2-1.4 · x86_64 · tumbleweed

      Unknown · Fixed: 2.5.1-1.1

      Version impact unknown

      nvd · opam · opensuse · tumbleweed

  • Source package: [opam]

    Details (1)
    • 2.5.2-1.4 · x86_64 · tumbleweed

      Unknown · Fixed: 2.5.1-1.1

      Version impact unknown

      nvd · opam · opensuse · tumbleweed

  • [opam]Fixed

    Source package: [opam]

    Details (1)
    • 2.5.2-1.4 · x86_64 · tumbleweed

      Fixed · Fixed: 2.5.1-1.1

      nvd · opam · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [opam]Fixed
    Details (4)
    • 2.1.2-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 2.1.2-1+deb12u1

      nvd · opam · debian · bookworm; nvd · opam · debian · 12

    • 2.1.2-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 2.1.2-1+deb12u1

      nvd · opam · debian · bookworm; nvd · opam · debian · 12

    • 2.1.2-1+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 2.1.2-1+deb12u1

      nvd · opam · debian · bookworm; nvd · opam · debian · 12

    • 2.1.2-1+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 2.1.2-1+deb12u1

      nvd · opam · debian · bookworm; nvd · opam · debian · 12

  • [opam-doc]Fixed

    Source package: [opam]

    Details (4)
    • 2.1.2-1+deb12u1 · all · bookworm

      Fixed · Fixed: 2.1.2-1+deb12u1

      nvd · opam · debian · bookworm; nvd · opam · debian · 12

    • 2.1.2-1+deb12u1 · all · bookworm

      Fixed · Fixed: 2.1.2-1+deb12u1

      nvd · opam · debian · bookworm; nvd · opam · debian · 12

    • 2.1.2-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2.1.2-1+deb12u1

      nvd · opam · debian · bookworm; nvd · opam · debian · 12

    • 2.1.2-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2.1.2-1+deb12u1

      nvd · opam · debian · bookworm; nvd · opam · debian · 12

  • Source package: [opam]

    Details (4)
    • 2.1.2-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 2.1.2-1+deb12u1

      nvd · opam · debian · bookworm; nvd · opam · debian · 12

    • 2.1.2-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 2.1.2-1+deb12u1

      nvd · opam · debian · bookworm; nvd · opam · debian · 12

    • 2.1.2-1+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 2.1.2-1+deb12u1

      nvd · opam · debian · bookworm; nvd · opam · debian · 12

    • 2.1.2-1+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 2.1.2-1+deb12u1

      nvd · opam · debian · bookworm; nvd · opam · debian · 12

[Debian 13 (Trixie)]

  • [opam]Fixed
    Details (4)
    • 2.3.0-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 2.3.0-1+deb13u1

      nvd · opam · debian · 13

    • 2.3.0-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 2.3.0-1+deb13u1

      nvd · opam · debian · 13

    • 2.3.0-1+deb13u2 · amd64 · trixie-security

      Fixed · Fixed: 2.3.0-1+deb13u1

      nvd · opam · debian · 13

    • 2.3.0-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 2.3.0-1+deb13u1

      nvd · opam · debian · 13

  • [opam-doc]Fixed

    Source package: [opam]

    Details (4)
    • 2.3.0-1+deb13u1 · all · trixie

      Fixed · Fixed: 2.3.0-1+deb13u1

      nvd · opam · debian · 13

    • 2.3.0-1+deb13u1 · all · trixie

      Fixed · Fixed: 2.3.0-1+deb13u1

      nvd · opam · debian · 13

    • 2.3.0-1+deb13u2 · all · trixie-security

      Fixed · Fixed: 2.3.0-1+deb13u1

      nvd · opam · debian · 13

    • 2.3.0-1+deb13u2 · all · trixie-security

      Fixed · Fixed: 2.3.0-1+deb13u1

      nvd · opam · debian · 13

  • Source package: [opam]

    Details (4)
    • 2.3.0-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 2.3.0-1+deb13u1

      nvd · opam · debian · 13

    • 2.3.0-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 2.3.0-1+deb13u1

      nvd · opam · debian · 13

    • 2.3.0-1+deb13u2 · amd64 · trixie-security

      Fixed · Fixed: 2.3.0-1+deb13u1

      nvd · opam · debian · 13

    • 2.3.0-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 2.3.0-1+deb13u1

      nvd · opam · debian · 13

Observed:

References