BSD Ports

devel/ocaml-opam -- CWE-24 Path Traversal: '../filedir'

· CVE-2026-41082 · VuXML entry

https://github.com/ocaml/opam/releases/tag/2.5.1 reports: In OCaml opam before 2.5.1, a .install field containing a destination filepath can use ../ to reach a parent directory. Reported by Andrew Nesbitt <[email protected]>.

Affected versions

By system

1 still vulnerable, 1 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
FreeBSDdevel/ocaml-opam2.6.1 fixed (70 days after)
NetBSDmisc/ocaml-opam2.5.2 not listed
DragonFlydevel/ocaml-opam2.3.0 vulnerable since 2026-05-05