{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-62381","published":"2026-08-22T13:16:39.957000Z","last_modified":"2026-10-12T16:10:00.220000Z","status":"Deferred","cvss":{"version":"4.0","score":6.9,"severity":"MEDIUM","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-122"],"cpes":[],"cpes_truncated":false,"vendors":["openwrt"],"products":["openwrt/luci"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2026-62381/","html_en":"/en/cve/CVE-2026-62381/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-62381","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-62381"},"untrusted":{"vendor_name":"openwrt","product_name":"luci","desc_en":"luci-lib-px5g (LuCI) contains a heap-based buffer overflow in the native ASN.1 encoding routine asn1_add_obj (x509write.c) when signing a certificate with a 2040-bit RSA key. For a 255-byte signature, the BIT STRING allocation is computed from the DER length encoding of 255 bytes, but the payload written after prepending the unused-bits byte is 256 bytes, requiring one additional DER length octet. As a result the allocation is 259 bytes while the tag, length, unused-bits byte, and signature require 260 bytes, and the final memcpy writes one byte beyond the heap buffer. The overflow is reachable through the exported Lua interface via create_selfsigned(); whether it is remotely exploitable depends on the embedding application. The vulnerable code is present on the openwrt-18.06 through openwrt-25.12 release branches and is absent from master, where the luci-lib-px5g package has been removed rather than patched.","affected":[{"untrusted_vendor":"openwrt","untrusted_product":"luci","versions":[]}],"references":[{"url":"https://github.com/openwrt/luci/security/advisories/GHSA-jgc3-4q3p-g6xh","tags":[]},{"url":"https://www.vulncheck.com/advisories/luci-lib-px5g-2040-bit-certificate-signing-heap-buffer-overflow","tags":[]}]}}