Back

CRITICAL

libntlm: stack-based buffer overflow in buildSmbNtlmAuthRequest in smbutil.c

Published Oct 10, 2019

Description

Libntlm through 1.5 relies on a fixed buffer size for tSmbNtlmAuthRequest, tSmbNtlmAuthChallenge, and tSmbNtlmAuthResponse read and write operations, as demonstrated by a stack-based buffer over-read in buildSmbNtlmAuthRequest in smbutil.c for a crafted NTLM request.

Affected products

Remediation

Red Hat statement

The vulnerability is rated Medium because no package in Red Hat Enterprise Linux versions 6 and 7 is using Libntlm. Most 3rd party applications using Libntlm are command line clients and would be affected via a command line option or a configuration file, which are local vectors.

Red Hat mitigation

The calling application must verify that the input username and domain fit in the 1024 byte buffer.

Metrics

References (14)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Oct 10, 2019
Updated Aug 5, 2024
Reserved Oct 10, 2019
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Moderate
Public date Oct 8, 2019