Security Advisory

CVE-2024-38373: FreeRTOS+TCP DNS Response Over-Read

Last updated:
  • CVE-2024-38373

CVE-2024-38373 is a buffer over-read in the DNS response parser of FreeRTOS-Plus-TCP, the TCP/IP stack used in FreeRTOS device firmware: a DNS response whose domain name length exceeds the real name makes the parser read past the response buffer. It affects versions 4.0.0 and 4.1.0 in applications that use DNS. NVD scores it 8.1; 4.1.1 fixes it.

Vulnerability summary

CVSS base score

8.1

High severity

EPSS score (FIRST)

0.6%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2024-38373 · Source: NVD

Affected components

ComponentCPEVersion range
FreeRTOS-Plus-TCP (DNS response parser)cpe:2.3:a:amazon:freertos-plus-tcp:*:*:*:*:*:*:*:*4.0.0 and 4.1.0; fixed in 4.1.1 (GHSA-ppcp-rg65-58mv)

What does this mean for affected devices?

The FreeRTOS-Plus-TCP security advisory GHSA-ppcp-rg65-58mv, published 2024-06-24, says versions 4.0.0 through 4.1.0 "contain a buffer over-read issue in the DNS Response Parser when parsing domain names in a DNS response". A crafted response "with domain name length value greater than the actual domain name length" makes the parser read beyond the DNS response buffer. The advisory limits the scope: it "affects applications using DNS functionality", and "applications that do not use DNS functionality are not affected, even when the DNS functionality is enabled". It lists 4.0.0 and 4.1.0 as the impacted versions and 4.1.1 as the fix.

NVD scores it 8.1, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H, with CWE-125 (out-of-bounds read), and its CPE range marks FreeRTOS-Plus-TCP from 4.0.0 to before 4.1.1 (NVD). GitHub, as CNA, scores it 9.6 with a changed scope and classes it as CWE-126 (buffer over-read). CISA's SSVC entry on the NVD record, dated 2024-07-05, rates exploitation "none", automatable "no" and technical impact "total".

The V4.1.1 release, dated 2024-06-13, says the fix ensures "the DNS Response Parser never attempts to read beyond the DNS response buffer boundary" and credits researchers from Purdue University. FreeRTOS+TCP is compiled into device firmware, often pinned by an MCU vendor's SDK, so the version that matters is the one in each product's build. No device vendor advisory naming affected products was found when this page was written; exposure follows from the FreeRTOS+TCP version and whether the application resolves hostnames.

The CVE is not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13). FIRST EPSS gives it 0.0062, the 50.0th percentile, in the 2026-11-16 dataset (CISA KEV, FIRST EPSS).

Device makers should read the FreeRTOS+TCP version from the SDK manifest or the library source, check whether the application calls the DNS API, and move to 4.1.1 or later. Because only 4.0.0 and 4.1.0 are affected, builds on the 3.x line or on 4.1.1 and later are outside this CVE, which is the case in the worked example of our embedded TCP/IP stack vulnerabilities guide; newer FreeRTOS+TCP advisories still apply to those builds. Our memory corruption fix guide covers the length checks such parsers need, and a DNS parsing flaw in another RTOS stack is the Zephyr name-parser overflow CVE-2026-1678.

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • Buffer over-read in DNS Response Parser in 4.0.0 through 4.1.0; domain name length greater than actual length; affects applications using DNS functionality only; fixed in 4.1.1; published 2024-06-24; GitHub CNA CVSS 9.6, CWE-126. — FreeRTOS-Plus-TCP GHSA-ppcp-rg65-58mv
  • NVD CVSS v3.1 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H), CWE-125; CPE 4.0.0 to before 4.1.1; CISA SSVC 2024-07-05: exploitation none, automatable no, technical impact total. — NVD
  • V4.1.1 released 2024-06-13; parser never reads beyond the DNS response buffer; credits Purdue University researchers. — FreeRTOS-Plus-TCP V4.1.1 release
  • Not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13). — CISA KEV
  • EPSS 0.0062 (50.0th percentile), dataset 2026-11-16, read 2026-11-16. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. FreeRTOS-Plus-TCP GHSA-ppcp-rg65-58mv: Buffer over-read in DNS response parser
  3. FreeRTOS-Plus-TCP V4.1.1 release
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Which FreeRTOS-Plus-TCP versions are affected by CVE-2024-38373?

Versions 4.0.0 and 4.1.0. The FreeRTOS-Plus-TCP advisory GHSA-ppcp-rg65-58mv lists those two as impacted and 4.1.1 as the fix, and NVD's CPE range is 4.0.0 to before 4.1.1.

Is my device affected if DNS is enabled but unused?

No, according to the advisory: it affects "applications using DNS functionality", and "applications that do not use DNS functionality are not affected, even when the DNS functionality is enabled". Record the configuration and the absence of DNS calls as evidence if you mark a build not affected.

Why do NVD and GitHub score CVE-2024-38373 differently?

NVD's own score is 8.1 with an unchanged scope. GitHub, as CNA, scored it 9.6 with a changed scope. Both vectors rate confidentiality and availability impact high and integrity impact none; this page uses NVD's score for the severity tile.

Is CVE-2024-38373 in the CISA KEV catalog?

No, it is not listed as of 2026-11-16 (catalog version 2026.11.13). FIRST EPSS gives it 0.0062, the 50.0th percentile, in the 2026-11-16 dataset, and CISA's SSVC entry from 2024-07-05 records exploitation as none.