High
Security advisory
The upnp_event_prepare function in upnpevents.c in MiniUPnP MiniUPnPd through 2.1 allows a remote attacker to leak information from the heap due to improper validation of an snprintf return value.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-12107
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:17 UTC · Revision 1
Source evidence
The upnp_event_prepare function in upnpevents.c in MiniUPnP MiniUPnPd through 2.1 allows a remote attacker to leak information from the heap due to improper validation of an snprintf return value.
osv:CVE-2019-12107
Complete source record
{
"id": "376329a47b56a3a22cd922b89ae2c941ac066710fffa2cc643c2859386382d5e",
"url": "https://osv.dev/vulnerability/CVE-2019-12107",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-12107",
"summary": "The upnp_event_prepare function in upnpevents.c in MiniUPnP MiniUPnPd through 2.1 allows a remote attacker to leak information from the heap due to improper validation of an snprintf return value.",
"evidence": "osv:CVE-2019-12107",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-12107",
"aliases": [
"CVE-2019-12107"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/miniupnp/miniupnp",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "582375b64f347d6ef1a4dc3478ff3678ea923f80"
},
{
"fixed": "bec6ccec63cadc95655721bc0e1dd49dac759d94"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:miniupnp.free:miniupnpd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "bec6ccec63cadc95655721bc0e1dd49dac759d94"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"miniupnpd_2_1",
"miniupnpc_2_1",
"minissdpd_1_4",
"miniupnpc_1_9",
"miniupnpd_1_8",
"miniupnpc_1_8",
"miniupnpd_1_7",
"minissdpd_1_2",
"miniupnpc_1_7"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12107.json",
"vanir_signatures": [
{
"id": "CVE-2019-12107-42d7d78d",
"digest": {
"length": 1508,
"function_hash": "195679768704586215033078307573186238936"
},
"source": "https://github.com/miniupnp/miniupnp/commit/bec6ccec63cadc95655721bc0e1dd49dac759d94",
"target": {
"file": "miniupnpd/upnpevents.c",
"function": "upnp_event_prepare"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2019-12107-a5248e92",
"digest": {
"threshold": 0.9,
"line_hashes": [
"31829152111797825752361440611653672070",
"284513230929457560699859306313400890858",
"136919503779593078372569521745139641541",
"99685459232863163817127490133231909025",
"116712342579002471287631504796548362066",
"262273617044590758602506530763631952550",
"33219058818071785548471089399129013458",
"299211648667557767368658636759393381547",
"282102314380628232753679378713167776448",
"62681865327836303194440910103624284005",
"193863581451124486325341812480459615032",
"308586944826040207057606190186882127775",
"292338810521778515172698147174140115133",
"26681558393830868089046736420639820122",
"189813870036684337725930423983297212992",
"139480626637839776444691529098610859545"
]
},
"source": "https://github.com/miniupnp/miniupnp/commit/bec6ccec63cadc95655721bc0e1dd49dac759d94",
"target": {
"file": "miniupnpd/upnpevents.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:27:18Z"
}
}
],
"modified": "2026-10-20T13:27:18.499536581Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2019/05/msg00045.html",
"https://usn.ubuntu.com/4542-1/",
"https://github.com/miniupnp/miniupnp/commit/bec6ccec63cadc95655721bc0e1dd49dac759d94",
"https://www.vdoo.com/blog/security-issues-discovered-in-miniupnp"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-12107",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387700,
"published_at": "2019-05-15T23:29:00.51+00:00"
}