SecurityContext

CVE-2025-68474: Espressif ESP-IDF - Buffer Overflow

  • Cve: CVE-2025-68474
  • Name: Espressif ESP-IDF - Buffer Overflow
  • Description: ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.5.1, 5.4.3, 5.3.4, 5.2.6, 5.1.6, and earlier, in the avrc_vendor_msg() function of the ESP-IDF BlueDroid AVRCP stack, the allocated buffer size was validated using AVRC_MIN_CMD_LEN (20 bytes). However, the actual fixed header data written before the vendor payload exceeds this value. This totals 29 bytes written before p_msg->p_vendor_data is copied. Using the old AVRC_MIN_CMD_LEN could allow an out-of-bounds write if vendor_len approaches the buffer limit. For commands where vendor_len is large, the original buffer allocation may be insufficient, causing writes beyond the allocated memory. This can lead to memory corruption, crashes, or other undefined behavior. The overflow could be larger when assertions are disabled.
  • Impact: Attackers can cause memory corruption or crashes, potentially leading to denial of service or undefined behavior.
  • Remediation: Update to a version later than 5.5.1 or the latest available version.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.6
  • Cvss vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
  • Epss score: 0.00316
  • Epss percentile: 0.24921
  • Assignee: [email protected]
  • Published at: 2025-12-27T00:15:42Z
  • Age in days: 332
  • Modified at: 2026-10-07T13:10:00Z
  • Patch available: yes
  • References total: 7
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-68474
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/espressif/esp-idf/commit/0b0b59f2e19cb99dfa1b28c284d1c5c1d276a132Patch
https://github.com/espressif/esp-idf/commit/565fa98d0cfd58102204c1cb636747e17ee59845Patch
https://github.com/espressif/esp-idf/commit/8262ee807d5cd425f66304f703eeb3382fb888c0Patch
https://github.com/espressif/esp-idf/commit/a6c1bc5e3e91ad1cb964ce2c178ee40a5d10a4a0Patch
https://github.com/espressif/esp-idf/commit/aa0e3d75db995b7137b55349fc92ee684b47092dPatch
https://github.com/espressif/esp-idf/commit/b9ba1e29b65536ab4b670ac099585d09adce0376Patch
https://github.com/espressif/esp-idf/security/advisories/GHSA-43gh-7r4f-qp57Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
espressif:esp-idf= 5.5.1, = 5.4.3, = 5.3.4, = 5.2.6, = 5.1.6nonvd/v1/products/espressif/esp-idf

Projects

RepositoryLink kindsIndexedUrl
espressif/esp-idfcommit, fix, security_advisoryyes/v1/repositories/espressif/esp-idf

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts