<html><body><div dir="auto">Control: tags -1 + fixed-upstream patch<br><br>Hi,<br><br>The fix for CVE-2026-80179 (GHSA-96rv-c4vc-h4f4, fixed in jwcrypto 1.5.9)<br>is this commit:<br><br>  <a href="https://www.google.com/url?q=https://github.com/latchset/jwcrypto/commit/1a7737d6eb&source=gmail&ust=1793767682030000&sa=E">https://www.google.com/url?q=https://github.com/latchset/jwcrypto/commit/1a7737d6eb&source=gmail&ust=1793767682030000&sa=E</a><br>  "Limit dot splits during JWE and JWS parsing"<br><br>The code change is two lines. It bounds the compact-serialization split<br>in JWE.deserialize() and JWS.deserialize(), and the commit also adds<br>regression tests:<br><br>  jwe.py:  data = raw_jwe.split('.')  ->  data = raw_jwe.split('.', 5)<br>  jws.py:  data = raw_jws.split('.')  ->  data = raw_jws.split('.', 3)<br><br>Verified on the Debian 1.5.6-1.2 source with its debian/patches applied.<br>The commit applies with line offsets only.<br><br>- Parsing a malformed compact JWE made of 2,000,000 '.' characters<br>  (tracemalloc peak):<br>    1.5.6-1.2: 17.2 MB, 22.8 ms (grows linearly with input size)<br>    patched:    2.0 MB,  1.6 ms (just the input string itself)<br>  Both raise InvalidJWEData; the patched version no longer builds the<br>  large intermediate list first.<br>- Upstream tests (jwcrypto/tests.py and tests-cookbook.py):<br>    unpatched: 123 passed<br>    patched:   125 passed (the 2 new regression tests), 0 failed<br><br>The patch is small enough to carry until 1.5.9 or later is packaged.<br><br>Thanks!<br></div></body></html>