Home / hexpm / hex_core / CVE-2026-103502
CVE-2026-103502: is it exploited, and which versions of hexpm hex_core are affected and fixed?
CVE-2026-103502 is an improper certificate validation vulnerability in hexpm hex_core. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: hex_core from 0.1.0 before 0.20.0 (CVE record by EEF). Fixed in 0.20.0 (CVE record by EEF). Severity: Medium (5.9, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 08:34 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-103502?
hex_core's default HTTP adapter doesn't verify TLS certificates on OTP 24 and 25
Improper Certificate Validation vulnerability in hexpm hex_core allows an attacker who can intercept HTTPS connections to impersonate hex.pm, repo.hex.pm or any other repository or API server to programs that use hex_core's default HTTP adapter on Erlang/OTP 24, or on OTP 25 when the operating system's CA certificates can't be loaded. hex_core:default_config/0 selects the built-in hex_http_httpc adapter. For an HTTPS request whose adapter config has no ssl option, hex_http_httpc:http_options/2 builds options that verify the server certificate against public_key:cacerts_get/0. When that call raises, the adapter prints a warning and sends the request without ssl options, so httpc uses the defaults of the ssl application, which before OTP 26 don't verify the server certificate. public_key:cacerts_get/0 doesn't exist on OTP 24, so every HTTPS request falls back there, and on OTP 25 it raises when no CA store is found. hex_core versions before 0.11.0 never set ssl options, so they don't verify the server certificate on OTP 25 and earlier whether or not a CA store is found. The fallback was intended and documented, but the documentation didn't make clear that it meant no certificate verification. Since hex_core 0.8.2 the README has warned that the built-in httpc adapter "has insecure default settings" and recommended other HTTP clients, and the adapter prints "using default ssl options which are insecure" on every request that falls back. hex_core 0.11.0 added certificate verification with the changelog entry "Use secure SSL defaults for OTP 25+". Neither the README nor the warning says that the server certificate isn't verified, the README doesn't say which OTP versions the warning applies to, and on OTP 25 without CA certificates the warning tells users to upgrade to OTP 25 or later, which they already run. This advisory is published so that users who took those notices as general advice know their HTTPS requests weren't authenticated. This issue affects hex_core: from 0.1.0 before 0.20.0.
From the CVE record by EEF, last updated November 19, 2026, 08:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| hexpm | hex_core | from 0.1.0 before 0.20.0 | 0.20.0 |
| hexpm | hex_core hexpm/hex_core | not stated |
As the CVE record by EEF states it, last updated November 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-103502?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-103502 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 16, 2026)
- EPSS
- 0.24% probability of exploitation activity in the next 30 days, percentile 16.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
How do I fix it? (from the CVE record)
Upgrade hex_core to 0.20.0 or later. On OTP 24, or on OTP 25 without the operating system's CA certificates, HTTPS requests through hex_http_httpc then fail with {error, {cacerts_unavailable, Reason}} unless the adapter config has ssl options.
Is there a workaround? (from the CVE record)
Pass ssl options that verify the server certificate in the adapter config, for example {hex_http_httpc, #{http_options => [{ssl, SslOpts}]}}, use another HTTP adapter, or run on OTP 26 or later.
Where are the vendor advisories and references?
- GitHub Advisory related, vendor-advisory
- EEF CNA record for CVE-2026-103502 related
- OSV record EEF-CVE-2026-103502 related
- Introducing commit fbb6d9d in hexpm/hex_core related
- Fix commit b7b3a42 in hexpm/hex_core patch
Who found and reported it?
- Peter Ullrich (finder)
- Jonatan Männchen / EEF (analyst)
- Eric Meadows-Jönsson (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 9, 2026
- Published
- October 12, 2026, 13:15 UTC
- CVE record updated
- November 19, 2026, 08:21 UTC by EEF
- NVD
- Deferred, last modified October 16, 2026, 17:17 UTC
- Last checked
- CVE list November 19, 2026, 08:34 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect hex_core?
- Oct 14, 2026CVE-2026-96596 Erlang OTP: infinite loop (denial of service)
- Oct 12, 2026CVE-2026-105274 erlang rebar3: improper Handling of Highly Compressed Data (Data Amplification)
- Feb 27, 2026CVE-2026-21619 erlang rebar3: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-103502
Is CVE-2026-103502 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of hexpm hex_core are affected by CVE-2026-103502?
hex_core from 0.1.0 before 0.20.0, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-103502?
0.20.0, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-103502?
Medium (5.9, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-103502?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.