Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2025-34468

Type: advisorySource: OSV1 source record

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).

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2025-34468

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2025-34468

libcoap3

Source reference: /affected/0/package/name

Affected versions
4.3.1-1

Source reference: /affected/0/versions

4.3.1-2

Source reference: /affected/0/versions

4.3.3-1

Source reference: /affected/0/versions

4.3.4-1

Source reference: /affected/0/versions

4.3.4-1.1

Source reference: /affected/0/versions

4.3.4-1.1~exp1

Source reference: /affected/0/versions

4.3.5-1

Source reference: /affected/0/versions

4.3.5-2

Source reference: /affected/0/versions

4.3.5-3

Source reference: /affected/0/versions

4.3.5-4

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

libcoap3

Source reference: /affected/1/package/name

Affected versions
4.3.4-1.1

Source reference: /affected/1/versions

4.3.4-1.1+deb13u1

Source reference: /affected/1/versions

4.3.4-1.1+deb13u2

Source reference: /affected/1/versions

Fixed versions
4.3.4-1.1+deb13u3

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

libcoap3

Source reference: /affected/2/package/name

Affected versions
4.3.4-1.1

Source reference: /affected/2/versions

4.3.5-1

Source reference: /affected/2/versions

4.3.5-2

Source reference: /affected/2/versions

Fixed versions
4.3.5-3

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "libcoap3",
      "purl": "pkg:deb/debian/libcoap3?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "4.3.1-1",
      "4.3.1-2",
      "4.3.3-1",
      "4.3.4-1",
      "4.3.4-1.1",
      "4.3.4-1.1~exp1",
      "4.3.5-1",
      "4.3.5-2",
      "4.3.5-3",
      "4.3.5-4"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-34468.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "4.3.4-1.1+deb13u3"
          }
        ]
      }
    ],
    "package": {
      "name": "libcoap3",
      "purl": "pkg:deb/debian/libcoap3?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "4.3.4-1.1",
      "4.3.4-1.1+deb13u1",
      "4.3.4-1.1+deb13u2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-34468.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "4.3.5-3"
          }
        ]
      }
    ],
    "package": {
      "name": "libcoap3",
      "purl": "pkg:deb/debian/libcoap3?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "4.3.4-1.1",
      "4.3.5-1",
      "4.3.5-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-34468.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#6096 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement