CVEMETERBack to radar
OFFICIAL RECORD · Erlang/Elixir

CVE-2026-59696

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 6.9 · medium

uri_string does not bound the port component of a URI before integer conversion

Improper Validation of Specified Quantity in Input vulnerability in Erlang/OTP stdlib allows a remote attacker to degrade availability by supplying a URI whose port component is a very long run of digits. uri_string:get_port/1 passes the port substring to binary_to_integer/1 with no length bound, catching only error:badarg, so a syntactically valid port of up to roughly 1.26 million digits converts successfully and costs the calling process hundreds of milliseconds of arbitrary-precision arithmetic. The conversion is reached from every authority-parsing path in uri_string:parse/1, including the host, registered-name, and IPv4 and IPv6 forms. parse/1 is the documented interface for parsing URIs, so any application that parses an attacker-supplied URI is exposed without further configuration. The conversion function is documented to accept integers of any size, so bounding the input is the caller's responsibility. This issue affects OTP from OTP 21.0 before OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, corresponding to stdlib from 3.5 before 6.2.2.5, 7.3.0.2, and 8.0.4.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.726% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 6.9 · published by EEF
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:56.686Z

CVSS 4.0 · 6.9 · published by Ubuntu Security
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T16:52:52.101Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssverified2026-11-19T12:58:56.686ZCVE Program
epssverified2026-11-19T16:04:53.106ZFIRST EPSS
patchesverified2026-11-19T16:52:52.101ZUbuntu Security
affectedverified2026-11-19T12:58:56.686ZCVE Program
lifecycleverified2026-11-19T12:58:56.686ZCVE Program

Affected versions and configuration

Erlang OTP; modules: uri_string; default status: unaffected: 21.0 to < * [affected; scheme: otp]; changes: [{"at":"27.3.4.17","status":"unaffected"},{"at":"28.5.0.6","status":"unaffected"},{"at":"29.0.6","status":"unaffected"}] Erlang OTP; modules: uri_string; default status: unaffected: 3.5 to < * [affected; scheme: otp]; changes: [{"at":"6.2.2.5","status":"unaffected"},{"at":"7.3.0.2","status":"unaffected"},{"at":"8.0.4","status":"unaffected"}] Erlang OTP; modules: uri_string; default status: unaffected: 29a9dd0e17a97a3e6e46f0d08c6ba8f31db33f5e to < * [affected; scheme: git]; changes: [{"at":"aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d","status":"unaffected"},{"at":"e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa","status":"unaffected"}]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "erlang",
    "debian": "https://tracker.debian.org/pkg/erlang",
    "source": "https://ubuntu.com/security/cve?package=erlang",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=erlang",
    "statuses": [
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "vulnerable code not present",
        "release_codename": "bionic"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "vulnerable code not present",
        "release_codename": "trusty"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:29.0.6+dfsg-1",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "vulnerable code not present",
        "release_codename": "xenial"
      },
      {
        "pocket": "esm-infra",
        "status": "released",
        "component": null,
        "description": "1:22.2.7+dfsg-1ubuntu0.5+esm2",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:24.2.1+dfsg-1ubuntu0.7",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:25.3.2.8+dfsg-1ubuntu4.7",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:27.3.4.6+dfsg-1ubuntu0.1",
        "release_codename": "resolute"
      }
    ]
  }
]
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "vendor": "Erlang",
      "modules": [
        "uri_string"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "changes": [
            {
              "at": "27.3.4.17",
              "status": "unaffected"
            },
            {
              "at": "28.5.0.6",
              "status": "unaffected"
            },
            {
              "at": "29.0.6",
              "status": "unaffected"
            }
          ],
          "version": "21.0",
          "lessThan": "*",
          "versionType": "otp"
        }
      ],
      "packageURL": "pkg:software-id/erlang.org/otp",
      "packageName": "otp",
      "programFiles": [
        "lib/stdlib/src/uri_string.erl"
      ],
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "uri_string:get_port/1"
        },
        {
          "name": "uri_string:parse/1"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/erlang/otp",
      "vendor": "Erlang",
      "modules": [
        "uri_string"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "changes": [
            {
              "at": "6.2.2.5",
              "status": "unaffected"
            },
            {
              "at": "7.3.0.2",
              "status": "unaffected"
            },
            {
              "at": "8.0.4",
              "status": "unaffected"
            }
          ],
          "version": "3.5",
          "lessThan": "*",
          "versionType": "otp"
        }
      ],
      "packageURL": "pkg:otp/stdlib?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
      "packageName": "stdlib",
      "programFiles": [
        "src/uri_string.erl"
      ],
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "uri_string:get_port/1"
        },
        {
          "name": "uri_string:parse/1"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/erlang/otp",
      "vendor": "Erlang",
      "modules": [
        "uri_string"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "changes": [
            {
              "at": "aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d",
              "status": "unaffected"
            },
            {
              "at": "e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa",
              "status": "unaffected"
            }
          ],
          "version": "29a9dd0e17a97a3e6e46f0d08c6ba8f31db33f5e",
          "lessThan": "*",
          "versionType": "git"
        }
      ],
      "packageURL": "pkg:github/erlang/otp",
      "packageName": "erlang/otp",
      "programFiles": [
        "lib/stdlib/src/uri_string.erl"
      ],
      "collectionURL": "https://github.com",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "uri_string:get_port/1"
        },
        {
          "name": "uri_string:parse/1"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-59696",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-09-01T15:54:42.891377Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-09-01T15:54:49.733Z"
      }
    }
  ]
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
upstream-noteupstream / upstreamerlangNot a distribution channel1:29.0.6+dfsg-1Official record
distribution-packageUbuntu / focalerlangesm-infra1:22.2.7+dfsg-1ubuntu0.5+esm2Official record
distribution-packageUbuntu / jammyerlangsecurity1:24.2.1+dfsg-1ubuntu0.7Official record
distribution-packageUbuntu / nobleerlangsecurity1:25.3.2.8+dfsg-1ubuntu4.7Official record
distribution-packageUbuntu / resoluteerlangsecurity1:27.3.4.6+dfsg-1ubuntu0.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history