Back to CVE records
Medium 6.6Published Aug 22, 2026

CVE-2026-62381luci-lib-px5g 2040-bit Certificate Signing Heap Buffer Overflow

Updated under an hour ago ()

Does this affect you?

It affects openwrt luci. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
6.6 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Weakness (CWE)
CWE-122
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
VulnCheck
NVD analysis
Deferred
Record last updated
Aug 24, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
openwrt luci
openwrt:luci (from the name)
through 42d72f79cd8f057f241595abc761b39dab2d9f07
CNA record

References

  • vendor-advisory
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.