<Vulnerability name="CVE-2026-115489">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Moderate</ThreatSeverity>
    <PublicDate>2026-12-03T10:33:34</PublicDate>
    <Bugzilla id="2590058" url="https://bugzilla.redhat.com/show_bug.cgi?id=2590058" xml:lang="en:us">
mbedtls: mbedtls: Information disclosure via improper output null termination in mbedtls_x509_dn_gets()
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>6.5</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-170</CWE>
    <Details xml:lang="en:us" source="Mitre">
Non-null-terminated output from `mbedtls_x509_dn_gets()`
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in mbedtls. When formatting X.509 Distinguished Name (DN) data using the `mbedtls_x509_dn_gets()` function, the output string may not be properly null-terminated. An attacker could exploit this flaw to trigger out-of-bounds memory reads, potentially leading to information disclosure or a Denial of Service (DoS).
    </Details>
    <Statement xml:lang="en:us">
This vulnerability is rated as Moderate severity because improper null termination during X.509 certificate parsing in Mbed TLS leads to restricted out-of-bounds memory access. Successful exploitation requires an application to parse malformed Distinguished Name attributes, which could cause process termination or minor data leakage without enabling arbitrary code execution or privilege escalation. The risk is limited to environments running applications that process untrusted certificates using Mbed TLS.
    </Statement>
    <Mitigation xml:lang="en:us">
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    </Mitigation>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-115489
https://nvd.nist.gov/vuln/detail/CVE-2026-115489
https://github.com/Mbed-TLS/mbedtls
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-11-mbedtls_x509_dn_gets-empty-sequence/
    </References>
</Vulnerability>