Lucene search
K

CVE-2026-42790 nameConstraints DNS bypass via subject CommonName fallback in public_key hostname verification

🗓️ 27 May 2026 15:09:01Reported by EEFType 
cvelist
 cvelist
🔗 www.cve.org👁 38 Views

DNS nameConstraints bypass via CommonName fallback in Erlang OTP public_key TLS verification.

Related
Affected
Refs
[
  {
    "cpes": [
      "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
    ],
    "defaultStatus": "unknown",
    "modules": [
      "pubkey_cert",
      "public_key"
    ],
    "packageName": "public_key",
    "packageURL": "pkg:otp/public_key?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%20https:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
    "product": "OTP",
    "programFiles": [
      "src/pubkey_cert.erl",
      "src/public_key.erl"
    ],
    "programRoutines": [
      {
        "name": "pubkey_cert:validate_names/6"
      },
      {
        "name": "public_key:pkix_verify_hostname/3"
      }
    ],
    "repo": "https://github.com/erlang/otp",
    "vendor": "Erlang",
    "versions": [
      {
        "changes": [
          {
            "at": "1.15.1.7",
            "status": "unaffected"
          },
          {
            "at": "1.17.1.3",
            "status": "unaffected"
          },
          {
            "at": "1.20.3.1",
            "status": "unaffected"
          },
          {
            "at": "1.21.1",
            "status": "unaffected"
          }
        ],
        "lessThan": "*",
        "status": "affected",
        "version": "1.4",
        "versionType": "otp"
      }
    ]
  },
  {
    "collectionURL": "https://github.com",
    "cpes": [
      "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
    ],
    "defaultStatus": "unknown",
    "modules": [
      "pubkey_cert",
      "public_key"
    ],
    "packageName": "erlang/otp",
    "packageURL": "pkg:github/erlang/otp",
    "product": "OTP",
    "programFiles": [
      "lib/public_key/src/pubkey_cert.erl",
      "lib/public_key/src/public_key.erl"
    ],
    "programRoutines": [
      {
        "name": "pubkey_cert:validate_names/6"
      },
      {
        "name": "public_key:pkix_verify_hostname/3"
      }
    ],
    "repo": "https://github.com/erlang/otp",
    "vendor": "Erlang",
    "versions": [
      {
        "changes": [
          {
            "at": "26.2.5.21",
            "status": "unaffected"
          },
          {
            "at": "27.3.4.12",
            "status": "unaffected"
          },
          {
            "at": "28.5.0.1",
            "status": "unaffected"
          },
          {
            "at": "29.0.1",
            "status": "unaffected"
          }
        ],
        "lessThan": "*",
        "status": "affected",
        "version": "19.3",
        "versionType": "otp"
      },
      {
        "changes": [
          {
            "at": "0769050c69d73762672b0db1347b6993a5b31759",
            "status": "unaffected"
          },
          {
            "at": "fb67c6d1836f51105a96d8b769e71e4215a79457",
            "status": "unaffected"
          },
          {
            "at": "21abed64eb2026b5f82f432709e4e932f9be389a",
            "status": "unaffected"
          }
        ],
        "lessThan": "*",
        "status": "affected",
        "version": "b0c245e8132bb13171e277b1af59c0cec00c9459",
        "versionType": "git"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation