# CVE-2019-20016: libmysofa before 2019-11-24 does not properly restrict recursive function calls, as demonstrated by reports of stack consumption in readOHD…

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.95%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2019-12-27T01:12:25.000Z
- Modified: 2026-06-17T02:29:50.850Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

libmysofa before 2019-11-24 does not properly restrict recursive function calls, as demonstrated by reports of stack consumption in readOHDRHeaderMessageDatatype in dataobject.c and directblockRead in fractalhead.c. NOTE: a download of v0.9 after 2019-12-06 should fully remediate this issue.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- symonics libmysofa: before 0.9

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/hoene/libmysofa/issues/83> (exploit, third-party-advisory)
- <https://github.com/hoene/libmysofa/issues/84> (exploit, third-party-advisory)
- <https://github.com/hoene/libmysofa/commit/2e6fac6ab6156dae8e8c6f417741388084b70d6f> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2019-20016](https://www.cve.org/CVERecord?id=CVE-2019-20016), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-20016](https://nvd.nist.gov/vuln/detail/CVE-2019-20016), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-20016 · Whole record: https://cve.day/CVE-2019-20016.json · Rebuilt by cve.day 2026-11-25T22:57:49.063Z
