Public bug reported:

I have Ubuntu 26.04 installed (Description:     Ubuntu 26.04 LTS, Release:      
26.04) with pcsc-lite 2.4.1-1 and openconnect 9.12-3.3
I'm trying to connect to a corporate Cisco VPN GW uwing openconnect and Gemalto 
token. First I extract a webvpn cookie and I'd use that cookie to actually 
establish the VPN connection. 
I run openvpn like this:
openconnect -vvvv --servercert <vpn server cert> -p <token pin> -c <token URL> 
<vpn gw/group> --cookieonly --useragent=AnyConnect

The authentication process completes, openconnect outputs:
...
Connection: Keep-Alive
Date: Wed, 24 Jun 2026 13:27:18 GMT
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-XSS-Protection: 1
Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' data: 
blob:; frame-ancestors 'self'; base-uri 'self'; block-all-mixed-content
Cross-Origin-Opener-Policy: same-origin-allow-popups
X-Aggregate-Auth: 1
HTTP body chunked (-2)
XML POST enabled
openconnect_strapkey=<strapkey>; webvpn=<cookie>

and then
[1]    1596404 segmentation fault  openconnect -vvvv --servercert  -p <token 
pin> -c  <vpn gw/group>

kern.log shows:
2026-06-24T15:27:19.053274+02:00 desktop kernel: openconnect[1596404]: segfault 
at 21 ip 000075fb8d037770 sp 00007ffc5cd81c80 error 4 in 
libpcsclite_real.so.1[2770,75fb8d037000+6000] likely on CPU 8 (core 5, socket 0)
2026-06-24T15:27:19.053278+02:00 desktop kernel: Code: 89 fc 53 48 83 ec 08 48 
8b 5a 08 48 39 d9 75 1a eb 38 0f 1f 84 00 00 00 00 00 48 8b 5b 08 49 39 5c 24 
08 74 25 49 8b 44 24 48 <48> 8b 3b 4c 89 ee ff d0 85 c0 74 e4 48 8b 03 48 83 c4 
08 5b 41 5c

Unfortunatelly, there is no core dump file (or not that I can see).

Since this openconnect call is part of a VPN connection script, I cannot
use the output.

** Affects: openconnect (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158114

Title:
  openconnect crashes with segmentation fault on getting webvpn cookie

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/2158114/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to