CVE-2026-63387 (GCVE-0-2026-63387)

Vulnerability from cvelistv5 – Published: 2026-08-20 17:53 – Updated: 2026-08-25 15:12
VLAI
Title
Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server response
Summary
Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has an off-by-one stack buffer overflow in evdns.c when dnsname_to_labels formats a name-bearing DNS record at the end of the 64 KB stack buffer allocated by evdns_server_request_format_response. The final-label check permits j plus label_len plus one to equal buf_len, after which the terminating null byte is written to buf[buf_len]. A crafted DNS server response containing PTR, CNAME, MX, NS, or SOA data can trigger the one-byte out-of-bounds write and crash or corrupt the process. This issue is fixed in versions 2.1.13 and 2.2.2-alpha.
SSVC
Exploitation: poc Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-25 15:11 UTC
CWE
Assigner
GitHub_M CNA under the mitre root
CNA scorecard C 72/100 over 7858 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
libevent libevent Affected: >= 2.2.0-alpha, < 2.2.2-alpha
Affected: < 2.1.13
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-63387",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-25T15:11:49.042805Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-25T15:12:12.129Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "libevent",
          "vendor": "libevent",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 2.2.0-alpha, \u003c 2.2.2-alpha"
            },
            {
              "status": "affected",
              "version": "\u003c 2.1.13"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has an off-by-one stack buffer overflow in evdns.c when dnsname_to_labels formats a name-bearing DNS record at the end of the 64 KB stack buffer allocated by evdns_server_request_format_response. The final-label check permits j plus label_len plus one to equal buf_len, after which the terminating null byte is written to buf[buf_len]. A crafted DNS server response containing PTR, CNAME, MX, NS, or SOA data can trigger the one-byte out-of-bounds write and crash or corrupt the process. This issue is fixed in versions 2.1.13 and 2.2.2-alpha."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-121",
              "description": "CWE-121: Stack-based Buffer Overflow",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-193",
              "description": "CWE-193: Off-by-one Error",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-787",
              "description": "CWE-787: Out-of-bounds Write",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-20T17:53:41.863Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47"
        },
        {
          "name": "https://github.com/libevent/libevent/releases/tag/release-2.1.13-stable",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/libevent/libevent/releases/tag/release-2.1.13-stable"
        },
        {
          "name": "https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha"
        }
      ],
      "source": {
        "advisory": "GHSA-58rx-7448-jw47",
        "discovery": "UNKNOWN"
      },
      "title": "Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server response"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-63387",
    "datePublished": "2026-08-20T17:53:41.863Z",
    "dateReserved": "2026-07-16T17:39:30.171Z",
    "dateUpdated": "2026-08-25T15:12:12.129Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-63387",
      "date": "2026-10-28",
      "epss": "0.00416",
      "percentile": "0.35755"
    },
    "microsoft_vex": {
      "current_release_date": "2026-08-25T01:05:57.000Z",
      "cve": "CVE-2026-63387",
      "id": "msrc_CVE-2026-63387",
      "initial_release_date": "2026-08-22T01:03:20.000Z",
      "product_status:known_affected": "5",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server response",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-63387.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "libevent",
                "vendor": "libevent",
                "versions": [
                  {
                    "status": "affected",
                    "version": "\u003e= 2.2.0-alpha, \u003c 2.2.2-alpha"
                  },
                  {
                    "status": "affected",
                    "version": "\u003c 2.1.13"
                  }
                ]
              }
            ],
            "source": "security-advisories@github.com"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has an off-by-one stack buffer overflow in evdns.c when dnsname_to_labels formats a name-bearing DNS record at the end of the 64 KB stack buffer allocated by evdns_server_request_format_response. The final-label check permits j plus label_len plus one to equal buf_len, after which the terminating null byte is written to buf[buf_len]. A crafted DNS server response containing PTR, CNAME, MX, NS, or SOA data can trigger the one-byte out-of-bounds write and crash or corrupt the process. This issue is fixed in versions 2.1.13 and 2.2.2-alpha."
          },
          {
            "lang": "es",
            "value": "Libevent es una biblioteca de notificaci\u00f3n de eventos. Antes de 2.1.13 y 2.2.2-alpha, libevent tiene un desbordamiento de b\u00fafer de pila por un byte en evdns.c cuando dnsname_to_labels formatea un registro DNS que contiene un nombre al final del b\u00fafer de pila de 64 KB asignado por evdns_server_request_format_response. La verificaci\u00f3n de la etiqueta final permite que j m\u00e1s label_len m\u00e1s uno sea igual a buf_len, despu\u00e9s de lo cual el byte nulo de terminaci\u00f3n se escribe en buf[buf_len]. Una respuesta de servidor DNS manipulada que contiene datos PTR, CNAME, MX, NS o SOA puede desencadenar la escritura fuera de l\u00edmites de un byte y bloquear o corromper el proceso. Este problema est\u00e1 solucionado en las versiones 2.1.13 y 2.2.2-alpha."
          }
        ],
        "id": "CVE-2026-63387",
        "lastModified": "2026-10-26T10:10:00.140",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.0,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.2,
              "impactScore": 4.7,
              "source": "security-advisories@github.com",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-63387",
                "options": [
                  {
                    "exploitation": "poc"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-25T15:11:49.042805Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-08-20T18:16:36.723",
        "references": [
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/libevent/libevent/releases/tag/release-2.1.13-stable"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha"
          },
          {
            "source": "security-advisories@github.com",
            "url": "https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47"
          },
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "url": "https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47"
          }
        ],
        "sourceIdentifier": "security-advisories@github.com",
        "vulnStatus": "Awaiting Analysis",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-121"
              },
              {
                "lang": "en",
                "value": "CWE-193"
              },
              {
                "lang": "en",
                "value": "CWE-787"
              }
            ],
            "source": "security-advisories@github.com",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-10-28T09:53:47+00:00",
      "cve": "CVE-2026-63387",
      "id": "CVE-2026-63387",
      "initial_release_date": "2026-08-20T17:53:41.863000+00:00",
      "product_status:fixed": "134",
      "product_status:known_affected": "11",
      "product_status:known_not_affected": "4",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "libevent: Libevent: Off-by-one stack buffer overflow leading to denial of service or data corruption",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-63387.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-63387",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-08-25T15:11:49.042805Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-08-25T15:12:06.142Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "libevent",
              "vendor": "libevent",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003e= 2.2.0-alpha, \u003c 2.2.2-alpha"
                },
                {
                  "status": "affected",
                  "version": "\u003c 2.1.13"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has an off-by-one stack buffer overflow in evdns.c when dnsname_to_labels formats a name-bearing DNS record at the end of the 64 KB stack buffer allocated by evdns_server_request_format_response. The final-label check permits j plus label_len plus one to equal buf_len, after which the terminating null byte is written to buf[buf_len]. A crafted DNS server response containing PTR, CNAME, MX, NS, or SOA data can trigger the one-byte out-of-bounds write and crash or corrupt the process. This issue is fixed in versions 2.1.13 and 2.2.2-alpha."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-121",
                  "description": "CWE-121: Stack-based Buffer Overflow",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-193",
                  "description": "CWE-193: Off-by-one Error",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-787",
                  "description": "CWE-787: Out-of-bounds Write",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-08-20T17:53:41.863Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/libevent/libevent/security/advisories/GHSA-58rx-7448-jw47"
            },
            {
              "name": "https://github.com/libevent/libevent/releases/tag/release-2.1.13-stable",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/libevent/libevent/releases/tag/release-2.1.13-stable"
            },
            {
              "name": "https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha"
            }
          ],
          "source": {
            "advisory": "GHSA-58rx-7448-jw47",
            "discovery": "UNKNOWN"
          },
          "title": "Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server response"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-63387",
        "datePublished": "2026-08-20T17:53:41.863Z",
        "dateReserved": "2026-07-16T17:39:30.171Z",
        "dateUpdated": "2026-08-25T15:12:12.129Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.