← Back to CVE Explorer

CVE-2025-65500

Full vulnerability record from the local CVENow database.

Description

NULL pointer dereference in coap_dtls_generate_cookie() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS handshake that triggers SSL_get_SSL_CTX() to return NULL.

Severity
MEDIUM
CVSS score
4.3 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2025-11-24 14:15:47.807000
Last modified
2026-11-05 13:10:00.180000
View original CVE JSON
{
  "id": "CVE-2025-65500",
  "sourceIdentifier": "[email protected]",
  "published": "2025-11-24T14:15:47.807",
  "lastModified": "2026-11-05T13:10:00.180",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "NULL pointer dereference in coap_dtls_generate_cookie() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS handshake that triggers SSL_get_SSL_CTX() to return NULL."
    },
    {
      "lang": "es",
      "value": "Desreferencia de puntero NULL en coap_dtls_generate_cookie() en src/coap_openssl.c en OISM libcoap 4.3.5 permite a atacantes remotos causar una denegación de servicio a través de un handshake DTLS manipulado que provoca que SSL_get_SSL_CTX() devuelva NULL."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "n/a",
          "product": "n/a",
          "versions": [
            {
              "version": "n/a",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L",
          "baseScore": 4.3,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 1.4
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2025-11-24T18:27:41.347591Z",
          "id": "CVE-2025-65500",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-476"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:libcoap:libcoap:4.3.5:-:*:*:*:*:*:*",
              "matchCriteriaId": "78120234-9F76-4010-AD0E-FEA4DE8A76F9"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/obgm/libcoap/issues/1746",
      "source": "[email protected]",
      "tags": [
        "Issue Tracking"
      ]
    },
    {
      "url": "https://github.com/obgm/libcoap/pull/1750",
      "source": "[email protected]",
      "tags": [
        "Issue Tracking",
        "Patch"
      ]
    }
  ]
}