Repository navigation
Closed
Labels
0.kind: bugSomething is broken1.severity: securityIssues which raise a security issue, or PRs that fix one3.skill: good-first-bugThis seems like it's fixable by a non-expert3.skill: sprintableA larger issue which is split into distinct actionable tasks5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: old-versionsTickets pertaining to ongoing support of outdated versions of packages9.needs: clean-upSomebody please clean up this mess!
Description
PCRE2 was released in 2015. The original PCRE is end‐of‐life and will not receive further bug fixes. Debian decided to remove it years ago (they called their original‐PCRE package pcre3 for historical reasons), filed mass bug reports against packages still using it, and it has been gone entirely since the release of Bookworm last year. We should follow suit, upgrading packages to PCRE2 where possible and considering dropping obsolete software that won’t get updated to a supported version, especially if it processes untrusted input.
Issues and PRs
Action items
- factor-lang-0_99 @spacefrogg factor-lang: 0.101 -> 0.102; Switch to pcre2; mark old versions for removal #573955
- factor-lang @spacefrogg @vrthra factor-lang: 0.101 -> 0.102; Switch to pcre2; mark old versions for removal #573955
- gforth (via swig fork hacks) @rafaelrc7 pcre: drop #578893
- nim-unwrapped @eclairevoyant @eveeifyeve @daylinmorgan nim-unwrapped: drop support for pcre #578899
- ocaml-pcre @vbmithr pcre: drop #578893
- python3Packages.hyperscan unmaintained pcre: drop #578893
- trafficserver @midchildan pcre: drop #578893 (version 9 is incompatible, PR for version 10 trafficserver10: init at 10.2.1 #474177)
Blocked on upstream
Resolved items
- atheme atheme, libbmowgli: fast-forward to unstable commits #525737
- blendfarm @gador blendfarm: switch to pcre2 #526324
- chow-phaser @magnetophon various: drop pcre #526900
- chow-tape-model @magnetophon various: drop pcre #526900
- classads unmaintained: classads: drop #536076
- clementine @ttuegel clementine, transmission_4, xournalpp: drop unused pcre dependency #525948
- clisp @7c6f434c @Uthar @hraban @lukego @nagy clisp: remove pcre #526532
- cppcms @juliendehos cppcms: migrate to pcre2 #526694
- cppcheck @fliiiix cppcheck: remove rules support to drop pcre #576448
- dolphin-emu-primehack unmaintained: dolphin-emu-primehack: remove unused pcre dependency #536091
- falcon @pSub falcon: drop #532470
- flightgear (via openscenegraph fork) @7c6f434c @kirillrdy @philocalyst @aanderse flightgear: remove unused pcre dependency #545043
- freeswitch @MikaelFangel freeswitch: 1.10.12 -> 1.11.1 #533889
- haskellPackages.pcre-light @NixOS/haskell non-blocking
- haskellPackages.regex-pcre @NixOS/haskell non-blocking
- ivan unmaintained Update actions to use libpcre2 Attnam/ivan#661 (comment)
- HybridReverb2 @magnetophon various: drop pcre #526900
- hyperscan @avnik hyperscan: mark static build broken, replace pcre with pcre2; rspamd: pcre -> pcre2; 4.1.0 -> 4.1.2 #544972
- hyprpaper @fufexan hyprpaper: remove pcre #526014
- i3-rounded @skulldogged i3-rounded: 4.20.1 -> 4.21.1 #541376
- igprof @ktf Move to PCRE2 igprof/igprof#125 igprof: 5.9.18 -> 6.0.0 #544783
- infamousplugins @magnetophon various: drop pcre #526900
- io @7c6f434c various: remove unused pcre dependency #544903
- kermit-terminal unmaintained kermit-terminal: migrate to pcre2 #532565 various: remove unused pcre dependency #544903
- libgaminggear unmaintained various: remove unused pcre dependency #544903
- libmirage @bendlas
- libretro-dolphin @thiagokokada libretro.dolphin: removed unnecessary dependencies, add glslang as extraBuildInputs #529454
- lightdm-enso-os-greeter @eadwu lightdm-enso-os-greeter: drop #543492
- lightspark @jchv lightspark: drop unused pcre dependency #526433
- luastatus @kashw2 luastatus: drop pcre #525938
- lxqt-panel @romildo lxqt.lxqt-{runner,panel}: migrate to pcre2 #525921
- lxqt-runnerl @romildo lxqt.lxqt-{runner,panel}: migrate to pcre2 #525921
- maliit-framework unmaintained maliit-framework: drop unused pcre dependency #526427
- mdh (chickenPackages) @corngood @nagy @konst-aa chickenPackages.chickenEggs.mdh: mark as broken due to PCRE #541415
- memtier-benchmark @thoughtpolice memtier-benchmark: 2.2.2 -> 2.4.1, adopt #517412
- min unmaintained min: drop #531896
- mkbootimage @fsagbuya mkbootimage: drop unused pcre dependency #526964
- mudlet mudlet: 4.19.1 -> 4.20.1 #517599
- nextcloud-client @SuperSandro2000 nextcloud-client: 4.0.8 -> 33.0.5 #524040
- nimmm @joachimschmidt557 nimmm: 0.4.0 -> 0.5.0 #526015
- nimmm @joachimschmidt557 (oversight in nimmm: 0.4.0 -> 0.5.0 #526015, pcre is still referenced)
- nrpl @peterhoeg nrpl: drop #535155
- obconf-qt @romildo various: remove unused pcre dependency #544903
- omxplayer unmaintained omxplayer: drop #545162
- openroad @trepetti @hzeller openroad: remove unused pcre dependency #536353
- openscenegraph @aanderse @7c6f434c openscenegraph: remove unused pcre dependency #545154
- openxray @OPNA2608 openxray: remove unused PCRE dependency #544990
- orca-slicer @ovlach @pinpox @liberodark @zhaofengli orcaslicer: drop unused pcre dependency #525941
- pcre-cpp pcre-cpp: drop #576432
- pfixtools @jerith666 pfixtools: remove #553098
- pike @siraben pike: 8.0.2042 -> 9.0.16 (and drop pcre) #547363
- pnmixer @romildo pnmixer: remove unused pcre dependency #534134
- polybar @afldcr @moni-dz polybar: Remove unused pcre #533990
- pothos unmaintained pothos: drop #532766
- pplatex @doronbehar - unresolved upstream issue: Dependency on outdated PCRE3 library stefanhepp/pplatex#26 pplatex: drop #564261
- pulseview @bjornfor @vifino pulseview: remove unused pcre #525883
- python3Packages.ifcopenshell @autra python3Packages.ifcopenshell: remove pcre #526080
- qstopmotion unmaintained qstopmotion: remove unused pcre #525884
- qtox @akaWolf @peterhoeg qtox: drop unused pcre dependency #526438
- rcon @f4814 rcon: migrate to pcre2 #533273 various: remove unused pcre dependency #544903
- rdup @sternenseemann (already implemented, but release is missing, see Release with PCRE2 support miekg/rdup#52) rdup: 1.1.15 -> 1.1.16-unstable-2024-03-05 #534126
- renderdoc @pbsds @ShyAssassin renderdoc: pcre -> pcre2 #527337
- rewritefs @rnhmjoj switch from pcre to pcre2 sloonz/rewritefs#16 rewritefs: 0-unstable-2021-10-03 -> 0-unstable-2026-08-24 #557867
- rnnoise-plugin @PanAeon @henrikolsson @Sciencentistguy rnnoise-plugin: migrate to pcre2 #533267
- rspamd @avnik @fpletz @nlewo hyperscan: mark static build broken, replace pcre with pcre2; rspamd: pcre -> pcre2; 4.1.0 -> 4.1.2 #544972
- sayonara @deepfire sayonara: migrate to pcre2 #532653 various: remove unused pcre dependency #544903
- shadowsocks-libev
unmaintainedshadowsocks-libev: 3.3.5 -> 3.3.6 #529546 - silver-searcher silver-searcher: drop #525743
- simh unmaintained simh: bump to pcre2 #528820
- smuview @vifino smuview: migrate to pcre2 #532649
- sngrep @JorisE sngrep: migrate to pcre2 #532644
- solvespace @edef1c solvespace: migrate to pcre2 #529235
- sunshine @devusb @ap-1 sunshine: remove pcre #525943
- synergy @talyz syngery: migrate to pcre2 #532627 synergy: remove unused pcre dependency #544932
- taterclient-ddnet @BlaiZephyr @theobori
- ted @obadz ted: drop #532622
- tenacity tenacity: remove unused dependency pcre #525916
- tengine @Izorkin tengine: migrate to pcre2 #532597
- the-foundation @sikmir the-foundation: migrate to pcre2 #529545
- tiscamera @jraygauthier tiscamera: migrate to pcre2 #532594 various: remove unused pcre dependency #544903
- transmission_4 unmaintained clementine, transmission_4, xournalpp: drop unused pcre dependency #525948
- varnish60 varnish60: drop #525499
- vdr-epgsearch @ck3d vdrPlugins.epgsearch: use pcre2 instead of pcre #525851
- vectorscan @tnias @vlaci vectorscan: drop pcre #525974
- vimpc @pSub vimpc: drop #528812
- wesnoth-devel wesnoth: remove unused dependency pcre #525903
- wesnoth wesnoth: remove unused dependency pcre #525903
- wml @Prince213 wml: migrate to pcre2 #526143
- xautoclick xautoclick: remove pcre #525729
- xneur @7c6f434c xneur: drop #528750
- xournalpp @iedame @sikmir clementine, transmission_4, xournalpp: drop unused pcre dependency #525948
- yoshimi unmaintained yoshimi: remove unused pcre dependency #526463
- zabbix-agent2 @aanderse @bstanderline zabbix: pcre -> pcre2 #526066
- zabbix-agent @bstanderline @mmahut @PsyanticY zabbix: pcre -> pcre2 #526066
- zabbix-proxy @bstanderline @mmahut zabbix: pcre -> pcre2 #526066
- zabbix-server @bstanderline @mmahut @PsyanticY zabbix: pcre -> pcre2 #526066
- zoneminder zoneminder: migrate to pcre2 #525753
- crossfire-client @ToxicFrog crossfire-client: drop #547280
- lemminx @tricktron lemminx: remove unused pcre dependency #545764
- libmodsecurity @Izorkin libmodsecurity: migrate to pcre2 #533064
- modsecurity_standalone unmaintained modsecurity_standalone: pcre -> pcre2 #545558
- sonarlint-rs @tricktron @cizordj sonarlint-ls: remove unused pcre dependency #545879
- springlobby @qknight spring: cleanup undropped files #545825
- ldmud (unfree) @cpu ldmud: migrate to pcre2 #548502
- leafnode unmaintained leafnode: drop #548068
- fwts @tadfisher fwts: 25.09.00 -> 26.07.00, remove kernel module, remove pcre #505060
- luaPackages.lrexlib-pcre @khaneliman luaPackages.lrexlib-pcre: drop #548558
- far2l @hypersw far2l: update dependencies #543477
- proxysql unmaintained proxysql: drop #554065
- monotone @7c6f434c monotone: 1.1-unstable-2021-05-01 -> 1.1-unstable-2025-12-11 #549719
- libr3 unmaintained libr3: migrate to pcre2 and modernize #526145 libr3: migrate to pcre2 and modernize #563264
- jiten (unfree) @obfusk jiten: drop #567342
Reacted by Arne Keller, SamLukeYes, ns, Kamila Lisowa, Gliczy, Ilise Leary, LunNova, Jo, Matthieu Coudron, Alexandru Tocar and 23 more
Reacted by Hraban, Phani Rithvij, RickMars, Kaukov and goyalyashpal
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is broken1.severity: securityIssues which raise a security issue, or PRs that fix one3.skill: good-first-bugThis seems like it's fixable by a non-expert3.skill: sprintableA larger issue which is split into distinct actionable tasks5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: old-versionsTickets pertaining to ongoing support of outdated versions of packages9.needs: clean-upSomebody please clean up this mess!
Projects
- StatusShow more project fieldsDone
- StatusShow more project fieldsDone
Activity
[-]Migrate away from PCRE[/-][+]Migrate from PCRE to PCRE2[/+]SuperSandro2000 commentedon Nov 28, 2024
We need to be careful with services that have systemd hardening because they can block the PCRE2 jit like eg #179444
pluiedev commentedon Nov 30, 2024
Sigmanificient commentedon Jan 5, 2025
@pluiedev I tried to gather a more complete list of the packages. Here the command I have used:
It reports a total of 235 path: https://gist.github.com/Sigmanificient/ddeb121b250c6d8ac79ec604a3c54640
ettercap: upgrade pcre to pcre2
132 remaining items
Scrumplex commentedon Oct 11, 2026
Arch Linux has a custom patch for Kodi to use pcre2 here: https://gitlab.archlinux.org/archlinux/packaging/packages/kodi/-/blob/main/kodi-21.3-pcre2.patch?ref_type=heads
Skyb0rg007 commentedon Oct 11, 2026
Perhaps we could add a
meta.problemto pcre? That would avoid needing to drop popular packages like Kodi while also giving warning to the other packages listed here.aanderse commentedon Oct 12, 2026
they just released rc1 for
kodi... 🫠fliiiix commentedon Oct 12, 2026
100% agree I also think a lot is really close but I personally would feel better breaking it just after the release and give people time to fix the few remaining issues instead of forcing this into the current release.
Scrumplex commentedon Oct 20, 2026
Now that Kodi has been taken care of (and pcre-cpp is being dropped as we speak). I am a little more optimistic for getting this done before next Monday
mweinelt commentedon Oct 25, 2026
The pcre attribute will become a throw. Every remaining dependency will either be removed or get marked broken.
patka-123 commentedon Oct 26, 2026
Great work everyone, and thanks @mweinelt for getting it over the finish line! Much appreciated :D