Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-59247

published high CVSS 4.0 · 7.6

Insufficient verification of Hex package metadata in Gleam

Published
29 Jul 2026, 14:24:55 UTC
Updated
20 Nov 2026, 05:59:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Gleam — gleam-lang/gleamGleam · v0.18.0-rc1-elixir to < v1.18.0-elixir · v0.18.0-rc1-erlang to < v1.18.0-erlang · v0.18.0-rc1-node to < v1.18.0-node · v0.18.0-rc1-node-slim to < v1.18.0-node-slim · v0.18.0-rc1-elixir-slim to < v1.18.0-elixir-slim · v0.18.0-rc1-erlang-slim to < v1.18.0-erlang-slim · v0.18.0-rc1-erlang-alpine to < v1.18.0-erlang-alpine · v0.18.0-rc1-elixir-alpine to < v1.18.0-elixir-alpine · v0.18.0-rc1-node-alpine to < v1.18.0-node-alpine · v0.18.0-rc1-scratch to < v1.18.0-scratch · Other versions: unaffected Affected Not stated EEF
Gleam — gleamGleam · 0.18.0-rc1 to < 1.18.0 · Other versions: unaffected Affected Not stated EEF
Gleam — gleam-lang/gleamGleam · 8447b78cc844ff4aec44eea23dbd68d1fea11f11 to < c9c0d48c123c8abae6db8dd61b25ccb427ed3d35 · Other versions: unaffected Affected Not stated EEF
SUSE / openSUSE openSUSE-Leap-16.0 gleamaarch64 Advisory build 1.18.1-bp160.1.1 OPENSUSE-SU-2026:21557-1
SUSE / openSUSE openSUSE-Leap-16.0 gleamx86_64 Advisory build 1.18.1-bp160.1.1 OPENSUSE-SU-2026:21557-1
SUSE / openSUSE openSUSE-Tumbleweed gleamaarch64 Advisory build 1.18.1-1.1 OPENSUSE-SU-2026:11462-1
SUSE / openSUSE openSUSE-Tumbleweed gleamppc64le Advisory build 1.18.1-1.1 OPENSUSE-SU-2026:11462-1
SUSE / openSUSE openSUSE-Tumbleweed gleams390x Advisory build 1.18.1-1.1 OPENSUSE-SU-2026:11462-1
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed gleamx86_64 Advisory build 1.18.1-1.1 OPENSUSE-SU-2026:11462-1

Description

Insufficient Verification of Data Authenticity vulnerability in Gleam allows an adversary in the middle to substitute forged Hex package contents during dependency resolution. During dependency resolution Gleam fetches package metadata from the signature-verified Hex repository, which covers each release's dependency requirements and SHA-256 outer_checksum. After resolving versions, gleam_cli::dependencies::lookup_package makes a second request to the unsigned Hex API through gleam_core::hex::get_package_release and records the outer_checksum and dependency names from that JSON response into manifest.toml, instead of the values from the verified repository metadata. The Hex repository signature does not cover the API response. An adversary in the middle who can intercept TLS with a certificate trusted by the Gleam process (for example a TLS-inspecting proxy using a CA in the operating system trust store or added through GLEAM_CACERTS_PATH), and who can modify both the API release response and the corresponding repository tarball, can supply a package archive with a matching forged checksum without the Hex repository signing key. Gleam verifies the forged tarball against the forged checksum, accepts it, and extracts it as a dependency source, resulting in loss of integrity of the downloaded package contents. Only projects that resolve or update Hex dependencies are affected, which happens when the manifest is missing, a dependency is added or updated, or dependency requirements change. Builds that reuse an unchanged, known-good manifest.toml continue to verify tarballs against its pinned checksum. This issue affects gleam: from 0.18.0-rc1 before 1.18.0.

en · EEF · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
7.6 / 10
Severity
high
Provider
EEF · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Gleam Gleam v0.18.0-rc1-elixir to < v1.18.0-elixir (affected · other)v0.18.0-rc1-erlang to < v1.18.0-erlang (affected · other)v0.18.0-rc1-node to < v1.18.0-node (affected · other)v0.18.0-rc1-node-slim to < v1.18.0-node-slim (affected · other)v0.18.0-rc1-elixir-slim to < v1.18.0-elixir-slim (affected · other)v0.18.0-rc1-erlang-slim to < v1.18.0-erlang-slim (affected · other)v0.18.0-rc1-erlang-alpine to < v1.18.0-erlang-alpine (affected · other)v0.18.0-rc1-elixir-alpine to < v1.18.0-elixir-alpine (affected · other)v0.18.0-rc1-node-alpine to < v1.18.0-node-alpine (affected · other)v0.18.0-rc1-scratch to < v1.18.0-scratch (affected · other)Default: unaffected EEF · cna
Gleam Gleam 0.18.0-rc1 to < 1.18.0 (affected · semver)Default: unaffected EEF · cna
Gleam Gleam 8447b78cc844ff4aec44eea23dbd68d1fea11f11 to < c9c0d48c123c8abae6db8dd61b25ccb427ed3d35 (affected · git)Default: unaffected EEF · cna

Weaknesses

1
  • CWE-345 CWE-345 Insufficient Verification of Data Authenticity (EEF · cna)

References

6

Provider assertions

2

EEF · cna

Insufficient verification of Hex package metadata in Gleam

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
028ad92648a32963b143cc49f4c131037de4403b389b749241236ad84f90d663
Ingested
20 Nov 2026, 06:18:48 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected