Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-65494

NULL pointer dereference in get_san_or_cn_from_cert() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted X.509 certificate that causes sk_GENERAL_NAME_value() to return NULL.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-65494
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:31 UTC · Revision 1

Source evidence

CVE-2025-65494

core-osv · Original source

Published 24 Nov 2025, 00:00 UTC

NULL pointer dereference in get_san_or_cn_from_cert() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted X.509 certificate that causes sk_GENERAL_NAME_value() to return NULL.

osv:CVE-2025-65494
Complete source record
{
  "id": "9d4a028cad90b39882d3242a7ec6681a761ecf2f1ec37c4c73e815fb11520f56",
  "url": "https://osv.dev/vulnerability/CVE-2025-65494",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-65494",
    "summary": "NULL pointer dereference in get_san_or_cn_from_cert() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted X.509 certificate that causes sk_GENERAL_NAME_value() to return NULL.",
    "evidence": "osv:CVE-2025-65494",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-65494",
      "aliases": [
        "CVE-2025-65494"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/obgm/libcoap",
              "type": "GIT",
              "events": [
                {
                  "introduced": "851533c3cf63d16984d370ce39d586ecb3694971"
                },
                {
                  "last_affected": "851533c3cf63d16984d370ce39d586ecb3694971"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libcoap:libcoap:4.3.5:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.3.5-NA"
                      },
                      {
                        "last_affected": "4.3.5-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.3.5-NA",
            "v4.3.5b"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-65494.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.319847883Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65494.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-65494",
        "https://github.com/obgm/libcoap/issues/1745",
        "https://github.com/obgm/libcoap/pull/1750"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65494.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-65494",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488503,
  "published_at": "2025-11-24T00:00:00+00:00"
}