High
Security advisory
An issue found in libming v.0.4.8 allows a local attacker to execute arbitrary code via the parseSWF_IMPORTASSETS function in the parser.c file.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-31240
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:45 UTC · Revision 1
Source evidence
An issue found in libming v.0.4.8 allows a local attacker to execute arbitrary code via the parseSWF_IMPORTASSETS function in the parser.c file.
osv:CVE-2021-31240
Complete source record
{
"id": "f29e2696d109d7ffb4163756457c3cab3ae4c62263ac4c1c1f7ec1a909b36397",
"url": "https://osv.dev/vulnerability/CVE-2021-31240",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-31240",
"summary": "An issue found in libming v.0.4.8 allows a local attacker to execute arbitrary code via the parseSWF_IMPORTASSETS function in the parser.c file.",
"evidence": "osv:CVE-2021-31240",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-31240",
"aliases": [
"CVE-2021-31240"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libming/libming",
"type": "GIT",
"events": [
{
"introduced": "b72cc2fda0e8b3792b7b3f7361fc3f917f269433"
},
{
"last_affected": "b72cc2fda0e8b3792b7b3f7361fc3f917f269433"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libming:libming:0.4.8:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.4.8"
},
{
"last_affected": "0.4.8"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.4.8",
"ming-0_4_8"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31240.json"
}
}
],
"modified": "2026-10-20T10:54:39.615568441Z",
"provider": "osv",
"references": [
"https://github.com/libming/libming/issues/218"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-31240",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385820,
"published_at": "2023-05-09T16:15:14.147+00:00"
}