CVE Vulnerabilities

CVE-2025-52497

Off-by-one Error

Published: Jul 04, 2025 | Modified: Nov 03, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Mbed TLS before 3.6.4 has a PEM parsing one-byte heap-based buffer underflow, in mbedtls_pem_read_buffer and two mbedtls_pk_parse functions, via untrusted PEM input.

Weakness

A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Affected Software

NameVendorStart VersionEnd Version
Mbed_tlsArm*3.6.4 (excluding)
MbedtlsUbuntudevel*
MbedtlsUbuntuesm-apps/bionic*
MbedtlsUbuntuesm-apps/focal*
MbedtlsUbuntuesm-apps/jammy*
MbedtlsUbuntuesm-apps/noble*
MbedtlsUbuntuesm-apps/xenial*
MbedtlsUbuntujammy*
MbedtlsUbuntunoble*
MbedtlsUbuntuoracular*
MbedtlsUbuntuplucky*
MbedtlsUbuntuquesting*
MbedtlsUbuntuupstream*

Potential Mitigations

References