Join our Newsletter — 33% off our NHI Course
Foundations & NHI Taxonomy

Datagram

← Back to Glossary
By NHI Mgmt Group Updated November 9, 2026 Domain: Foundations & NHI Taxonomy

A datagram is a self-contained network packet sent without setting up a persistent connection first. It carries its own addressing and payload information, so delivery order and reliability are handled by the network protocol or application, not by a session state.

What Makes a Datagram Different From a Connection-Oriented Packet

A datagram is designed to be independent: it carries enough addressing information to be routed on its own, rather than relying on a pre-established session. That makes it a fundamental building block of connectionless communication, where the protocol or application decides how to handle ordering, loss, duplication, and retransmission.

The practical difference is that a datagram can move through the network without the overhead of maintaining connection state. That reduces setup cost and can improve flexibility for short, bursty, or time-sensitive traffic, but it also means the sender and receiver cannot assume the network will preserve sequence or guarantee delivery.

How Datagram Delivery Works

In a datagram network, each packet is treated as a separate unit. The network forwards it based on the destination information in the packet header, and intermediate devices do not need to remember a session for it. This model is common in protocols that prioritise simplicity and low latency over strict delivery guarantees.

Because each datagram is self-contained, the path one packet takes can differ from the path taken by the next. That can produce reordering, variable delay, or occasional loss. Applications that use datagrams therefore need to tolerate those conditions or add their own sequencing, acknowledgement, or retry logic if reliability matters.

Why Datagram Design Matters for Applications

Datagrams give application designers a direct trade-off: less transport overhead in exchange for less built-in coordination. For live media, telemetry, voice, gaming, and other latency-sensitive workloads, that trade-off is often worth it because a late packet can be less useful than a missing one. For file transfer, transactions, and stateful interactions, the same behaviour can be a drawback unless the application layer compensates.

The term also matters because “datagram” is not a synonym for “unreliable” in every sense. It simply means the transport does not create a persistent connection first. Reliability can still be achieved above the transport layer, but the responsibility shifts away from the network session and toward the application or higher-level protocol design.

Security and Operational Implications of Datagram Traffic

Datagram-based protocols can be easier to monitor and scale in some environments, but they also remove the defensive benefits of connection state. That means exposure often shows up as spoofing, reflection, amplification, or service abuse when a protocol accepts packets without enough validation or rate control. Security teams also need to remember that lack of session state can reduce attribution and make traffic patterns harder to correlate.

Operationally, the main question is whether the application can tolerate loss, delay, duplication, and out-of-order delivery without creating integrity or availability problems. Where it cannot, the protocol choice itself becomes a resilience decision, not just a networking detail.

Risk and Threat Considerations

Datagram traffic can be abused when services trust packet contents too readily or expose packet-handling endpoints to the internet. Stateless handling is attractive to attackers because it can make spoofing, flooding, and reflection attacks cheaper than attacks against stateful protocols.

Failure mechanism: A service accepts or forwards datagrams without sufficient source validation, rate limiting, or abuse controls, allowing forged traffic, amplification, or loss of service.

Impact: The result can be denial of service, misleading telemetry, degraded application integrity, or increased difficulty in tracing malicious traffic back to its source.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AA-05 — Authenticator ManagementDatagram services often need access and source validation controls to limit abuse.
DE.CM-01 — Network MonitoringDatagram traffic requires monitoring for flooding, spoofing, and abnormal packet patterns.
PR.DS-01 — Data-at-Rest ConfidentialityDatagrams may carry sensitive payloads that need protection in transit and at rest.
Recommendation — Apply PR.AA-05 to enforce strong validation on packet-originating services. Use DE.CM-01 to monitor datagram traffic for anomalous spikes and abuse. Protect datagram payloads with appropriate encryption and handling controls.
MITRE ATT&CKT1498 — Network Denial of ServiceDatagram protocols are commonly targeted in flooding and amplification attacks.
Recommendation — Map packet-flood and amplification patterns to T1498 and tune detection for volumetric abuse.
CIS Controls v8CIS-13 — Network Monitoring and DefenseDatagram exposure creates monitoring and abuse-detection requirements at the network edge.
Recommendation — Use CIS-13 to detect and contain abnormal datagram traffic and reflection abuse.

Practitioner Guidance

What to watch for: Treat datagram use as a design choice that needs protocol-specific controls, not as a neutral transport default. If the application depends on ordering or delivery certainty, verify where that guarantee is enforced and whether the protocol or the application owns the retry, sequencing, and validation logic.

Governance implication: Teams should document which workloads are safe to run over connectionless transport, especially where public exposure, rate control, and abuse resistance matter. The right decision is usually workload-specific, because a datagram design that is ideal for one service can be fragile for another.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 9, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org