Description
The RTSP handler in libalias rewrote outgoing packets into a fixed-length stack buffer without checking whether the rewritten data fit in the buffer, or whether the result fit back in the original packet.

A host sending crafted RTSP traffic from inside a NAT gateway using libalias can overflow a stack buffer, potentially achieving remote code execution in the kernel (when using ipfw(4) NAT) or in the natd(8) process (which generally runs as the root user).
Published: 2026-08-19
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability arises from a buffer overflow in the RTSP handler of the libalias library. The handler writes outgoing packets into a fixed‑length stack buffer without validating the size, allowing an attacker to overflow the buffer and potentially gain remote control of the system. Depending on the environment, the overflow may target the FreeBSD kernel when ipfw NAT is in use or the natd daemon, both of which typically run with elevated privileges.

Affected Systems

The affected product is the FreeBSD operating system when the libalias library is used for RTSP handling. No specific release or version is listed in the advisory, so any FreeBSD installation that incorporates libalias and has ipfw NAT or the natd service enabled could be vulnerable.

Risk and Exploitability

Because the flaw can be triggered by crafted RTSP traffic sent from within a NAT gateway, an internal network actor may exploit it without needing external network reach. The EPSS score is not available and the vulnerability is not currently catalogued in the CISA KEV list, but the potential for kernel or root‑level code execution gives this issue a high risk assessment. No public exploit is announced, yet the lack of input validation suggests that exploitation could be automated if the attacker can reach the vulnerable host over RTSP.

Generated by OpenCVE AI on August 19, 2026 at 06:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update FreeBSD to the latest release that includes the libalias patch as described in the FreeBSD-SA‑26:41.libalias advisory.
  • If an update is not immediately possible, disable the libalias RTSP handler or temporarily turn off the natd service and/or ipfw NAT to prevent the overflow from being exercised.
  • Apply network segmentation or firewall rules to block or restrict RTSP traffic from internal hosts to the NAT gateway or to the affected services.

Generated by OpenCVE AI on August 19, 2026 at 06:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 05:45:00 +0000

Type Values Removed Values Added
Description The RTSP handler in libalias rewrote outgoing packets into a fixed-length stack buffer without checking whether the rewritten data fit in the buffer, or whether the result fit back in the original packet. A host sending crafted RTSP traffic from inside a NAT gateway using libalias can overflow a stack buffer, potentially achieving remote code execution in the kernel (when using ipfw(4) NAT) or in the natd(8) process (which generally runs as the root user).
Title Buffer overflow in libalias RTSP handler
Weaknesses CWE-121
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: freebsd

Published:

Updated: 2026-08-19T05:20:00.559Z

Reserved: 2026-05-29T20:24:28.616Z

Link: CVE-2026-49420

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-19T06:17:40.790

Modified: 2026-08-19T06:17:40.790

Link: CVE-2026-49420

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-19T06:30:05Z

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow