{"url":"http://public2.vulnerablecode.io/api/packages/930565?format=json","purl":"pkg:deb/debian/mbedtls@2.16.9-0.1%2Bdeb11u3?distro=trixie","type":"deb","namespace":"debian","name":"mbedtls","version":"2.16.9-0.1+deb11u3","qualifiers":{"distro":"trixie"},"subpath":"","is_vulnerable":false,"next_non_vulnerable_version":"2.16.9-0.1+deb11u4","latest_non_vulnerable_version":"3.6.4-1","affected_by_vulnerabilities":[],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/96725?format=json","vulnerability_id":"VCID-98cg-wuhp-qudq","summary":"Mbed TLS before 3.6.4 allows a use-after-free in certain situations of applications that are developed in accordance with the documentation. The function mbedtls_x509_string_to_names() takes a head argument that is documented as an output argument. The documentation does not suggest that the function will free that pointer; however, the function does call mbedtls_asn1_free_named_data_list() on that argument, which performs a deep free(). As a result, application code that uses this function (relying only on documented behavior) is likely to still hold pointers to the memory blocks that were freed, resulting in a high risk of use-after-free or double-free. In particular, the two sample programs x509/cert_write and x509/cert_req are affected (use-after-free if the san string contains more than one DN).","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2025-47917","reference_id":"","reference_type":"","scores":[{"value":"0.0361","scoring_system":"epss","scoring_elements":"0.87753","published_at":"2026-04-04T12:55:00Z"},{"value":"0.0361","scoring_system":"epss","scoring_elements":"0.87739","published_at":"2026-04-02T12:55:00Z"},{"value":"0.04351","scoring_system":"epss","scoring_elements":"0.88987","published_at":"2026-05-05T12:55:00Z"},{"value":"0.04351","scoring_system":"epss","scoring_elements":"0.88961","published_at":"2026-04-16T12:55:00Z"},{"value":"0.04351","scoring_system":"epss","scoring_elements":"0.88959","published_at":"2026-04-18T12:55:00Z"},{"value":"0.04351","scoring_system":"epss","scoring_elements":"0.88972","published_at":"2026-04-24T12:55:00Z"},{"value":"0.04351","scoring_system":"epss","scoring_elements":"0.8898","published_at":"2026-04-29T12:55:00Z"},{"value":"0.04351","scoring_system":"epss","scoring_elements":"0.8892","published_at":"2026-04-07T12:55:00Z"},{"value":"0.04351","scoring_system":"epss","scoring_elements":"0.88938","published_at":"2026-04-08T12:55:00Z"},{"value":"0.04351","scoring_system":"epss","scoring_elements":"0.88943","published_at":"2026-04-09T12:55:00Z"},{"value":"0.04351","scoring_system":"epss","scoring_elements":"0.88955","published_at":"2026-04-21T12:55:00Z"},{"value":"0.04351","scoring_system":"epss","scoring_elements":"0.88949","published_at":"2026-04-12T12:55:00Z"},{"value":"0.04351","scoring_system":"epss","scoring_elements":"0.88948","published_at":"2026-04-13T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-47917"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-47917","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-47917"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108791","reference_id":"1108791","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108791"},{"reference_url":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/local/52427.c","reference_id":"CVE-2025-47917","reference_type":"exploit","scores":[],"url":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/local/52427.c"},{"reference_url":"https://github.com/Mbed-TLS/mbedtls-docs/blob/main/security-advisories/mbedtls-security-advisory-2025-06-7.md","reference_id":"mbedtls-security-advisory-2025-06-7.md","reference_type":"","scores":[{"value":"8.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-07-22T14:22:32Z/"}],"url":"https://github.com/Mbed-TLS/mbedtls-docs/blob/main/security-advisories/mbedtls-security-advisory-2025-06-7.md"},{"reference_url":"https://mbed-tls.readthedocs.io/en/latest/tech-updates/security-advisories/","reference_id":"security-advisories","reference_type":"","scores":[{"value":"8.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-07-22T14:22:32Z/"}],"url":"https://mbed-tls.readthedocs.io/en/latest/tech-updates/security-advisories/"},{"reference_url":"https://usn.ubuntu.com/8123-1/","reference_id":"USN-8123-1","reference_type":"","scores":[],"url":"https://usn.ubuntu.com/8123-1/"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/930542?format=json","purl":"pkg:deb/debian/mbedtls@2.16.9-0.1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-5bxk-rknm-zfhc"},{"vulnerability":"VCID-f1fz-b8b6-dfb8"},{"vulnerability":"VCID-gvkn-6e2m-dyez"},{"vulnerability":"VCID-k8w1-nrjy-wfbe"},{"vulnerability":"VCID-kchn-2wez-bbb2"},{"vulnerability":"VCID-pj6w-rufw-nqgd"},{"vulnerability":"VCID-vp4q-81cq-33cw"},{"vulnerability":"VCID-vs6q-c4ug-xfer"},{"vulnerability":"VCID-wsvw-6tmk-3kdj"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mbedtls@2.16.9-0.1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/930565?format=json","purl":"pkg:deb/debian/mbedtls@2.16.9-0.1%2Bdeb11u3?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mbedtls@2.16.9-0.1%252Bdeb11u3%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/930566?format=json","purl":"pkg:deb/debian/mbedtls@3.6.4-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mbedtls@3.6.4-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/930544?format=json","purl":"pkg:deb/debian/mbedtls@3.6.5-0.1~deb13u1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4sbv-dqyv-6baw"},{"vulnerability":"VCID-jeen-6u3v-8qab"},{"vulnerability":"VCID-ph4w-4hud-mkck"},{"vulnerability":"VCID-x8et-cun9-6kgz"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mbedtls@3.6.5-0.1~deb13u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/930543?format=json","purl":"pkg:deb/debian/mbedtls@3.6.5-0.1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4sbv-dqyv-6baw"},{"vulnerability":"VCID-jeen-6u3v-8qab"},{"vulnerability":"VCID-ph4w-4hud-mkck"},{"vulnerability":"VCID-x8et-cun9-6kgz"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mbedtls@3.6.5-0.1%3Fdistro=trixie"}],"aliases":["CVE-2025-47917"],"risk_score":10.0,"exploitability":"2.0","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-98cg-wuhp-qudq"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mbedtls@2.16.9-0.1%252Bdeb11u3%3Fdistro=trixie"}