High
Security advisory
A stack buffer overflow exists in Mini-XML v3.2. When inputting an unformed XML string to the mxmlLoadString API, it will cause a stack-buffer-overflow in mxml_string_getc:2611. NOTE: it is unclear whether this input is allowed by the API specification
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-42860
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:59 UTC · Revision 1
Source evidence
A stack buffer overflow exists in Mini-XML v3.2. When inputting an unformed XML string to the mxmlLoadString API, it will cause a stack-buffer-overflow in mxml_string_getc:2611. NOTE: it is unclear whether this input is allowed by the API specification
osv:CVE-2021-42860
Complete source record
{
"id": "a763ceb0334bc0ed751c9bd21071a0b38827f7bf83aec4a18b9c0a64f0894857",
"url": "https://osv.dev/vulnerability/CVE-2021-42860",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-42860",
"summary": "A stack buffer overflow exists in Mini-XML v3.2. When inputting an unformed XML string to the mxmlLoadString API, it will cause a stack-buffer-overflow in mxml_string_getc:2611. NOTE: it is unclear whether this input is allowed by the API specification",
"evidence": "osv:CVE-2021-42860",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-42860",
"aliases": [
"CVE-2021-42860"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/michaelrsweet/mxml",
"type": "GIT",
"events": [
{
"introduced": "38b044ed8ca2a611ed9ed3e26c4b46416335194e"
},
{
"last_affected": "38b044ed8ca2a611ed9ed3e26c4b46416335194e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mini-xml_project:mini-xml:3.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.2"
},
{
"last_affected": "3.2"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"3.2",
"v3.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42860.json"
}
}
],
"modified": "2026-10-20T10:55:01.223943548Z",
"provider": "osv",
"references": [
"https://github.com/michaelrsweet/mxml/issues/286"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-42860",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386698,
"published_at": "2022-05-26T12:15:07.693+00:00"
}