CVE-2025-65494 Null dereference in n/a

High 7.5 Published Updated

Remote attackers can cause a denial of service in libcoap by sending a crafted X.509 certificate that triggers a null pointer dereference.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-65494?

CVE-2025-65494 is a high-severity vulnerability in n/a, published on 24 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-476

Which versions are affected by CVE-2025-65494?

It affects 1 product.

Products include Libcoap Libcoap.

How do I fix CVE-2025-65494?

Upgrade to a fixed version.

Is CVE-2025-65494 being exploited?

There is no known exploitation of CVE-2025-65494 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-65494, GHSA-vm7h-x472-77pq, UBUNTU-CVE-2025-65494.

Is CVE-2025-65494 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free