SpookySSL: OpenSSL X.509 punycode four-byte overflow
The punycode decoder allowed insertion when its output buffer was already full, so a crafted X.509 SmtpUTF8Mailbox domain processed during name-constraint checks could shift one attacker-controlled unsigned integer past the stack buffer.
- Product
- OpenSSL
- Vendor
- OpenSSL Project
- Affected
- OpenSSL 3.0.0 through 3.0.6 during X.509 email-address name-constraint checking
- Fixed in
- 3.0.7
- Weakness
- CWE-787
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 1 Nov 2022
Classified as
References
Related CVEs
- CVE-2024-2961high 8.82024
glibc iconv ISO-2022-CN-EXT out-of-bounds write
Converting to a multibyte charset, one escape-sequence path skips its output-bounds check, writing up to 3 fixed bytes past the buffer.
- CVE-2023-5217high 8.82023
libvpx VP8 encoder heap overflow on thread/height reconfigure
A per-row worker array sized from the current frame height is only reallocated when threads exceed one, so a reconfigure that drops to a single thread while growing the frame leaves it undersized and the encoder writes past it.
- CVE-2023-4863high 8.82023
libwebp lossless Huffman table heap overflow (BLASTPASS)
A variable-length code table is written into a buffer sized only for its first level, so crafted long codes make the builder append second-level tables past the allocation: an out-of-bounds heap write reached by decoding one image.
- CVE-2022-37434critical 9.82022
zlib inflate gzip-header extra-field over-read (CVE-2022-37434)
When a gzip extra field is larger than the caller's buffer and arrives across several inflate calls, the write offset outgrows the buffer and the copy's size clamp underflows, corrupting the heap.