CVE-2023-52266

Source
https://cve.org/CVERecord?id=CVE-2023-52266
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52266.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-52266
Published
2023-12-30T00:00:00Z
Modified
2026-07-22T02:50:35.853222Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

ehttp 1.0.6 before 17405b9 has an epollsocket.cpp readfunc use-after-free. An attacker can make many connections over a short time to trigger this.

Database specific
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52266.json",
    "unresolved_ranges": [
        {
            "source": "DESCRIPTION",
            "extracted_events": [
                {
                    "introduced": "1.0.6"
                },
                {
                    "fixed": "17405b9"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/hongliuliao/ehttp

Affected ranges

Type
GIT
Repo
https://github.com/hongliuliao/ehttp
Events
Database specific
{
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:hongliuliao:ehttp:1.0.6:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "1.0.6"
        },
        {
            "last_affected": "1.0.6"
        }
    ]
}

Affected versions

1.*
1.0.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52266.json"
vanir_signatures
[
    {
        "source": "https://github.com/hongliuliao/ehttp/commit/17405b975948abc216f6a085d2d027ec1cfd5766",
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "function_hash": "73602595406765603495895243458529999594",
            "length": 736.0
        },
        "id": "CVE-2023-52266-4a636073",
        "target": {
            "function": "Request::parse_request",
            "file": "src/sim_parser.cpp"
        },
        "deprecated": false
    },
    {
        "source": "https://github.com/hongliuliao/ehttp/commit/17405b975948abc216f6a085d2d027ec1cfd5766",
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "function_hash": "93877066501049313000888507392004009704",
            "length": 677.0
        },
        "id": "CVE-2023-52266-8d009e71",
        "target": {
            "function": "EpollSocket::handle_readable_event",
            "file": "src/epoll_socket.cpp"
        },
        "deprecated": false
    },
    {
        "source": "https://github.com/hongliuliao/ehttp/commit/17405b975948abc216f6a085d2d027ec1cfd5766",
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "97078807774778642258282973658459630335",
                "338064464938120916455642639290206514037",
                "274913430948339487223909751919153920503",
                "152853396008199110312237658894110687106"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2023-52266-a66d2add",
        "target": {
            "file": "src/sim_parser.cpp"
        },
        "deprecated": false
    },
    {
        "source": "https://github.com/hongliuliao/ehttp/commit/17405b975948abc216f6a085d2d027ec1cfd5766",
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "function_hash": "31465679358294368451393686241417280189",
            "length": 256.0
        },
        "id": "CVE-2023-52266-bcea52ce",
        "target": {
            "function": "read_func",
            "file": "src/epoll_socket.cpp"
        },
        "deprecated": false
    },
    {
        "source": "https://github.com/hongliuliao/ehttp/commit/17405b975948abc216f6a085d2d027ec1cfd5766",
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "329241973833385240603699716665315814897",
                "112175492930112887238917383991016779289",
                "288691531011773280941275128769726435664",
                "253932568007561709924862045390154546888",
                "90885647615834147087855771394769476914",
                "20238336541240907050694021874287316153",
                "85229494304821332111168579485102171358",
                "18689021168757126544170751874331136107",
                "133910018089163050764349913131236699907",
                "16216665604355755383291786654020254619",
                "302957446397306479393092314695632629083"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2023-52266-d4e314c9",
        "target": {
            "file": "src/epoll_socket.cpp"
        },
        "deprecated": false
    }
]
vanir_signatures_modified
"2026-07-22T02:50:35Z"