{"id":"CVE-2025-11931","summary":"Integer Underflow Leads to Out-of-Bounds Access in XChaCha20-Poly1305 Decrypt","details":"Integer Underflow Leads to Out-of-Bounds Access in XChaCha20-Poly1305 Decrypt. This issue is hit specifically with a call to the function wc_XChaCha20Poly1305_Decrypt() which is not used with TLS connections, only from direct calls from an application.","modified":"2026-08-12T03:51:19.444836477Z","published":"2025-11-21T22:57:32.802Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/11xxx/CVE-2025-11931.json","cna_assigner":"wolfSSL","cwe_ids":["CWE-191"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/11xxx/CVE-2025-11931.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-11931"},{"type":"FIX","url":"https://github.com/wolfSSL/wolfssl/pull/9223"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wolfssl/wolfssl","events":[{"introduced":"59f4fa568615396fbf381b073b220d1e8d61e4c2"},{"fixed":"59f4fa568615396fbf381b073b220d1e8d61e4c2"}],"database_specific":{"cpe":"cpe:2.3:a:wolfssl:wolfssl:5.8.4:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"5.8.4"},{"introduced":"5.8.4"},{"last_affected":"5.8.4"}],"source":["AFFECTED_FIELD","CPE_STRING"]}}],"versions":["5.8.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-11931.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}]}