CVE-2026-141470

Description

A flaw was found in Mongoose. A remote attacker can cause a denial of service (DoS) by sending specially crafted IPv6 (Internet Protocol version 6) network packets to an affected system. When both IPv4 and IPv6 networking features are enabled, an incoming IPv6 packet matching an active IPv4 connection triggers a cross-protocol lookup error. This leads to a null pointer dereference (an unallocated memory access error) and crashes the application process.

Statement

Red Hat Product Security has rated this issue as having a Moderate impact because exploitation is constrained to a denial of service condition and requires specific concurrent IPv4 and IPv6 packet state matching without granting unauthorized access or privilege escalation. The vulnerability arises when processing cross-family TCP packets within Mongoose's custom embedded networking stack. Standard Red Hat Enterprise Linux deployments rely on the host Linux kernel TCP/IP stack rather than Mongoose's built-in networking code, significantly limiting exposure in typical production environments.

Mitigation

To reduce exposure to this vulnerability, restrict or block incoming IPv6 network traffic to the service port using firewalld if IPv6 connectivity is not required for application operations.

For example, to drop incoming IPv6 traffic on a specific service port:

# firewall-cmd --permanent --add-rich-rule='rule family="ipv6" port port="8080" protocol="tcp" drop'
# firewall-cmd --reload

Caveats: Blocking IPv6 traffic will prevent legitimate IPv6 clients from establishing connections with the service.

Warning: Reloading firewall configurations will briefly disturb active network connections.

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart

NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation.

Integrity,Confidentiality

Technical Impact: Execute Unauthorized Code or Commands; Read Memory; Modify Memory

In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.

Frequently Asked Questions

Want to get errata notifications? Sign up here.