UBUNTU-CVE-2025-65496

Source
https://ubuntu.com/security/CVE-2025-65496
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-65496.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-65496
Upstream
Published
2025-11-24T14:15:00Z
Modified
2026-01-20T18:39:10.521951Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

References

Affected packages

Ubuntu:18.04:LTS
libcoap

Package

Name
libcoap
Purl
pkg:deb/ubuntu/libcoap@4.1.2-1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.1.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.1.2-1",
            "binary_name": "libcoap-1-0"
        },
        {
            "binary_version": "4.1.2-1",
            "binary_name": "libcoap-1-0-bin"
        },
        {
            "binary_version": "4.1.2-1",
            "binary_name": "libcoap-1-0-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-65496.json"
Ubuntu:20.04:LTS
libcoap2

Package

Name
libcoap2
Purl
pkg:deb/ubuntu/libcoap2@4.2.1-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.2.0-2
4.2.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.2.1-1",
            "binary_name": "libcoap2"
        },
        {
            "binary_version": "4.2.1-1",
            "binary_name": "libcoap2-bin"
        },
        {
            "binary_version": "4.2.1-1",
            "binary_name": "libcoap2-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-65496.json"
Ubuntu:22.04:LTS
libcoap2

Package

Name
libcoap2
Purl
pkg:deb/ubuntu/libcoap2@4.2.1-1build1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.2.1-1
4.2.1-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.2.1-1build1",
            "binary_name": "libcoap2"
        },
        {
            "binary_version": "4.2.1-1build1",
            "binary_name": "libcoap2-bin"
        },
        {
            "binary_version": "4.2.1-1build1",
            "binary_name": "libcoap2-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-65496.json"
libcoap3

Package

Name
libcoap3
Purl
pkg:deb/ubuntu/libcoap3@4.3.0-2build1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.3.0-2
4.3.0-2build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.3.0-2build1",
            "binary_name": "libcoap3"
        },
        {
            "binary_version": "4.3.0-2build1",
            "binary_name": "libcoap3-bin"
        },
        {
            "binary_version": "4.3.0-2build1",
            "binary_name": "libcoap3-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-65496.json"
Ubuntu:24.04:LTS
libcoap3

Package

Name
libcoap3
Purl
pkg:deb/ubuntu/libcoap3@4.3.4-1.1build4?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.3.1-2
4.3.3-1
4.3.4-1
4.3.4-1.1build2
4.3.4-1.1build3
4.3.4-1.1build4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.3.4-1.1build4",
            "binary_name": "libcoap3-bin"
        },
        {
            "binary_version": "4.3.4-1.1build4",
            "binary_name": "libcoap3-dev"
        },
        {
            "binary_version": "4.3.4-1.1build4",
            "binary_name": "libcoap3t64"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-65496.json"
Ubuntu:25.10
libcoap3

Package

Name
libcoap3
Purl
pkg:deb/ubuntu/libcoap3@4.3.4-1.1build4?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.3.4-1.1build4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.3.4-1.1build4",
            "binary_name": "libcoap3-bin"
        },
        {
            "binary_version": "4.3.4-1.1build4",
            "binary_name": "libcoap3-dev"
        },
        {
            "binary_version": "4.3.4-1.1build4",
            "binary_name": "libcoap3t64"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-65496.json"