Update Info

openSUSE-2026-359


Security update for python-nltk


Type: security
Severity: important
Issued: 2026-10-26
Description:
This update for python-nltk fixes the following issues:

- Add custom patch to replace python-joblib dep with multiprocessing.Pool

- Update to 3.10.3 (CVE-2026-71513, boo#1276253, CVE-2026-71514, boo#1276252):
  * docs: wrap Chat-80 HOWTO output
  * Sandbox Stanford JAR execution to nltk_data directories
  * Harden path-traversal / file-I/O sandbox: close write-side symlink
    TOCTOU + shared-temp squat, lock the cluster with a living audit
    (CWE-22/59/377)
  * Extend algorithmic-complexity DoS hardening: repo-wide sweep +
    two-string distances (CWE-407/CWE-400)
  * Bound unbounded-work DoS in parsers and grammar transforms
    (CWE-407/674/835)
  * fix(security): sandbox MaltParser's Java execution
    (CVE-2026-12252, CVE-2026-12841)
  * fix(security): trust the system temp dir only when it is private
    (CWE-377/CWE-378)
  * fix(security): validate corpus-reader roots against the data
    sandbox (CWE-73)
  * fix(security): validate per-call java() options and replace the
    -XX:/-D allowlist with a minimal one (CWE-88)
  * Additional security hardening (CWE-407, CWE-426, CWE-427, CWE-502,
    CWE-59, CWE-776, CWE-918)

- Update to 3.10.2 (CVE-2026-12372, boo#1274590):
  * Remove inisec.py and document PYTHONSAFEPATH instead
  * Skip draft step in release workflow
  * Fix symlink escape in FramenetCorpusReader (CWE-59)
  * Guard tempfile.gettempdir() when building pathsec allowed roots
  * add tests for transitive_closure

- Update to 3.10.1
  * fix ReDoS in TweetTokenizer url and email regexes
  * Prevent module hijacking in inline imports
  * use exact thirds in masi_distance
  * Fix uncontrolled search path in HunposTagger
  * Fix word_tokenize: pad opening single quote before multi-letter words
  * Avoid retaining bllip import exceptions
  * Implement Tree.pformat_latex_forest
  * fix(security): validate types after wordnet_app pickle deserialization
  * Expand ~ in env-var paths (NLTK_DATA, find_file_iter)
  * Add custom import hook to prevent module hijacking from CWD
  * detokenize periods mid-string, not just the last one
  * don't collapse repeated non-Latin letters in TweetTokenizer

- Update to 3.10.0rc1 (CVE-2026-54293, boo#1268526, boo#1273252, CVE-2026-12061,
  boo#1273254, CVE-2026-12072, boo#1273255, CVE-2026-12074, boo#1273256, CVE-2026-12075)
  * Let TextCat.guess_language return Unknown for ties (optional)
  * fix(security): block XML entity expansion in downloader index parsing
  * Fix FunctionalCategory.substitute() ignoring substituted direction
  * Fix APP_RE rejecting variable direction underscore
  * Precompute unigram fallback per candidate in TnT decoder
  * fix(security): prevent DNS-rebinding SSRF in pathsec.urlopen
  * fix(security): block URL-encoded path traversal in nltk: resource URLs
  * fix(security): block path traversal in NKJPCorpusReader
  * fix(security): block path traversal in FramenetCorpusReader.frame()
  * fix(security): prevent ReDoS in ReviewsCorpusReader FEATURES regex (CWE-1333)
  * Document NLTK's new security policy

- Update to 3.9.4 (CVE-2026-33230, CVE-2026-33231, CVE-2026-33236, boo#1260066,
  boo#1260067, boo#1260068)
  * Support Python 3.14
  * Fix bug in Levenshtein distance when substitution_cost > 2
  * Fix bug in Treebank detokeniser re quote ordering
  * Fix bug in Jaro similarity for empty strings
  * Several security enhancements
  * Fix GHSA-rf74-v2fm-23pw: unbounded recursion in JSONTaggedDecoder
  * Implement TextTiling vocabulary introduction method (Hearst 1997)
  * Fix ALINE feature matrix errors and add comprehensive tests
  * Support multiple VerbNet versions, fix longid/shortid regex for VerbNet ids
  * Let downloader fallback to md5 when sha256 is unavailable
  * Several other minor bugfixes and code cleanups

- Update to 3.9.3 (CVE-2026-0847, boo#1259232)
  * Update download checksums to use SHA256 in built index
  * Fix percentage escape in new-style string formatting
  * replace shortened URLs using goo.gl
  * Make Wordnet interoperable with various taggers and tagged corpora
  * Fix saving PerceptronTagger
  * Document how to reproduce old Wordnet studies
  * properly initialize Portuguese corpus reader
  * support for mixed rules conversion into Chomsky Normal Form
  * only import tkinter if a GUI is needed
  * issue #2112 with Corenlp
  * new environment variable NLTK_DOWNLOADER_FORCE_INTERACTIVE_SHELL
  * Lesk defaults to most frequent sense in case of ties
  * Fix CVE-2025-14009: secure ZIP extraction in nltk.downloader
  * Block path traversal/arbitrary reads in nltk.data for protocol-less refs
  * Block path traversal/abs paths in corpus readers and FS pointers
  * Validate external StanfordSegmenter JARs using SHA256
  * Add optional sandbox enforcement for filestring()
  * Maintenance: downloader/zipped models, CI/tooling updates

- Update to to 3.9.1 (changes since 3.8.1):
  * Fixed bug that prevented wordnet from loading
  * Fix security vulnerability CVE-2024-39705 (breaking change)
  * Replace pickled models (punkt, chunker, taggers) by new
    pickle-free "_tab" packages
  * No longer sort Wordnet synsets and relations (sort in calling
    function when required)
  * Only strip the last suffix in Wordnet Morphy, thus
    restricting synsets() results
  * Add Python 3.12 support
  * Many other minor fixes

- Update to 3.8.1
  * Resolve RCE and XSS vulnerabilities in localhost WordNet Browser
  * Add Python 3.11 support

- Update to 3.8
* Refactor dispersion plot (#3082)
* Provide type hints for LazyCorpusLoader variables (#3081)
* Throw warning when LanguageModel is initialized with incorrect vocabulary (#3080)
* Fix WordNet's all_synsets() function (#3078)
* Resolve TreebankWordDetokenizer inconsistency with end-of-string contractions (#3070)
* Support both iso639-3 codes and BCP-47 language tags (#3060)
* Avoid DeprecationWarning in Regexp tokenizer (#3055)
* Fix many doctests, add doctests to CI (#3054, #3050, #3048)
* Fix bool field not being read in VerbNet (#3044)
* Greatly improve time efficiency of SyllableTokenizer when tokenizing numbers (#3042)
* Fix encodings of Polish udhr corpus reader (#3038)
* Allow TweetTokenizer to tokenize emoji flag sequences (#3034)
* Prevent LazyModule from increasing the size of nltk.__dict__ (#3033)
* Fix CoreNLPServer non-default port issue (#3031)
* Add "acion" suffix to the Spanish SnowballStemmer (#3030)
* Allow loading WordNet without OMW (#3026)
* Use input() in nltk.chat.chatbot() for Jupyter support (#3022)
* Fix edit_distance_align() in distance.py (#3017)
* Tackle performance and accuracy regression of sentence tokenizer since NLTK 3.6.6 (#3014)
* Add the Iota operator to semantic logic (#3010)
* Resolve critical errors in WordNet app (#3008)
* Resolve critical error in CHILDES Corpus (#2998)
* Make WordNet information_content() accept adjective satellites (#2995)
* Add "strict=True" parameter to CoreNLP (#2993, #3043)
* Resolve issue with WordNet's synset_from_sense_key (#2988)
* Handle WordNet synsets that were lost in mapping (#2985)
* Resolve TypeError in Boxer (#2979)
* Add function to retrieve WordNet synonyms (#2978)
* Warn about nonexistent OMW offsets instead of raising an error (#2974)
* Fix missing ic argument in res, jcn and lin similarity functions of WordNet (#2970)
* Add support for the extended OMW (#2946)
* Fix LC cutoff policy of text tiling (#2936)
* Optimize ConditionalFreqDist.__add__ performance (#2939)
* Add Markdown corpus reader (#2902)


              

Packages


  • python-nltk-3.10.3-bp157.3.24.1