CVE-2026-45160 (GCVE-0-2026-45160)

Vulnerability from cvelistv5 – Published: 2026-06-10 00:26 – Updated: 2026-06-10 15:10
VLAI
Title
ESF-IDF: Out-of-bounds Read in lwIP DHCP Server Option Parser
Summary
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.2.7, 5.3.5, 5.4.4, 5.5.4, and 6.0.1, an out-of-bounds read flaw exists in the DHCP server option parser (parse_options() in components/lwip/apps/dhcpserver/dhcpserver.c) shipped with ESP-IDF's lwIP component. The parser walks the BOOTP/DHCP options field without validating that each option's length byte and declared payload length stay within the received packet buffer. A crafted DHCP request can cause the parser to read past the end of the options buffer into adjacent heap memory. The issue affects the DHCP server used by ESP-IDF's SoftAP and any configuration where the device runs as a DHCP server on a local network. This issue has been patched in versions 5.2.8, 5.3.6, 5.4.5, 5.5.5, and 6.0.2.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator (v2.0.3)
CWE
Assigner
Impacted products
Vendor Product Version
espressif esp-idf Affected: = 5.2.7
Affected: = 5.3.5
Affected: = 5.4.4
Affected: = 5.5.4
Affected: = 6.0.1
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-45160",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-06-10T15:04:44.784146Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-06-10T15:10:05.993Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "esp-idf",
          "vendor": "espressif",
          "versions": [
            {
              "status": "affected",
              "version": "= 5.2.7"
            },
            {
              "status": "affected",
              "version": "= 5.3.5"
            },
            {
              "status": "affected",
              "version": "= 5.4.4"
            },
            {
              "status": "affected",
              "version": "= 5.5.4"
            },
            {
              "status": "affected",
              "version": "= 6.0.1"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.2.7, 5.3.5, 5.4.4, 5.5.4, and 6.0.1, an out-of-bounds read flaw exists in the DHCP server option parser (parse_options() in components/lwip/apps/dhcpserver/dhcpserver.c) shipped with ESP-IDF\u0027s lwIP component. The parser walks the BOOTP/DHCP options field without validating that each option\u0027s length byte and declared payload length stay within the received packet buffer. A crafted DHCP request can cause the parser to read past the end of the options buffer into adjacent heap memory. The issue affects the DHCP server used by ESP-IDF\u0027s SoftAP and any configuration where the device runs as a DHCP server on a local network. This issue has been patched in versions 5.2.8, 5.3.6, 5.4.5, 5.5.5, and 6.0.2."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "ADJACENT_NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-125",
              "description": "CWE-125: Out-of-bounds Read",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-10T00:26:34.381Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/espressif/esp-idf/security/advisories/GHSA-g764-gwc3-75m5",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/espressif/esp-idf/security/advisories/GHSA-g764-gwc3-75m5"
        },
        {
          "name": "https://github.com/espressif/esp-idf/commit/2bf4dd12002dbae60a4b21abff010ecb2b8ee82b",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/espressif/esp-idf/commit/2bf4dd12002dbae60a4b21abff010ecb2b8ee82b"
        },
        {
          "name": "https://github.com/espressif/esp-idf/commit/2da2db43fd7e0bcff9e7b95f54f388296bb6f911",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/espressif/esp-idf/commit/2da2db43fd7e0bcff9e7b95f54f388296bb6f911"
        },
        {
          "name": "https://github.com/espressif/esp-idf/commit/8b4b5d5301815198d177974ffc24848f47748248",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/espressif/esp-idf/commit/8b4b5d5301815198d177974ffc24848f47748248"
        },
        {
          "name": "https://github.com/espressif/esp-idf/commit/9f713dbc94982d917f2d12964b233cd9efa4aeba",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/espressif/esp-idf/commit/9f713dbc94982d917f2d12964b233cd9efa4aeba"
        },
        {
          "name": "https://github.com/espressif/esp-idf/commit/d51b1076092487e533eadf8b48c9c8579d3a6712",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/espressif/esp-idf/commit/d51b1076092487e533eadf8b48c9c8579d3a6712"
        },
        {
          "name": "https://github.com/espressif/esp-idf/commit/fba5f995436a3e3139f768b6d8f1a74d5ce1d318",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/espressif/esp-idf/commit/fba5f995436a3e3139f768b6d8f1a74d5ce1d318"
        }
      ],
      "source": {
        "advisory": "GHSA-g764-gwc3-75m5",
        "discovery": "UNKNOWN"
      },
      "title": "ESF-IDF: Out-of-bounds Read in lwIP DHCP Server Option Parser"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-45160",
    "datePublished": "2026-06-10T00:26:34.381Z",
    "dateReserved": "2026-05-08T20:44:38.965Z",
    "dateUpdated": "2026-06-10T15:10:05.993Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-45160",
      "date": "2026-07-31",
      "epss": "0.00246",
      "percentile": "0.16017"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-45160\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2026-06-10T02:16:32.520\",\"lastModified\":\"2026-07-23T09:10:00.113\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.2.7, 5.3.5, 5.4.4, 5.5.4, and 6.0.1, an out-of-bounds read flaw exists in the DHCP server option parser (parse_options() in components/lwip/apps/dhcpserver/dhcpserver.c) shipped with ESP-IDF\u0027s lwIP component. The parser walks the BOOTP/DHCP options field without validating that each option\u0027s length byte and declared payload length stay within the received packet buffer. A crafted DHCP request can cause the parser to read past the end of the options buffer into adjacent heap memory. The issue affects the DHCP server used by ESP-IDF\u0027s SoftAP and any configuration where the device runs as a DHCP server on a local network. This issue has been patched in versions 5.2.8, 5.3.6, 5.4.5, 5.5.5, and 6.0.2.\"},{\"lang\":\"es\",\"value\":\"ESF-IDF es el Framework de Desarrollo de Internet de las Cosas (IoT) de Espressif. En las versiones 5.2.7, 5.3.5, 5.4.4, 5.5.4 y 6.0.1, existe una falla de lectura fuera de l\u00edmites en el analizador de opciones del servidor DHCP (parse_options() en components/lwip/apps/dhcpserver/dhcpserver.c) que se incluye con el componente lwIP de ESP-IDF. El analizador recorre el campo de opciones BOOTP/DHCP sin validar que el byte de longitud de cada opci\u00f3n y la longitud de carga \u00fatil declarada permanezcan dentro del b\u00fafer del paquete recibido. Una solicitud DHCP manipulada puede hacer que el analizador lea m\u00e1s all\u00e1 del final del b\u00fafer de opciones hacia la memoria heap adyacente. El problema afecta al servidor DHCP utilizado por el SoftAP de ESP-IDF y a cualquier configuraci\u00f3n donde el dispositivo funcione como un servidor DHCP en una red local. Este problema ha sido parcheado en las versiones 5.2.8, 5.3.6, 5.4.5, 5.5.5 y 6.0.2.\"}],\"affected\":[{\"source\":\"security-advisories@github.com\",\"affectedData\":[{\"vendor\":\"espressif\",\"product\":\"esp-idf\",\"versions\":[{\"version\":\"= 5.2.7\",\"status\":\"affected\"},{\"version\":\"= 5.3.5\",\"status\":\"affected\"},{\"version\":\"= 5.4.4\",\"status\":\"affected\"},{\"version\":\"= 5.5.4\",\"status\":\"affected\"},{\"version\":\"= 6.0.1\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":6.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"ADJACENT_NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.8,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-06-10T15:04:44.784146Z\",\"id\":\"CVE-2026-45160\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-125\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:espressif:esp-idf:5.2.7:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C20A5F4F-DC6E-4A95-AC9A-D7AAB279BD05\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:espressif:esp-idf:5.3.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"662FF5D0-F1CA-46B6-B574-46B2B1AE0C27\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:espressif:esp-idf:5.4.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"AFFE1121-2E19-45C4-A597-35E029748C99\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:espressif:esp-idf:5.5.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"2D53A845-578D-4153-BE97-B24E4B75F3BE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:espressif:esp-idf:6.0.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"F4E56C40-DD0B-4604-BFC4-B69932102DA5\"}]}]}],\"references\":[{\"url\":\"https://github.com/espressif/esp-idf/commit/2bf4dd12002dbae60a4b21abff010ecb2b8ee82b\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/espressif/esp-idf/commit/2da2db43fd7e0bcff9e7b95f54f388296bb6f911\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/espressif/esp-idf/commit/8b4b5d5301815198d177974ffc24848f47748248\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/espressif/esp-idf/commit/9f713dbc94982d917f2d12964b233cd9efa4aeba\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/espressif/esp-idf/commit/d51b1076092487e533eadf8b48c9c8579d3a6712\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/espressif/esp-idf/commit/fba5f995436a3e3139f768b6d8f1a74d5ce1d318\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Patch\"]},{\"url\":\"https://github.com/espressif/esp-idf/security/advisories/GHSA-g764-gwc3-75m5\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Mitigation\",\"Patch\",\"Vendor Advisory\"]}]}}",
    "redhat_vex": {
      "current_release_date": "2026-06-11T02:59:20+00:00",
      "cve": "CVE-2026-45160",
      "id": "CVE-2026-45160",
      "initial_release_date": "2026-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "ESF-IDF: Out-of-bounds Read in lwIP DHCP Server Option Parser",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45160.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-45160\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-06-10T15:04:44.784146Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-06-10T15:09:58.980Z\"}}], \"cna\": {\"title\": \"ESF-IDF: Out-of-bounds Read in lwIP DHCP Server Option Parser\", \"source\": {\"advisory\": \"GHSA-g764-gwc3-75m5\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 6.5, \"attackVector\": \"ADJACENT_NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"NONE\"}}], \"affected\": [{\"vendor\": \"espressif\", \"product\": \"esp-idf\", \"versions\": [{\"status\": \"affected\", \"version\": \"= 5.2.7\"}, {\"status\": \"affected\", \"version\": \"= 5.3.5\"}, {\"status\": \"affected\", \"version\": \"= 5.4.4\"}, {\"status\": \"affected\", \"version\": \"= 5.5.4\"}, {\"status\": \"affected\", \"version\": \"= 6.0.1\"}]}], \"references\": [{\"url\": \"https://github.com/espressif/esp-idf/security/advisories/GHSA-g764-gwc3-75m5\", \"name\": \"https://github.com/espressif/esp-idf/security/advisories/GHSA-g764-gwc3-75m5\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/espressif/esp-idf/commit/2bf4dd12002dbae60a4b21abff010ecb2b8ee82b\", \"name\": \"https://github.com/espressif/esp-idf/commit/2bf4dd12002dbae60a4b21abff010ecb2b8ee82b\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/espressif/esp-idf/commit/2da2db43fd7e0bcff9e7b95f54f388296bb6f911\", \"name\": \"https://github.com/espressif/esp-idf/commit/2da2db43fd7e0bcff9e7b95f54f388296bb6f911\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/espressif/esp-idf/commit/8b4b5d5301815198d177974ffc24848f47748248\", \"name\": \"https://github.com/espressif/esp-idf/commit/8b4b5d5301815198d177974ffc24848f47748248\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/espressif/esp-idf/commit/9f713dbc94982d917f2d12964b233cd9efa4aeba\", \"name\": \"https://github.com/espressif/esp-idf/commit/9f713dbc94982d917f2d12964b233cd9efa4aeba\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/espressif/esp-idf/commit/d51b1076092487e533eadf8b48c9c8579d3a6712\", \"name\": \"https://github.com/espressif/esp-idf/commit/d51b1076092487e533eadf8b48c9c8579d3a6712\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/espressif/esp-idf/commit/fba5f995436a3e3139f768b6d8f1a74d5ce1d318\", \"name\": \"https://github.com/espressif/esp-idf/commit/fba5f995436a3e3139f768b6d8f1a74d5ce1d318\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.2.7, 5.3.5, 5.4.4, 5.5.4, and 6.0.1, an out-of-bounds read flaw exists in the DHCP server option parser (parse_options() in components/lwip/apps/dhcpserver/dhcpserver.c) shipped with ESP-IDF\u0027s lwIP component. The parser walks the BOOTP/DHCP options field without validating that each option\u0027s length byte and declared payload length stay within the received packet buffer. A crafted DHCP request can cause the parser to read past the end of the options buffer into adjacent heap memory. The issue affects the DHCP server used by ESP-IDF\u0027s SoftAP and any configuration where the device runs as a DHCP server on a local network. This issue has been patched in versions 5.2.8, 5.3.6, 5.4.5, 5.5.5, and 6.0.2.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-125\", \"description\": \"CWE-125: Out-of-bounds Read\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-06-10T00:26:34.381Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-45160\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-06-10T15:10:05.993Z\", \"dateReserved\": \"2026-05-08T20:44:38.965Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2026-06-10T00:26:34.381Z\", \"assignerShortName\": \"GitHub_M\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…