{"url":"http://public2.vulnerablecode.io/api/packages/94625?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.6-0.1","affected_by_vulnerabilities":[],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/119744?format=json","vulnerability_id":"VCID-q8z7-t6t1-aqef","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.0843","scoring_system":"epss","scoring_elements":"0.92523","published_at":"2026-06-11T12: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/94601?format=json","purl":"pkg:deb/debian/mbedtls@2.16.9-0.1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-45f9-4rpq-1yfj"},{"vulnerability":"VCID-78yd-h2fz-mkb2"},{"vulnerability":"VCID-8c82-yvk4-c7eq"},{"vulnerability":"VCID-9t8r-dmjv-7ubr"},{"vulnerability":"VCID-c5ta-sayw-23bt"},{"vulnerability":"VCID-gqaz-x3ta-cycm"},{"vulnerability":"VCID-jtjx-an1m-tbfr"},{"vulnerability":"VCID-k67t-rqgh-mqd9"},{"vulnerability":"VCID-mb55-kggd-pycw"},{"vulnerability":"VCID-met6-n3g2-7ffw"},{"vulnerability":"VCID-pv7u-gk42-e7h9"},{"vulnerability":"VCID-t6wm-8gyz-yuhj"},{"vulnerability":"VCID-tumu-jfkr-v3d2"},{"vulnerability":"VCID-tzuu-ccjr-8ue3"},{"vulnerability":"VCID-yyhp-6qj6-vbfw"}],"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/94625?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/94626?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/94603?format=json","purl":"pkg:deb/debian/mbedtls@3.6.5-0.1~deb13u1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-ca3a-4mx4-p3ar"},{"vulnerability":"VCID-hbsr-f774-yufv"},{"vulnerability":"VCID-jtjx-an1m-tbfr"},{"vulnerability":"VCID-k67t-rqgh-mqd9"},{"vulnerability":"VCID-met6-n3g2-7ffw"},{"vulnerability":"VCID-t6wm-8gyz-yuhj"},{"vulnerability":"VCID-ts8g-xyud-h3f4"},{"vulnerability":"VCID-tumu-jfkr-v3d2"},{"vulnerability":"VCID-ukcp-tv8q-5udx"},{"vulnerability":"VCID-yyhp-6qj6-vbfw"}],"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/94602?format=json","purl":"pkg:deb/debian/mbedtls@3.6.6-0.1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mbedtls@3.6.6-0.1%3Fdistro=trixie"}],"aliases":["CVE-2025-47917"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-q8z7-t6t1-aqef"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/mbedtls@2.16.9-0.1%252Bdeb11u3%3Fdistro=trixie"}