CVE-2026-29076

Source
https://cve.org/CVERecord?id=CVE-2026-29076
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-29076.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-29076
Aliases
  • GHSA-qq6v-r583-3h69
Downstream
Related
Published
2026-03-07T16:08:56.048Z
Modified
2026-07-22T03:08:50.765760Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
cpp-httplib: Stack Overflow Denial of Service (DoS) via std::regex in multipart filename parsing
Details

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to version 0.37.0, cpp-httplib uses std::regex (libstdc++) to parse RFC 5987 encoded filename* values in multipart Content-Disposition headers. The regex engine in libstdc++ implements backtracking via deep recursion, consuming one stack frame per input character. An attacker can send a single HTTP POST request with a crafted filename* parameter that causes uncontrolled stack growth, resulting in a stack overflow (SIGSEGV) that crashes the server process. This issue has been patched in version 0.37.0.

Database specific
{
    "cwe_ids": [
        "CWE-1333",
        "CWE-674"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29076.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/yhirose/cpp-httplib

Affected ranges

Type
GIT
Repo
https://github.com/yhirose/cpp-httplib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.37.0"
        }
    ]
}

Affected versions

Other
latest
v0.*
v0.10.0
v0.10.1
v0.10.2
v0.10.3
v0.10.4
v0.10.5
v0.10.6
v0.10.7
v0.10.8
v0.10.9
v0.11.0
v0.11.1
v0.11.2
v0.11.3
v0.11.4
v0.12.0
v0.12.1
v0.12.2
v0.12.3
v0.12.4
v0.12.5
v0.12.6
v0.13.0
v0.13.1
v0.13.2
v0.13.3
v0.14.0
v0.14.1
v0.14.2
v0.14.3
v0.15.0
v0.15.1
v0.15.2
v0.15.3
v0.16.0
v0.16.1
v0.16.2
v0.16.3
v0.17.0
v0.17.1
v0.17.2
v0.17.3
v0.18.0
v0.18.1
v0.18.2
v0.18.3
v0.18.4
v0.18.5
v0.18.6
v0.18.7
v0.19.0
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.2.6
v0.20.0
v0.20.1
v0.21.0
v0.22.0
v0.23.0
v0.23.1
v0.24.0
v0.25.0
v0.26.0
v0.27.0
v0.28.0
v0.29.0
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.30.0
v0.30.1
v0.30.2
v0.31.0
v0.32.0
v0.33.0
v0.33.1
v0.34.0
v0.35.0
v0.4.0
v0.4.1
v0.4.2
v0.5.0
v0.5.1
v0.5.10
v0.5.11
v0.5.12
v0.5.13
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.5.7
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.6.5
v0.6.6
v0.6.7
v0.7.0
v0.7.1
v0.7.10
v0.7.11
v0.7.12
v0.7.13
v0.7.14
v0.7.15
v0.7.16
v0.7.17
v0.7.18
v0.7.2
v0.7.3
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.7.9
v0.8.0
v0.8.1
v0.8.2
v0.8.3
v0.8.4
v0.8.5
v0.8.6
v0.8.7
v0.8.8
v0.8.9
v0.9.0
v0.9.1
v0.9.10
v0.9.2
v0.9.3
v0.9.4
v0.9.5
v0.9.6
v0.9.7
v0.9.8
v0.9.9

Database specific

vanir_signatures_modified
"2026-07-22T03:08:50Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "target": {
            "file": "test/test.cc",
            "function": "TEST"
        },
        "deprecated": false,
        "source": "https://github.com/yhirose/cpp-httplib/commit/de296af3eb5b0d5c116470e033db900e4812c5e6",
        "id": "CVE-2026-29076-554c16a0",
        "signature_version": "v1",
        "digest": {
            "function_hash": "237936591402214651401279883398651361996",
            "length": 1108.0
        }
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "test/test.cc"
        },
        "deprecated": false,
        "source": "https://github.com/yhirose/cpp-httplib/commit/de296af3eb5b0d5c116470e033db900e4812c5e6",
        "id": "CVE-2026-29076-7606882b",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "309024782862823533139338211795996186596",
                "7839956594439321606962847164061496972",
                "12687117214297278841990333245619558674",
                "143994490375359120576663796943720785488",
                "96208271181828219443939827392695470831",
                "234674402923027064236410791687030770732",
                "322492796322437330966953077832002777863",
                "243898783827694880252824254507942876352"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "httplib.h"
        },
        "deprecated": false,
        "source": "https://github.com/yhirose/cpp-httplib/commit/de296af3eb5b0d5c116470e033db900e4812c5e6",
        "id": "CVE-2026-29076-a521b113",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "283461347697145605990353131721631228646",
                "317816394311432108134934590617596588190",
                "260729738294240947720973995679438464087",
                "92606262670744106618818917992551696386",
                "758283165799264715444508233140374639",
                "167685828088613054992179248988962440460",
                "101730038497963474406760851837415666168",
                "4886179887345815178455501738634573180",
                "114384602934601073345597924936986340169",
                "110186337317846723965865112085172832744",
                "126759218069447842223487999870084534347",
                "187208488398962529278613125758738484047",
                "137054790988581298113428252414869384961",
                "305920338525971726203288552478051009521",
                "228300519572110876182238860862426601967",
                "208931648635274734019654502913369448381",
                "119198146933619949402160524817870803654",
                "12382769242152171805705224765586807681",
                "244547348337947176159043738983358464383",
                "313086644932006488650364205763955723535",
                "282884093883479764805603304034313241597",
                "103189393625292220994570787459445843507",
                "190412590663406317983732281701957063290",
                "269790247183657763970139643354540099035",
                "319058851376040146330968978522608749375",
                "240522512309630831697827857464120036961",
                "63023319149774050960125992398873200987",
                "224680879596290974579546047781168707333",
                "131499705893380037544389072140749975935",
                "322513769813133753122320795084453184916"
            ],
            "threshold": 0.9
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-29076.json"