Skip to navigation

Threat reportVulnerabilityTL-2026-4490

OpenBSD 8.0 Released With PF Firewall Hardening and Critical Vulnerability Fixes (incl. IPsec AES-GMAC Kernel Heap Overflow Erratum 003, CVE-2026-31912)

mediumPATCHED

OpenBSD 8.0 (61st release, 2026-10-20) fixes security issues in PF, bpf(4), httpd, relayd, iked, DHCP and bundled libexpat 2.8.4. Errata 003 fixes a remotely triggerable kernel heap overflow when IPsec uses AES-GMAC on amd64 (AES-NI) and octeon systems. No in-the-wild exploitation, public PoC, or KEV listing is reported. First disclosed .

Key facts

IdentifiersTL-2026-4490, CVE-2026-31912, CVE-2026-66046, CVE-2026-76641, CVE-2026-76957
Also known asOpenBSD 8.0 Errata 003, IPsec AES-GMAC kernel heap overflow
SeverityMEDIUM
First disclosed
EPSSCVE-2026-66046: 0.7% (54.7th percentile); CVE-2026-76641: 0.3% (29.1th percentile); CVE-2026-76957: 0.1% (1.1th percentile)
Affected productsOpenBSD OpenBSD kernel IPsec AES-GMAC (amd64 AES-NI, octeon); The Tcpdump Group libpcap BPF interpreter; libexpat Expat XML parser
Weaknesses (CWE)CWE-125, CWE-823, CWE-1285, CWE-407, CWE-416, CWE-122
MalwareXData
MITRE ATT&CK techniquesT1190 Exploit Public-Facing Application, T1499.004 Application or System Exploitation
MotivationUNKNOWN
Target sectorstechnology, telecoms, government administration, critical-infrastructure
Target regionsGlobal
Detection rules9 (1 shown free)
Sources11 cited sources

Detection coverage

As of 2026-10-26, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4490 across Splunk SPL, Microsoft KQL and Sigma, covering 7 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: OpenBSD IPsec AES-GMAC Kernel Heap Overflow Indicators (Errata 003) — Exploitation

Surfaces kernel fault, panic or heap-corruption messages on OpenBSD hosts running IPsec (iked/isakmpd) that are consistent with triggering the errata 003 (003_aesgmac) AES-GMAC kernel heap overflow in aesni.c (amd64 AES-NI) or octcrypto.c (octeon). Per the OpenBSD advisory the flaw is remotely triggerable when ESP uses AES-GMAC and AAD exceeds the data length. No in-the-wild exploitation or public PoC is reported; this is a behavioural crash/corruption detector for unpatched 8.0 hosts, not a signature of a known exploit.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1499.004, T1210
  • Data sources: os_unix:syslog (OpenBSD kernel, iked, isakmpd, savecore), openbsd_syslog
  • Severity: high
  • Confidence: medium

Splunk SPL

index=os_unix sourcetype=syslog earliest=-24h (process=kernel OR process=iked OR process=isakmpd OR process=savecore OR process=syslogd)
```TL-2026-4490 errata 003_aesgmac: kernel fault or heap corruption on IPsec hosts (aesni.c, octcrypto.c)```
| eval fault_class=case(match(_raw, "(?i)panic|uvm_fault|trap type|protection fault"), "kernel_fault", match(_raw, "(?i)free list modified|pool_do_get|malloc: |use after free|chunk canary"), "heap_corruption", match(_raw, "(?i)aesni|octcrypto|aes-?gmac|gmac"), "crypto_driver_ref", match(_raw, "(?i)ipsec|esp|iked|isakmpd"), "ipsec_ref", true(), "other")
| stats count as events earliest(_time) as first_seen latest(_time) as last_seen values(fault_class) as classes values(process) as processes by host
| where mvfind(classes, "kernel_fault")>=0 OR mvfind(classes, "heap_corruption")>=0
| convert ctime(first_seen) ctime(last_seen)
| table host first_seen last_seen events classes processes

Microsoft KQL

// TL-2026-4490 errata 003 aes-gmac kernel heap overflow indicators (Syslog forwarded from OpenBSD)
Syslog
| where TimeGenerated > ago(24h)
| where ProcessName in~ ("kernel", "iked", "isakmpd", "savecore", "syslogd")
| where SyslogMessage matches regex @"(?i)(panic|uvm_fault|trap type|protection fault|free list modified|pool_do_get|malloc: |use after free|chunk canary)"
| extend FaultClass = iff(SyslogMessage matches regex @"(?i)(free list modified|pool_do_get|malloc: |use after free|chunk canary)", "heap_corruption", "kernel_fault")
| summarize Events = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Classes = make_set(FaultClass), Samples = make_set(substring(SyslogMessage, 0, 200), 5) by Computer, ProcessName
| project Computer, ProcessName, FirstSeen, LastSeen, Events, Classes, Samples

Sigma

title: OpenBSD Kernel Fault or Heap Corruption on IPsec Host (Errata 003 AES-GMAC)
id: 7c1e4a90-4490-4b21-9a51-0d3f6e2a1b01
status: experimental
description: Detects kernel panic, uvm_fault or heap corruption messages in syslog from OpenBSD hosts, consistent with the remotely triggerable IPsec AES-GMAC kernel heap overflow fixed by errata 003_aesgmac (OpenBSD 8.0). Correlate with iked/isakmpd activity from the same host.
references:
    - https://www.openbsd.org/errata80.html
    - https://www.openbsd.org/80.html
    - https://ftp.openbsd.org/pub/OpenBSD/patches/8.0/common/003_aesgmac.patch.sig
author: Threadlinqs Team
date: 2026-10-26
tags:
    - attack.initial-access
    - attack.t1190
    - attack.impact
    - attack.t1499.004
    - attack.lateral-movement
    - attack.t1210
logsource:
    product: linux
    service: syslog
detection:
    selection_fault:
        - 'panic:'
        - 'uvm_fault'
        - 'trap type'
        - 'free list modified'
        - 'pool_do_get'
        - 'chunk canary'
    condition: selection_fault
falsepositives:
    - Hardware faults, failing RAM or unrelated driver bugs that panic the kernel
    - Intentional crash dumps during kernel debugging
level: medium

Known false positives:

  • Hardware faults or failing memory that panic the kernel
  • Unrelated kernel or driver bugs during upgrades to OpenBSD 8.0
  • Planned crash-dump testing on lab systems

Tuning notes: Panic text is usually only logged after reboot (console/serial capture, savecore, or syslog on restart); forward the serial console or /var/crash metadata to the SIEM. Restrict to hosts that use AES-GMAC (inventory iked.conf/ipsec.conf for aes-128-gmac, aes-192-gmac, aes-256-gmac) and that lack syspatch 003_aesgmac. Adjust index/sourcetype to your OpenBSD forwarding setup.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • httpd/relayd Rejecting Ambiguous HTTP Framing (CL.TE, Duplicate Content-Length, obs-fold) — Exploitation · unlock with TL Creds
  • PF Packet Filter Disabled or Flushed via pfctl — Post-Exploitation Defense Impairment · unlock with TL Creds
  • Repeated Network Daemon Crashes on OpenBSD (iked, httpd, relayd, nsd, dhcpd) — Denial of Service · unlock with TL Creds
  • libexpat 2.8.3 or Earlier Crash in Application (CVE-2026-66046/76641/76957) — Exploitation · unlock with TL Creds
  • System Log Deletion or Truncation Under /var/log — Post-Exploitation Cleanup · unlock with TL Creds
  • CRLF or Smuggling Header Sequences in Web Request URIs — Exploitation Probing · unlock with TL Creds
  • Unprivileged Packet-Capture Tool Loading BPF Filter File (libpcap CVE-2026-31912) — Post-Exploitation · unlock with TL Creds
  • iked Malformed or Out-of-State IKEv2 Message Burst From One Peer — Remote Service Exploitation · unlock with TL Creds

Indicators of compromise

As of 2026-10-26, Threadlinqs Intelligence tracks 7 indicators of compromise for TL-2026-4490.

7 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

OpenBSD 8.0, the 61st release, shipped on 2026-10-20 with a broad set of hardening changes and security fixes, and a patch-advisory-style set of errata published the same day.

Kernel / IPsec (Errata 003, 2026-10-20, patch 003_aesgmac.patch.sig): when IPsec is used with AES-GMAC, a kernel heap overflow can be triggered remotely. Only amd64 systems with AES-NI (sys/arch/amd64/amd64/aesni.c) and octeon systems with the crypto coprocessor (sys/arch/octeon/dev/octcrypto.c) are affected; AES-GCM is not. Per the patch, the driver sized its buffer from the encrypted-data length only, but wrote additional authenticated data (AAD, plus 4 bytes when ESN is used) into it; when AAD exceeds the data length the buffer is overrun. The fix allocates MAX(crd_len, aadlen). The errata page lists no CVE for this issue.

Packet filtering and network stack: PF fixes include an off-by-one in the DIOCIGETIFACES ioctl, rejection of un-terminated strings in pf(4) ioctls, an out-of-bounds read in pf_rule_copyin(), a NULL pointer dereference in outbound paths, a connection-counter race, and protection against crafted TCP reset packets disrupting connections. bpf(4) received hardening: detection of out-of-bounds reads from an int overflow in the bpf_mem backends, bpf_validate blocking of unhandled instructions, and program bound checks linked to libpcap CVE-2026-31912 (NVD: CVSS 3.1 5.5 MEDIUM, AV:L/PR:L, CWE-125/823/1285, libpcap before 1.10.7 BPF interpreter fails to detect the end of the filter program buffer or validate jump offsets).

Network daemons: httpd rejects ambiguous CL.TE framing (RFC 9112) and enforces a maximum body for chunked FastCGI requests; relayd rejects duplicate Content-Length and obs-fold headers; iked rejects malformed or out-of-state IKEv2 messages and adds bounds checks; isakmpd fixes a NULL dereference and validates DELETE payloads/proposal sizes; dhcpd and dhcpleased gain input validation against crashes and memory exhaustion via DHCPINFORM.

Third-party components: libexpat 2.8.4 addresses CVE-2026-66046 (quadratic complexity in storeAtts, CVSS 3.1 7.5, CWE-407), CVE-2026-76641 (out-of-bounds read via struct size mismatch with external entity parsers, CVSS 3.1 7.5, CWE-125) and CVE-2026-76957 (use-after-free from missing handler call depth tracking with custom encoding callbacks, CVSS 3.1 7.8, CWE-416). The release also carries Perl fixes (CVE-2026-57433, CVE-2026-57432, CVE-2026-13221), NSD fixes (CVE-2026-12244, -12245, -12246, -12490; errata 002), OpenSSH 10.6 and LibreSSL 4.4.0. Other errata: 001 PPP off-by-one (reliability), 004 video driver memory issues, 005 certificate database update (2026-10-23).

This is a patch advisory, not an active campaign. Systems are updated with syspatch (binary) or source patches on other architectures.

MITRE ATT&CK techniques by tactic:

Initial Access

T1190 Exploit Public-Facing Application

Impact

T1499.004 Application or System Exploitation

Remediation

Patches

  • OpenBSD 8.0 release (2026-10-20) with libexpat 2.8.4 and libpcap-linked bpf(4) bound checks
  • Errata 001_ppp, 002_nsd, 003_aesgmac, 004_video, 005_dbupdate
  • libpcap 1.10.7 or later for CVE-2026-31912 in other products

Immediate actions

  • Run syspatch on OpenBSD 8.0 to apply errata 001-005, in particular 003_aesgmac (IPsec AES-GMAC heap overflow) on amd64 with AES-NI and octeon
  • Until patched, avoid AES-GMAC in IPsec on affected hardware; AES-GCM is stated as unaffected

Workarounds

  • Restrict IPsec peers to trusted addresses via PF rules
  • Prefer AES-GCM over AES-GMAC for IPsec ESP

Longer-term hardening

  • Upgrade to OpenBSD 8.0 for PF, bpf(4), httpd, relayd, iked and DHCP hardening
  • Track OpenBSD errata page and subscribe to announce lists

Affected and fixed versions

  • OpenBSD — OpenBSD kernel IPsec AES-GMAC (amd64 AES-NI, octeon)
    Vulnerable versions: 8.0 before errata 003
    Fixed in: 8.0 with 003_aesgmac applied
  • The Tcpdump Group — libpcap BPF interpreter
    Vulnerable versions: before 1.10.7
    Fixed in: 1.10.7
  • libexpat — Expat XML parser
    Vulnerable versions: through 2.8.3
    Fixed in: 2.8.4

Timeline

  • CVE-2026-66046 (libexpat storeAtts quadratic complexity DoS) published in NVD
  • CVE-2026-76641 (out-of-bounds read) and CVE-2026-76957 (use-after-free) published in NVD; fixed in libexpat 2.8.4
  • CVE-2026-31912 (libpcap BPF interpreter bounds validation) published in NVD; fixed in libpcap 1.10.7
  • Errata 001-004 published, including 003_aesgmac for the remotely triggerable IPsec AES-GMAC kernel heap overflow
  • OpenBSD 8.0 released (61st release) with PF, bpf(4), httpd, relayd, iked and DHCP hardening and libexpat 2.8.4
  • Errata 005 (certificate database update) published
  • GBHackers reports on the release and critical errata; no exploitation or public PoC reported

Sources cited

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 11 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats