Skip to content
Heist/ feed
Back to feed
HighFix available

erlang-hex — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-105668

Protection Mechanism Failure vulnerability in hexpm hex allows the owner of a package, or an attacker who has taken over the owner's account, to get a newly published release past the release-age cooldown. The cooldown (cooldown config, HEX_COOLDOWN) withholds versions younger than the configured age during dependency resolution. When the release of a package locked in mix.lock is retired or has a security advisory, Hex.RemoteConverger.build_cooldown_bypass/3 and Hex.RemoteConverger.unsafe_lock_bypass/1 lift the cooldown for every version of that package and of every package the locked release depends on, so that mix deps.update can move off the unsafe release. Retiring a release needs the same package owner permission as publishing one. An attacker who publishes a malicious release can retire the currently locked release, and the next mix deps.update that unlocks the package selects the new release regardless of its age. Hex.Registry.Cooldown.versions/2 checks the bypass by package name alone, so the bypass also covers packages with the same name in other repositories. Cooldown configured through an organization dependency policy is not affected. This issue affects hex: from 2.5.0 before 2.5.2.

Products
erlang-hex
Affected versions
2.0.6-2, 2.4.2-1, 2.4.2-2, 2.5.1-1, 2.5.1-2, 2.5.3-1
Fixed versions
2.5.3-2
CVEs
CVE-2026-105668
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 23:06 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-105668

core-osv · Original source

Published 12 Oct 2026, 16:17 UTC

Protection Mechanism Failure vulnerability in hexpm hex allows the owner of a package, or an attacker who has taken over the owner's account, to get a newly published release past the release-age cooldown. The cooldown (cooldown config, HEX_COOLDOWN) withholds versions younger than the configured age during dependency resolution. When the release of a package locked in mix.lock is retired or has a security advisory, Hex.RemoteConverger.build_cooldown_bypass/3 and Hex.RemoteConverger.unsafe_lock_bypass/1 lift the cooldown for every version of that package and of every package the locked release depends on, so that mix deps.update can move off the unsafe release. Retiring a release needs the same package owner permission as publishing one. An attacker who publishes a malicious release can retire the currently locked release, and the next mix deps.update that unlocks the package selects the new release regardless of its age. Hex.Registry.Cooldown.versions/2 checks the bypass by package name alone, so the bypass also covers packages with the same name in other repositories. Cooldown configured through an organization dependency policy is not affected. This issue affects hex: from 2.5.0 before 2.5.2.

osv:DEBIAN-CVE-2026-105668

erlang-hex

Fixed versions: 2.5.3-2

Complete source record
{
  "id": "bb7c294064e3576b4f4de3c10d1948475cd410f4c41bbb231b63eee25d4b5347",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-105668",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-105668",
    "summary": "Protection Mechanism Failure vulnerability in hexpm hex allows the owner of a package, or an attacker who has taken over the owner's account, to get a newly published release past the release-age cooldown. The cooldown (cooldown config, HEX_COOLDOWN) withholds versions younger than the configured age during dependency resolution. When the release of a package locked in mix.lock is retired or has a security advisory, Hex.RemoteConverger.build_cooldown_bypass/3 and Hex.RemoteConverger.unsafe_lock_bypass/1 lift the cooldown for every version of that package and of every package the locked release depends on, so that mix deps.update can move off the unsafe release. Retiring a release needs the same package owner permission as publishing one. An attacker who publishes a malicious release can retire the currently locked release, and the next mix deps.update that unlocks the package selects the new release regardless of its age. Hex.Registry.Cooldown.versions/2 checks the bypass by package name alone, so the bypass also covers packages with the same name in other repositories. Cooldown configured through an organization dependency policy is not affected. This issue affects hex: from 2.5.0 before 2.5.2.",
    "evidence": "osv:DEBIAN-CVE-2026-105668",
    "products": [
      {
        "name": {
          "value": "erlang-hex",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.5.3-2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.0.6-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.4.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.5.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.5.1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.5.3-1",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-105668",
      "aliases": [
        "DEBIAN-CVE-2026-105668"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.5.3-2"
                }
              ]
            }
          ],
          "package": {
            "name": "erlang-hex",
            "purl": "pkg:deb/debian/erlang-hex?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "2.0.6-2",
            "2.4.2-1",
            "2.4.2-2",
            "2.5.1-1",
            "2.5.1-2",
            "2.5.3-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-105668.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T17:47:34.728013923Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-105668"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-105668"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-105668",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 417726,
  "published_at": "2026-10-12T16:17:02.943+00:00"
}