UBUNTU-CVE-2025-34468

Source
https://ubuntu.com/security/CVE-2025-34468
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-34468.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-34468
Upstream
Published
2025-12-31T19:15:00Z
Modified
2026-01-20T18:54:18.148249Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

libcoap versions up to and including 4.3.5, prior to commit 30db3ea, contain a stack-based buffer overflow in address resolution when attacker-controlled hostname data is copied into a fixed 256-byte stack buffer without proper bounds checking. A remote attacker can trigger a crash and potentially achieve remote code execution depending on compiler options and runtime memory protections. Exploitation requires the proxy logic to be enabled (i.e., the proxy request handling code path in an application using libcoap).

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_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",
            "binary_version": "4.1.2-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-34468.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_name": "libcoap2",
            "binary_version": "4.2.1-1"
        },
        {
            "binary_name": "libcoap2-bin",
            "binary_version": "4.2.1-1"
        },
        {
            "binary_name": "libcoap2-dev",
            "binary_version": "4.2.1-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-34468.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_name": "libcoap2",
            "binary_version": "4.2.1-1build1"
        },
        {
            "binary_name": "libcoap2-bin",
            "binary_version": "4.2.1-1build1"
        },
        {
            "binary_name": "libcoap2-dev",
            "binary_version": "4.2.1-1build1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-34468.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_name": "libcoap3",
            "binary_version": "4.3.0-2build1"
        },
        {
            "binary_name": "libcoap3-bin",
            "binary_version": "4.3.0-2build1"
        },
        {
            "binary_name": "libcoap3-dev",
            "binary_version": "4.3.0-2build1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-34468.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_name": "libcoap3-bin",
            "binary_version": "4.3.4-1.1build4"
        },
        {
            "binary_name": "libcoap3-dev",
            "binary_version": "4.3.4-1.1build4"
        },
        {
            "binary_name": "libcoap3t64",
            "binary_version": "4.3.4-1.1build4"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-34468.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_name": "libcoap3-bin",
            "binary_version": "4.3.4-1.1build4"
        },
        {
            "binary_name": "libcoap3-dev",
            "binary_version": "4.3.4-1.1build4"
        },
        {
            "binary_name": "libcoap3t64",
            "binary_version": "4.3.4-1.1build4"
        }
    ]
}

Database specific

source

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