Debian dsa-6386 : opam - security update

critical Nessus Plugin ID 326345

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 13 host has packages installed that are affected by a vulnerability as referenced in the dsa-6386 advisory.

- ------------------------------------------------------------------------- Debian Security Advisory DSA-6386-1 [email protected] https://www.debian.org/security/ Salvatore Bonaccorso July 10, 2026 https://www.debian.org/security/faq
- -------------------------------------------------------------------------

Package : opam CVE ID : CVE-2026-57825

Kate Deplaix reported that .install file directives were insufficiently restricted in OPAM, a package manager for OCaml. Installing files through .install files did not check symlinks resolution on the target path, which could result in directory traversal out of the package area.

For the stable distribution (trixie), this problem has been fixed in version 2.3.0-1+deb13u2.

We recommend that you upgrade your opam packages.

For the detailed security status of opam please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/opam

Further information about Debian Security Advisories, how to apply these updates to your system and frequently asked questions can be found at: https://www.debian.org/security/

Mailing list: [email protected]

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the opam packages.

See Also

https://packages.debian.org/source/trixie/opam

https://security-tracker.debian.org/tracker/CVE-2026-57825

https://security-tracker.debian.org/tracker/source-package/opam

Plugin Details

Severity: Critical

ID: 326345

File Name: debian_DSA-6386.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 7/10/2026

Updated: 7/10/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.71

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-57825

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:13.0, p-cpe:/a:debian:debian_linux:opam-doc, p-cpe:/a:debian:debian_linux:opam-installer, p-cpe:/a:debian:debian_linux:opam

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 7/10/2026

Vulnerability Publication Date: 7/10/2026

Reference Information

CVE: CVE-2026-57825