CVE-2026-62381
Last modified
CVE-2026-62381 is a medium-severity vulnerability rated 6.6/10 on the CVSS scale. 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. EPSS estimates a 0.10% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| openwrt | luci | <= 42d72f79cd8f057f241595abc761b39dab2d9f07 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-62381?
How severe is CVE-2026-62381?
How do I fix CVE-2026-62381?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-62371KubeEdge is an open source system for extending native conta…8.8
- CVE-2026-62377libheif is a HEIF and AVIF file format decoder and encoder. …4.3
- CVE-2026-62378RustFS Console is a web management console for the RustFS di…9
- CVE-2026-62379Open Access Management (OpenAM) is an access management solu…9.8
- CVE-2026-6238The deprecated functions ns_printrrf, ns_printrr and fp_nque…6.5
- CVE-2026-62380Netty (io.netty:netty-codec-socks) versions 4.2.0.Final thro…7.5
- CVE-2026-62382PasswordPusher versions v1.45.11 through v2.9.5 contain an i…6.9
- CVE-2026-62383nltk versions before 3.10.2 contain a symlink-based arbitrar…5.5
- CVE-2026-62384NLTK versions before 3.10.2 contain a symlink-based sandbox …7.5
- CVE-2026-62385NLTK versions before 3.10.0 contain a path traversal vulnera…7.5
- CVE-2026-62386The Grav API plugin (getgrav/grav-plugin-api) before 1.0.0-r…8.2
- CVE-2026-62387The Grav API plugin (getgrav/grav-plugin-api) before 1.0.0-r…7.1
Are you affected by CVE-2026-62381?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
