Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-20016
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:29 UTC · Revision 1
Source evidence
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.
osv:CVE-2019-20016
Complete source record
{
"id": "a11add11d4138095c0082bdb4128f63c48c45627b0fcfcd8cdd2384af879e462",
"url": "https://osv.dev/vulnerability/CVE-2019-20016",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-20016",
"summary": "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.",
"evidence": "osv:CVE-2019-20016",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-20016",
"aliases": [
"CVE-2019-20016"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/hoene/libmysofa",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f8762e95119973d2ff0949b4bcbffaa7aab3f328"
},
{
"fixed": "2e6fac6ab6156dae8e8c6f417741388084b70d6f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:symonics:libmysofa:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.9"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "2e6fac6ab6156dae8e8c6f417741388084b70d6f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.8",
"v0.7",
"v0.6",
"v0.5",
"v0.4(Windows)",
"v0.4",
"v0,.4",
"v0.2",
"v0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20016.json",
"vanir_signatures": [
{
"id": "CVE-2019-20016-1a562a31",
"digest": {
"length": 4271,
"function_hash": "22426894383875682064064341448174269836"
},
"source": "https://github.com/hoene/libmysofa/commit/2e6fac6ab6156dae8e8c6f417741388084b70d6f",
"target": {
"file": "src/hdf/fractalhead.c",
"function": "directblockRead"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2019-20016-396952ad",
"digest": {
"length": 661,
"function_hash": "220409858334768758030964991236568024685"
},
"source": "https://github.com/hoene/libmysofa/commit/2e6fac6ab6156dae8e8c6f417741388084b70d6f",
"target": {
"file": "src/hrtf/reader.c",
"function": "mysofa_load"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2019-20016-64116101",
"digest": {
"threshold": 0.9,
"line_hashes": [
"126920402152793972054346189018412031597",
"192349277455691798649695065491058276126",
"240342474809492929687205401559339442194",
"110450927489098810108528014416881043090"
]
},
"source": "https://github.com/hoene/libmysofa/commit/2e6fac6ab6156dae8e8c6f417741388084b70d6f",
"target": {
"file": "src/hdf/reader.h"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2019-20016-9180eedd",
"digest": {
"threshold": 0.9,
"line_hashes": [
"218483871317559296276866678091979471851",
"59116885264007309288058354283826321541",
"325474360844867093402785901074817917631",
"301834355421996408333369801449968838938"
]
},
"source": "https://github.com/hoene/libmysofa/commit/2e6fac6ab6156dae8e8c6f417741388084b70d6f",
"target": {
"file": "src/hrtf/reader.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2019-20016-96bcfeef",
"digest": {
"threshold": 0.9,
"line_hashes": [
"309421920668530166875275141915823296016",
"108586805816705787476392180996387578299",
"92938964960654865207554545102813539782",
"190014348197550664022981370389235665492",
"195270836730953688632176371217196646522",
"86500040936225443048492081479754717538",
"295942992743340884871023245474831205552",
"222147066808922266623752909979925333999",
"99210129838139037229072738950565222511",
"200078829488792878604784776002487678681",
"54120965833940361139325454686524056353"
]
},
"source": "https://github.com/hoene/libmysofa/commit/2e6fac6ab6156dae8e8c6f417741388084b70d6f",
"target": {
"file": "src/hdf/fractalhead.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:42:11Z"
}
}
],
"modified": "2026-10-20T13:42:11.369584214Z",
"provider": "osv",
"references": [
"https://github.com/hoene/libmysofa/commit/2e6fac6ab6156dae8e8c6f417741388084b70d6f",
"https://github.com/hoene/libmysofa/issues/83",
"https://github.com/hoene/libmysofa/issues/84"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-20016",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387972,
"published_at": "2019-12-27T02:15:10.467+00:00"
}